[OSM-talk] osmosis and polygon download ...
Message original Objet: [OSM-newbies] osmosis and polygon download ... De: Francois De Ryckel [EMAIL PROTECTED] Date:Mar 27 mai 2008 9:01 À: [EMAIL PROTECTED] -- Hello Everyone, I'm trying to figure out how to build a nice polygon that would cover Bangaldesh as a country. I've checked Osmosis and found that one can extract an area based on a polygon as found on maproom.psu.edu. Unfortunately, everytime I go on the maproom website and try to download the coordinate for BD, it fails miserably. Did anyone has tried lately? Any advices on other way to draw a polygon for a country, so I would be able to run Osmosis and download all the data of that country. Thanks for your help François de Ryckel ___ newbies mailing list [EMAIL PROTECTED] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/newbies François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
[OSM-talk] amenity=embassy
Hello Everyone, As I'm mapping in an area with a lot of embassies and consulate, I'd like to resurrect this proposal: Proposed features/Embassy I do not know all the procedures for this tag to appear on the map features and or to be rendered ... I know some kind of voting should be involved :) Thanks for adding any suggestion to the proposal Cheers François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
Re: [OSM-talk] Zero point tag?
Yes Stefan! This is what I meant: how would you tag the Kilometre_Zero? (nothing to do with the geographic centre of countries) Cheers Francois Stefan Baebler wrote: It might be that François wasn't talking about geographic centre of countries, but established (read: old) reference points from times where each country / region had their own coordinate system, or not even real coordinate system, just measuring road distance from that defined point. http://en.wikipedia.org/wiki/Kilometre_Zero enjoy, Å tefan On Thu, May 15, 2008 at 8:52 AM, Mike Collinson [EMAIL PROTECTED] wrote: At 05:00 AM 15/05/2008, Francois De Ryckel wrote: Hello everyone, How would you tag the zero point of a country? Shouldn't be an important tag as distances in a country are measure from that point? Thanks for the advices. François de Ryckel François, I don't know if this will suit your particular requirements, but I've published a list of country bounds here which includes a centre lat/lon: http://wiki.openstreetmap.org/index.php/User:Ewmjc/Country_bounds This was generated from US government (public domain!) GNIS data. This is a dataset of several million location points around the world conveniently categorised by country. I simply calculated a bounding box for each country and then the centre point of that box. I then generated about 80% of the OSM place=country tags using the centre point to locate the tag. The OSM database should now have a tag for every country in the world (at least as defined by the US government). There are some inaccuracies though and I am working on a version two. In particular, I included marine features which makes several boxes too large, and may throw the centre point to a strange location. Once I have this sorted, I intend to add a lat_max ... lon_min or some such tags to the country tags. You could then derive a zero point directly from the OSM database. Mike ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
[OSM-talk] Zero point tag?
Hello everyone, How would you tag the zero point of a country? Shouldn't be an important tag as distances in a country are measure from that point? Thanks for the advices. François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
[OSM-talk] amenity=hospital does not render when it is an area ...
Did anyone notice that the tag amenity=hospital only works as a node but is not recognized when it is defined as an area? Any way to render it as an area? Thanks François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
Re: [OSM-talk] [Fwd: Re: Bangladesh under the water]
I found the script paul created? http://www.lenz-online.de/divers/osm/ http://wiki.openstreetmap.org/index.php/Running_the_coastline_upload can't we just use it to re-load the missing data? Francois David Groom wrote: - Original Message - From: Jon Burgess [EMAIL PROTECTED] To: David Groom [EMAIL PROTECTED] Cc: talk@openstreetmap.org Sent: Sunday, April 27, 2008 4:18 PM Subject: Re: [OSM-talk] [Fwd: Re: Bangladesh under the water] On Sun, 2008-04-27 at 15:32 +0100, David Groom wrote: http://tile.openstreetmap.nl/coastlines.html?zoom=8lat=23.43505lon=89.95194layers=B00T Any ways to restore the square missing? These are due to errors in the coastline ways. The red lines and circles highlight the location of the errors which will need to be fixed by editing the ways. When I originally imported the coastline in that part of the world I fixed it all. Unfortuntealtey it seems someone has now deleted quite a few coastline ways in that area leading to an incomplete coastline, and the errors being reported. The correct ways should I guess still be in the history , but I'm not sure how to retrieve it. I've got a coastline shapefile from 2008-01-28 and that does indeed show that area as being nicely complete. I can see lots of disconnected nodes in the area now but the Potlatch 'Undelete' does not show any ways to be recovered. Does the upload script create a log of the way IDs and if so, do you have a copy still? I used the coast_josm.pl script to create a local osm file, edited that to correct coastline errors, and then uploaded from within JOSM. I may haved saved the file after upload, but I doubt it. I'll have a look though. David I guess we may need to search an older planet dump (or diff files) to find and resurrect the ways. Jon ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
[OSM-talk] [Fwd: Re: Bangladesh under the water]
We have a similar issue in Bangaldesh http://tile.openstreetmap.nl/coastlines.html?zoom=8lat=23.43505lon=89.95194layers=B00T Any ways to restore the square missing? Francois On Thu, 2008-04-24 at 18:45 +0100, Jon Burgess wrote: On Thu, 2008-04-24 at 15:01 +0300, Lauri Hahne wrote: 2008/4/24 Juan Lucas Dominguez Rubio [EMAIL PROTECTED]: Hi, In Mapnik zooms 7, 8 and 9, most of the isle of Cuba is under the water. Is there anything I can do to fix this? Should I provide a hand-made shapefile or something? Thanks. Lucas It looks ok at http://tile.openstreetmap.nl/coastlines.html so maybe you should just wait till the mapnik shapefiles are updated. It is not quite as simple as that. Zoom 7 - 9 use a shapefile derived from vmap0 that is not normally updated. This weeks Mapnik tiles should finish rendering tomorrow. This weekend I'll try updating the style to use the OSM derived shapefiles for zoom 7 + and re-render the 7 - 9 tiles. It may be too slow to render the tiles with these detailed shapefiles. If so, we may need to perform some simplification on the shapefile to optimise the rendering performance. I generated a replacement shapefile for zoom 7-9[1] and rendered these tiles again. I'm tempted to use this shapefile for z6 or even z5 soon. Jon [1] Turns out this is quite easy to do with postgis: $ shp2pgsql -s 900913 -I -g way processed_p shoreline_a | psql -q gis ... $ pgsql2shp -f shoreline_300 gis select simplify(way,300) as the_geom, gid as id from shoreline_a where area(simplify(way,300)) 0 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk François de Ryckel ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk