NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

In my application I use several layers with 4326 projection. I would like to use as basemap OSM. Do you know any services that implement OSM with 4326 projection ?

asked 03 Jul '13, 14:20

alexander81's gravatar image

alexander81
16111
accept rate: 0%

edited 03 Jul '13, 16:04

gormo's gravatar image

gormo
2.9k32660

i am having a problem with the same projection. which i have drawn in OSm and exported to QGIS and i got the error of +-10m now i am stuck how to correct it... i have converted my map to the same coordinate via Coordinate Reference System (CRS). what to do?

(19 Jul '13, 15:49) Bhagawat Urb...

There are a couple of - mostly commercial - WMS services that support various projections, 4326 among them. See the WMS page on the wiki for details. You can also set up your own WMS or tile server using the 4326 projection (more work), or use a tool like MapProxy to re-project existing tiles into 4326 (sub-standard image quality).

permanent link

answered 03 Jul '13, 14:54

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Hi Frederik, I imported the pbf file in postgis with a specific bounding box. I used mapnik-stylesheet to create a valid mapnik xml. However the generate_tiles.py make only tiles with sperical mercator projection. Exist any script like generate_tiles.py to generate tiles with 4326 projection?

(18 Jul '13, 10:27) alexander81

generate_tiles.py has Sperical Mercator hardcoded, can probably be rewritten to use 4326, though. See http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py , near the top there's a "GoogleProjection" class. This could probably be rewritten using pyproj to support other EPSGs.

(18 Jul '13, 13:27) gormo

I have very limited experience with GIS in general (a very green newbie, so please excuse me if I'm barking up the wrong tree). I have learned that Qantum GIS can reproject layers on the fly. It also has an OSM plugin that can either use the raw data or pull in rendered data. I have been able to use Bing imagery, OSM data and elevation data together using 4326 projection. Not sure if this will meet your needs though, but you may want to look into it.

permanent link

answered 04 Jul '13, 06:05

rovingmedic's gravatar image

rovingmedic
1.1k41321
accept rate: 5%

edited 04 Jul '13, 06:09

Are you using OpenLayers? OL should theoretically be able to reproject 4326-based layers to 900913/3857, see for example http://www.peterrobins.co.uk/it/olchangingprojection.html .

permanent link

answered 18 Jul '13, 13:29

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34
×20
×9

question asked: 03 Jul '13, 14:20

question was seen: 16,711 times

last updated: 19 Jul '13, 15:53

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum