Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Jochen Topf
On Mon, Mar 11, 2013 at 10:53:16AM -0700, Paul Norman wrote: From: Jochen Topf [mailto:joc...@remote.org] Sent: Monday, March 11, 2013 10:17 AM Subject: Re: [OSM-dev] Coastline changes Antarctica If tile.osm.org has by now switched to using OSMCoastline and uses a current version

[OSM-dev] How to check if a user has entered valid openstreetmap username/password pair using php?

2013-03-12 Thread Sazal Sthapit
I am writing an app which allows users to submit values to pre-defined keys. But in order to make these edits by the user's own name, I first need to check if s/he has entered valid username/password combination. And I want to check it against the OSM user database. What is the easiest way to do

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Tom Hughes
On 12/03/13 08:25, Jochen Topf wrote: On Mon, Mar 11, 2013 at 10:53:16AM -0700, Paul Norman wrote: From: Jochen Topf [mailto:joc...@remote.org] Sent: Monday, March 11, 2013 10:17 AM Subject: Re: [OSM-dev] Coastline changes Antarctica If tile.osm.org has by now switched to using OSMCoastline

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Paul Norman
From: Jochen Topf [mailto:joc...@remote.org] Sent: Tuesday, March 12, 2013 1:25 AM Subject: Re: [OSM-dev] Coastline changes Antarctica On Mon, Mar 11, 2013 at 10:53:16AM -0700, Paul Norman wrote: From: Jochen Topf [mailto:joc...@remote.org] Sent: Monday, March 11, 2013 10:17 AM

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Jochen Topf
On Tue, Mar 12, 2013 at 01:53:30AM -0700, Paul Norman wrote: You should not import the -180/180 part until a plan for tile.osm.org has been worked out. If this isn't solved before we do the import we just add those bogus coastline ways back in as a temporary measure. Jochen -- Jochen Topf

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Jochen Topf
On Tue, Mar 12, 2013 at 08:41:36AM +, Tom Hughes wrote: On 12/03/13 08:25, Jochen Topf wrote: On Mon, Mar 11, 2013 at 10:53:16AM -0700, Paul Norman wrote: From: Jochen Topf [mailto:joc...@remote.org] Sent: Monday, March 11, 2013 10:17 AM Subject: Re: [OSM-dev] Coastline changes Antarctica

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Jochen Topf
On Tue, Mar 12, 2013 at 01:53:30AM -0700, Paul Norman wrote: From: Jochen Topf [mailto:joc...@remote.org] Sent: Tuesday, March 12, 2013 1:25 AM Subject: Re: [OSM-dev] Coastline changes Antarctica On Mon, Mar 11, 2013 at 10:53:16AM -0700, Paul Norman wrote: From: Jochen Topf

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Tom Hughes
On 12/03/13 09:07, Jochen Topf wrote: On Tue, Mar 12, 2013 at 08:41:36AM +, Tom Hughes wrote: Andy and I were talking about this last week and were of the opinion that we should switch to using your data, and to using sea polygons with land as the default background rather than the

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Jochen Topf
On Tue, Mar 12, 2013 at 09:12:39AM +, Tom Hughes wrote: On 12/03/13 09:07, Jochen Topf wrote: On Tue, Mar 12, 2013 at 08:41:36AM +, Tom Hughes wrote: Andy and I were talking about this last week and were of the opinion that we should switch to using your data, and to using sea

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Tom Hughes
On 12/03/13 09:17, Jochen Topf wrote: On Tue, Mar 12, 2013 at 09:12:39AM +, Tom Hughes wrote: Interesting - that change was Andy's idea and I think the thought was to reduce the damage done by any breakage and to ensure that we're not matching any massive polygons in the busy (land) areas.

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Peter Wendorff
I'm not sure if it works, but I think it might be the better solution to have land flooded on the maps than to have water becoming deserts. On land we might have data which makes errors visually obvious: There are streets in the sea - something has to be wrong. At the ocean we don't have, but in

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Jochen Topf
On Tue, Mar 12, 2013 at 09:20:51AM +, Tom Hughes wrote: On 12/03/13 09:17, Jochen Topf wrote: On Tue, Mar 12, 2013 at 09:12:39AM +, Tom Hughes wrote: Interesting - that change was Andy's idea and I think the thought was to reduce the damage done by any breakage and to ensure that

Re: [OSM-dev] How to check if a user has entered valid openstreetmap username/password pair using php?

2013-03-12 Thread Derick Rethans
On Tue, 12 Mar 2013, Sazal Sthapit wrote: I am writing an app which allows users to submit values to pre-defined keys. But in order to make these edits by the user's own name, I first need to check if s/he has entered valid username/password combination. And I want to check it against the OSM

Re: [OSM-dev] How to check if a user has entered valid openstreetmap username/password pair using php?

2013-03-12 Thread Ken Guest
If you're going to be communicating with the OSM API server directly from PHP I'd recommend Services_OpenStreetMap ( https://pear.php.net/package/Services_OpenStreetMap ). It's fully unit tested and allows for mock requests so you can test your app without hitting the OSM server until you're sure

Re: [OSM-dev] How to check if a user has entered valid openstreetmap username/password pair using php?

2013-03-12 Thread Jonathan Bennett
On 12/03/2013 09:53, Derick Rethans wrote: You should *not* be asking for their username and password WHS in Spades. It's incredibly bad practice, isn't very robust and I for one wouldn't trust any application these days that asked me for plain credentials. J.

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Andy Allan
On 12 March 2013 09:12, Tom Hughes t...@compton.nu wrote: I am not sure it is a good idea to switch to water polygons. Those polygons are much more complicated because they contain lots of holes, so they are slower to render. I'd only do that if really necessary (for instance when you want

Re: [OSM-dev] Coastline changes Antarctica

2013-03-12 Thread Christoph Hormann
On Tuesday 12 March 2013, Jochen Topf wrote: OSMCoastline first generates the land polygons, them splits them, then creates the water polygons as inverse from the lang polygons. If the land polygons are broken, so are the water polygons. So I don't think you can reduce the chance of breakage

Re: [OSM-dev] Zeroing or Extending a Hillshade-Tiff

2013-03-12 Thread Peter Körner
Am 11.03.2013 21:10, schrieb Sven Geggus: Peter Körner osm-li...@mazdermind.de wrote: what way would you choose and wich tools could be used to go that way? Use the Water-Polygons from openstreetmapdata.com instead of land polygons. That's not that easy for the polar regions, because