[OSM-dev] Plotting data on an equirectangular map, distorted for sphere projection

Eugene Alvin Villar seav80 at gmail.com
Wed Jul 17 23:14:21 UTC 2013


On Thu, Jul 18, 2013 at 1:41 AM, Dane Springmeyer <dane at dbsgeo.com> wrote:

> Chris,
>
> It would be helpful to explain what you've tried already. Mapnik supports
> proj4 and proj4 understands quite a few projections. I'm no expert in
> equirectangular projections but
> https://en.wikipedia.org/wiki/Equirectangular_projection states that this
> is basically a term for the well know set of lon/lat based geographic
> coordinate systems.
>
> So, can you try simply changing your Mapnik Map `srs` value to EPSG:4326
> or a specific Equidistant cylindrical projection like
> http://spatialreference.org/ref/epsg/3786/
>
> The specific Mapnik Map XML syntax can be found by following the link for
> "Mapnik XML" like:
>
> http://spatialreference.org/ref/epsg/3786/mapnik/
>

I don't think Chris' problem is setting the appropriate projection in
Mapnik.

What he needs is a way to distort the elements on the map (like text) such
that if the map is used as a bitmap texture for a spherical 3D model, the
map elements don't look distorted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130718/660eb5cb/attachment-0001.html>


More information about the dev mailing list