[talk-ph] I need a little help with some shape files for the OSM PH Map

maning sambale emmanuel.sambale at gmail.com
Tue May 6 07:39:20 UTC 2014


I see, use the same command as posted with gdal/ogr tools for the ocean
layer. :)



On Tue, May 6, 2014 at 3:37 PM, Mark Cupitt <markcupitt at gmail.com> wrote:

> I'm using transparancy, in some zoom levels .. so have to paint the sea in
> when I need it. :)
>
>
> Regards
>
> Mark Cupitt
>
> "If we change the world, let it bear the mark of our intelligence"
>
> See me on Open StreetMap <https://www.openstreetmap.org/user/Mark_Cupitt>
>
> See me on LinkedIn <http://ph.linkedin.com/in/markcupitt>
>
>
> *See me on StackExchange <http://gis.stackexchange.com/users/17846/mark-c>*
>
>
> ===============================================================================================
> The contents of this email are intended only for the individual(s) to whom
> it is addressed and may contain
> confidential or privileged information. If you are not the intended
> recipient, you must not disclose, copy, distribute,
> or use the contents of this email. If you have received this email in
> error, please notify the sender immediately and
> delete the email and any attachments.
> ===============================================================================================
>
>
>
> On Tue, May 6, 2014 at 3:32 PM, maning sambale <emmanuel.sambale at gmail.com
> > wrote:
>
>> > 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
>> Using gdal/ogr: http://www.gdal.org/ogr2ogr.html
>>
>> ogr2ogr -f "ESRI Shapefile" -t_srs EPSG:4326 -clipdst [xmin ymin xmax
>> ymax] output.shp input.shp
>>
>> > 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.
>> Why do you still need the ocean? Can you just paint in your style as
>> blue (or whatever ocean color) as a global background settings?  Just
>> guessing here.
>>
>>
>> --
>> cheers,
>> maning
>> ------------------------------------------------------
>> "Freedom is still the most radical idea of all" -N.Branden
>> wiki: http://esambale.wikispaces.com/
>> blog: http://epsg4253.wordpress.com/
>> ------------------------------------------------------
>>
>
>


-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-ph/attachments/20140506/4feaf035/attachment.html>


More information about the talk-ph mailing list