This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Change EPSG in OSM

0

Hi!

I'm working on an android application where I want to plot my data in an OSM view. The data I want to plot is in EPSG 3857 but the OSM only wants it in EPSG 4326. Is it a way I can set the OSM in the android app (working with JAVA) to use EPSG 3857?

asked 12 Jul '18, 07:07

LeeMap's gravatar image

LeeMap
21112
accept rate: 0%

edited 16 Jul '18, 18:19

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

3

What Android framework/library are you using to display the map?

(12 Jul '18, 12:53) Richard ♦

The gdal library is a great way to reproject data, and it looks like there are ways to use it with Java. I don't know Java, but maybe this might give you a starting point? https://www.programcreek.com/java-api-examples/?api=org.gdal.gdal.Driver

(12 Jul '18, 15:18) neuhausr
2

I'm using osmbonuspack 5.8 and omsdroid 5.2.

(16 Jul '18, 07:03) LeeMap

Source code available on GitHub .