Re: [OSM-talk] scale question

2010-07-08 Thread Ben Last
>
> At 09.07.2010 01:19, Mostafa El-ashram wrote:
>
> Please could you tell me how to determine the scale of a map on open
>> street maps
>>
>
The TMS co-ordinate system (OSM,  Google Maps, NearMap, Bing Maps, etc) use
a Mercator projection; you'll find it referred to as "cylindrical Mercator"
and "spherical Mercator".
http://en.wikipedia.org/wiki/Mercator_projection
http://mathworld.wolfram.com/MercatorProjection.html
http://www.sharpgis.net/post/2007/07/27/The-Microsoft-Live-Maps-and-Google-Maps-projection.aspx

To derive the scale in metres per pixel at a given latitude and zoom level,
you can use this (JavaScript, which uses radians for trig):

metresPerPixel = Math.abs(156543.04 * Math.cos(latitudeAtCentreOfMap *
nml.PI / 180)) / Math.pow(2, zoomLevel);

See http://msdn.microsoft.com/en-us/library/aa940990.aspx for a reference.

Cheers
b

-- 
Ben Last
Development Manager (HyperWeb)
NearMap Pty Ltd
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] scale question

2010-07-08 Thread Peter Körner



Am 09.07.2010 01:19, schrieb Mostafa El-ashram:

Please could you tell me how to determine the scale of a map on open
streer maps


As we're using the sperical mercartor projection that projects the 
shpere of the world onto a square, the scale is different for different 
locations on the planet. To be more concrete: at the poles it is infinite.


Peter

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] scale question

2010-07-08 Thread Mostafa El-ashram

Please could you tell me how to determine the scale of a map on open streer 
maps 


  


   Thanks in advance


  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] True Offline Maps 2 Released - Offline Routing and Offline POI edition

2010-07-08 Thread IgnacioZ
Hi!
I'm very glad to announce that True Offline Maps 2 has been released and is
available for the iPhone. This app provides offline maps with offline search
and offline routing capabilities. In addition it allows to add new POI while
offline and upload them to Openstreetmap when you are online.

Here is the link:
http://itunes.apple.com/us/app/true-offline-maps-2/id377324078?mt=8

I´ve set the minimum price for the first few days, but if you have a US
account and are interested in a free download, contact me, I have some promo
codes.

Cheers,
Ignacio.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] That license change link

2010-07-08 Thread Grant Slater
There is an outstanding task on me to setup links from the osmf site
(and wiki banner) to the osm wiki to allow translations of those
documents.  Feel free to jump ahead and translate, I will link things
up as soon as I get a chance.

/ Grant

On 7/7/10, Tobias Knerr  wrote:
> Mike Collinson wrote:
>> You may have seen a new link at the top of http://wiki.openstreetmap.org
>> about the forthcoming license change and seen it growing in size.
>> [...] Translations into other languages are also greatly welcome.
>
> I assume we are talking about this page:
> http://www.osmfoundation.org/wiki/License/We_Are_Changing_The_License
>
> Providing translations is likely one of the most important tasks in
> increasing acceptance for the license change, and the lack of translated
> material is one of the most common complaints right now. Even if people
> will probably continue to ask for translations of the legal texts (or at
> least the "human readable" summaries), translating that page would be a
> good start.
>
> So if I had created a translation of the text (which I haven't done so
> far, but might do if no one else volunteers), where would I publish it?
>
> Tobias Knerr
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>

-- 
Sent from my mobile device

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-legal-talk] new license use case questions

2010-07-08 Thread David Carmean


I'd like to get input on a couple of use-cases under the ODBl:

An organization (US tax-exempt non-profit) operates a UMN mapserver to
provide public parks information.  They use a shapefile generated from
a filtered snapshot of OSM data--leaving only roads--as a base layer.
Obviously they will have had to work with the shapfile table schema to
create their visual formatting.

If they do nothing else but serve this one-time snapshot as a base
layer, what are their obligations?

Secondly, what if one of their staff, being unfamiliar with OSM but a
GIS expert, sees a problem with one or more roads about which they
have personal knowledge, and "fixes" those problems in the GIS data
only--then publishing the result as a mapserver layer only.  What are
their obligations in this case?


Third: there is the usual problem/condition (depending on your 
political leanings) of divergence in the tag values.  For example, 
"surface=Dirt" vs. "surface=dirt", "surface=cement" vs. "surface=concrete", 
etc.  I'd certainly want to "fix" that, but if I were that agency, I woulnd't 
have the time/skills to make a 'bot fix back in the OSM database.

I just haven't figured out when, and in what form, consumers would have to 
"give back" when they use our data.

Thanks.



___
legal-talk mailing list
legal-t...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/legal-talk


Re: [OSM-talk] Changed highway=*_link meaning?!

2010-07-08 Thread Konrad Skeri
2010/7/3 John Smith :
> On 3 July 2010 19:50, Konrad Skeri  wrote:
>> One possibility is to just use highway=link and then let the renderes
>> sort out the rest. A link is after all just a link no matter what it
>
> It may not be possible for preprocessing or renderers to figure it out.
>

1. Take the link that is to be rendered
2. Get the IDs of the endpoints.
3. For each endpoint get the IDs of all the ways that uses that point.
4. Render according to a table or a hierarchical rule

The endpoints are two, and the number of other ways using the
endpoints are not only finite but in practice limited. A rendering
table, which is the most complex and detailed way to do this would be
h^2 rules. (Where h is the number of recogniced highway-types. In
practice you won't have this many as you probably won't have links
between a service=driveway and a motorway) In any case I don't see the
overall complexity exceeding O(n) and the quasi code is only 4 lines
so the algorithm should be fairly straight forward and definitely
possible. Where the link is split into several ways the search has to
extend to the endpoint of the link connecting to the link.

Konrad

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk