<div dir="ltr">I see, use the same command as posted with gdal/ogr tools for the ocean layer. :)<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 3:37 PM, Mark Cupitt <span dir="ltr"><<a href="mailto:markcupitt@gmail.com" target="_blank">markcupitt@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm using transparancy, in some zoom levels .. so have to paint the sea in when I need it. :) </div>

<div class="gmail_extra"><div class=""><br clear="all"><div><div dir="ltr"><div><br></div><div>Regards</div><div><br>

</div><div>Mark Cupitt</div><div><br></div><div>"If we change the world, let it bear the mark of our intelligence"</div><div><a></a><span></span><span></span><div><br></div></div><div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open StreetMap</a><br>



</div><div><br></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div><div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br></div>



<div><span style="font-family:arial black,sans-serif"><b><br><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span></div><div><img src="http://gis.stackexchange.com/users/flair/17846.png"><br>



</div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>



<div>confidential or privileged information.  If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email.  If you have received this email in error, please notify the sender immediately and</div>



<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Tue, May 6, 2014 at 3:32 PM, maning sambale <span dir="ltr"><<a href="mailto:emmanuel.sambale@gmail.com" target="_blank">emmanuel.sambale@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>> Put a bounding box around the phlippines, a long way out way out so the sea looks good and chop out the bounding box and make a new shape file<br>
</div>Using gdal/ogr: <a href="http://www.gdal.org/ogr2ogr.html" target="_blank">http://www.gdal.org/ogr2ogr.html</a><br>
<br>
ogr2ogr -f "ESRI Shapefile" -t_srs EPSG:4326 -clipdst [xmin ymin xmax<br>
ymax] output.shp input.shp<br>
<div><br>
> If possible, I would like to have the ocean as polygons and land as polygons in the same shape file, with fields for eacj poly stating ocean or land for each so I can style them separately, so it would mean closing the ocean polygons.<br>




</div>Why do you still need the ocean? Can you just paint in your style as<br>
blue (or whatever ocean color) as a global background settings?  Just<br>
guessing here.<br>
<span><font color="#888888"><br>
<br>
--<br>
cheers,<br>
maning<br>
------------------------------------------------------<br>
"Freedom is still the most radical idea of all" -N.Branden<br>
wiki: <a href="http://esambale.wikispaces.com/" target="_blank">http://esambale.wikispaces.com/</a><br>
blog: <a href="http://epsg4253.wordpress.com/" target="_blank">http://epsg4253.wordpress.com/</a><br>
------------------------------------------------------<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>cheers,<br>maning<br>------------------------------------------------------<br>"Freedom is still the most radical idea of all" -N.Branden<br>wiki: <a href="http://esambale.wikispaces.com/">http://esambale.wikispaces.com/</a><br>

blog: <a href="http://epsg4253.wordpress.com/">http://epsg4253.wordpress.com/</a><br>------------------------------------------------------<br>
</div>