Re: [OSM-dev] A few coastline related questions
On Mon, May 7, 2012 at 5:27 AM, Frederik Ramm wrote: > On 05/07/2012 09:06 AM, Preet wrote: >> >> Hiya, >> >> I'm trying to extract coastline data from OSM... specifically, I want >> shapefiles exactly like the ones that are available (processed_p and >> shoreline_300), but >> * in wgs84 (no projection to mercator) >> * without splitting up of polys into tiles > > > I've made this (very large) shapefile which has these properties with > Jochen's osmcoastline tool: > > http://www.remote.org/frederik/tmp/nontiledland.zip > > (Temporary link; if you read this email in an archive later you are unlikely > to find the file and you will have to build your own using Jochen's tool and > a current planet extract.) Awesome -- thank you! > Bye > Frederik > > -- > Frederik Ramm ## eMail frede...@remote.org ## N49°00'09" E008°23'33" > > > ___ > dev mailing list > dev@openstreetmap.org > http://lists.openstreetmap.org/listinfo/dev I'd also like to briefly mention how I repaired the polygons I used from NaturalEarthData. I know Jochen's tool and coastcheck do some repairing as well, and they may be better suited (I'm not entirely sure what they do under the hood), but there's this tool that I found pretty handy available here: https://github.com/tudelft-gist/prepair. It uses constrained triangulation to fix polygons so that they conform to the common simple feature standard -- the paper can be found here: http://www.gdmc.nl/ledoux/pdfs/_12agile.pdf. It may be of some use in automating polygon repair for osm coastlines. Regards, Preet ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] A few coastline related questions
On 05/07/2012 09:06 AM, Preet wrote: Hiya, I'm trying to extract coastline data from OSM... specifically, I want shapefiles exactly like the ones that are available (processed_p and shoreline_300), but * in wgs84 (no projection to mercator) * without splitting up of polys into tiles I've made this (very large) shapefile which has these properties with Jochen's osmcoastline tool: http://www.remote.org/frederik/tmp/nontiledland.zip (Temporary link; if you read this email in an archive later you are unlikely to find the file and you will have to build your own using Jochen's tool and a current planet extract.) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09" E008°23'33" ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] A few coastline related questions
Preet wrote: > * without splitting up of polys into tiles Are you shure that you want an unsplitted europe-asia-afrika? > Both of these process planet.osm.pbf, which sometimes needs a 64bit > machine with a certain amount of ram etc, depending on what exactly the > tool is doing. I have an older computer with 2gb of ram... Would it be > possible for me to use either of these tools? You don't need a full Planet. Just the coastlines are sufficient. These can be extracted from the planet using osmcoastline_extract from Jochens toolchain. Sven -- Um Kontrolle Ihres Kontos wiederzugewinnen, klicken Sie bitte auf das Verbindungsgebrüll. (aus einer Ebay fishing Mail) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] A few coastline related questions
Hiya, I'm trying to extract coastline data from OSM... specifically, I want shapefiles exactly like the ones that are available (processed_p and shoreline_300), but * in wgs84 (no projection to mercator) * without splitting up of polys into tiles I'm not using the data with Mapnik or to draw it onto tiles -- instead I'm converting the shapefiles into a mesh (http://i.imgur.com/vuYmc.png). So I have a few related questions... Are there any tools I can use to merge the tiles into more reasonable polys? Something along the lines of the data available from NaturalEarthData? If not, I see there are a couple of tools to extract the data directly: coastlinecheck (http://svn.openstreetmap.org/applications/utils/coastcheck/), and osmcoastline (https://github.com/joto/osmcoastline/). Both of these process planet.osm.pbf, which sometimes needs a 64bit machine with a certain amount of ram etc, depending on what exactly the tool is doing. I have an older computer with 2gb of ram... Would it be possible for me to use either of these tools? Preet ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev