Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread Raghu Ram
On Wed, Apr 16, 2008 at 9:33 PM, Tom Hughes [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] Raghu Ram [EMAIL PROTECTED] wrote: I see that the map projection being used by mapnik slippy map is the one that google uses too. Google maps has this dynamic scale bar where as

Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread Iván Sánchez Ortega
quote who=Tom Hughes Iván Sánchez Ortega [EMAIL PROTECTED] wrote: Yes, the slippy map scale should change with the latitude in focus. Well that rather depends really - the amount the scale changes by depends what direction you are measuring in. And even more, it depends on the pixel

Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread Christopher Schmidt
On Wed, Apr 16, 2008 at 05:26:16PM +0100, Tom Hughes wrote: I flushed my browser cache. Still i cannot see any dynamic scale bar. Its static in the sense that the scale doesn't change with the latitude in focus. Well I guess that's a bug in OpenLayers then ;-) Bug is so harsh. Lack of

Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread Christopher Schmidt
On Wed, Apr 16, 2008 at 06:42:33PM +0200, Iván Sánchez Ortega wrote: quote who=Tom Hughes Iván Sánchez Ortega [EMAIL PROTECTED] wrote: Yes, the slippy map scale should change with the latitude in focus. Well that rather depends really - the amount the scale changes by depends what

Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread David Earl
On 16/04/2008 17:44, Christopher Schmidt wrote: On Wed, Apr 16, 2008 at 05:26:16PM +0100, Tom Hughes wrote: I flushed my browser cache. Still i cannot see any dynamic scale bar. Its static in the sense that the scale doesn't change with the latitude in focus. Well I guess that's a bug in

Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread Raghu Ram
sorry for asking it again but ... Also I see that Mapnik osm.xml (style sheet) filters on the basis of scale denominators. But assuming that the projection suffers some scale distortion how could one ensure that the same style is applied all over the world at a particular zoom level. I am

Re: [OSM-dev] map projection and scale distortion

2008-04-16 Thread Tom Hughes
In message [EMAIL PROTECTED] Raghu Ram [EMAIL PROTECTED] wrote: Also I see that Mapnik osm.xml (style sheet) filters on the basis of scale denominators. But assuming that the projection suffers some scale distortion how could one ensure that the same style is applied all over the

Re: [OSM-dev] Polygons in OSM don't necessarily comply to simple feature specification

2008-04-16 Thread Karl Newman
On Wed, Apr 16, 2008 at 2:28 PM, Martijn van Exel [EMAIL PROTECTED] wrote: Hi all, I've been warming up as many of my colleagues to OSM as possible, and sometimes this comes back to me. Being GIS people, they have GIS requirements, and OSM was not devised specifically with GIS requirements

Re: [OSM-dev] Polygons in OSM don't necessarily comply to simple feature specification

2008-04-16 Thread Christopher Schmidt
On Wed, Apr 16, 2008 at 11:28:32PM +0200, Martijn van Exel wrote: Hi all, The only exceptions apparently being that self-intersecting polygons are allowed in OSM. He found a couple hundred in the Netherlands' OSM data. Is this something that is being considered? I guess it would be easy

Re: [OSM-dev] Polygons in OSM don't necessarily comply to simple feature specification

2008-04-16 Thread Frederik Ramm
Hi, yesterday a colleague approached me asking why OSM data doesn't comply to the Simple Feature specification[1] I guess the honest answer is very likely that most people invovled in designing anything at OSM have no prior GIS experience. Most of us are amateurs. We design stuff that we think

Re: [OSM-dev] Polygons in OSM don't necessarily comply to simple feature specification

2008-04-16 Thread Frederik Ramm
Hi, The only exceptions apparently being that self-intersecting polygons are allowed in OSM. The wiki page you cited says In general, a 2D geometry is simple if it contains no self-intersection. - what do they mean by 2D geometry? Specifically, would a self-intersecting *line* be allowed?

Re: [OSM-dev] [OSM-talk] Polygons in OSM don't necessarily comply to simple feature specification

2008-04-16 Thread Christopher Schmidt
On Thu, Apr 17, 2008 at 12:19:19AM +0200, Iván Sánchez Ortega wrote: El Miércoles, 16 de Abril de 2008, Christopher Schmidt escribió: On Wed, Apr 16, 2008 at 11:28:32PM +0200, Martijn van Exel wrote: yesterday a colleague approached me asking why OSM data doesn't comply to the Simple

Re: [OSM-dev] Polygons in OSM don't necessarily comply to simple?feature specification

2008-04-16 Thread Christopher Schmidt
On Thu, Apr 17, 2008 at 12:43:06AM +0200, Iván Sánchez Ortega wrote: El Jueves, 17 de Abril de 2008, Christopher Schmidt escribió: Geometry in a 2 dimensional plane. In a 2 dimensional plane, all geometries are 2d, because you specify their coordinates in two dimensions. Nope. A

Re: [josm-dev] License clarification for JOSM plugins

2008-04-16 Thread Andreas Putzo
Hi, On Apr 15 16:26, Giovanni Mascellani wrote: copyright status clearly expressed. The only last thing that I'd like to point out is that src/org/openstreetmap/josm/io/MultiPartFormOutputStream.java isn't and can't be GPL (is copyrighted from Sun). is this file really copyrighted by Sun?

Re: [josm-dev] License clarification for JOSM plugins

2008-04-16 Thread Frederik Ramm
Hi, | Useful Code of the Day is supplied by the person who posted this | message. This code is not guaranteed by any warranty whatsoever. The | code is free to use and modify as you see fit. The code was tested and | worked for the author. If anyone else has some useful code, feel free to |