You are not logged in.

#1 2013-08-21 17:07:17

leonardoropke
Member
Registered: 2013-08-21
Posts: 3

Help with exporting maps to shapefiles

Good afternoon, I'm from Brazil and I need some help.
My problem is the following,
I have on my site map and get the OSM data trackers ranging scratching route on the map, just that I need to export this route and the map piece in which she is to a shape file and do not know how to do this, it will be is possible, could someone help?

Offline

#2 2013-08-22 17:26:05

stephan75
Member
Registered: 2008-05-28
Posts: 2,802

Re: Help with exporting maps to shapefiles

So if yI understand right:

You have a website,

with OSM based tile graphics als Map background,

and you have something like a track on that map in an extra layer,

and you want to export that track to a shapefile.

Tell us first what frame work you are using to display the OSM based map together with your track or what you mean.

Or give us the link to your website unless it is not private.

There are some webservices where you can draw tracks by hand and then export them to GPX or similar. Maybe there is a way to convert GPX to Shapefile then.

So we need more information to help you.

Offline

#3 2013-08-24 13:40:34

leonardoropke
Member
Registered: 2013-08-21
Posts: 3

Re: Help with exporting maps to shapefiles

stephan75 wrote:

So if yI understand right:

You have a website,

with OSM based tile graphics als Map background,

and you have something like a track on that map in an extra layer,

and you want to export that track to a shapefile.

Tell us first what frame work you are using to display the OSM based map together with your track or what you mean.

Or give us the link to your website unless it is not private.

There are some webservices where you can draw tracks by hand and then export them to GPX or similar. Maybe there is a way to convert GPX to Shapefile then.

So we need more information to help you.


I am a newbie on Open Street Maps, do not know if some are one or two layers, but it works as follows:
I've got a DIV on my website that shows then a part of the map, this map OSM via a JSON file is scratched according to data submitted by vehicle trackers. This map should be exported to. SHP with all the lines that were made with data from the tracker.

http://www.mediafire.com/view/eqzisn7phln19d7/osm.jpg
http://www.mediafire.com/view/no2fv47qddxl35k/2.png

osm.jpg
2.png

Last edited by leonardoropke (2013-08-24 13:48:57)

Offline

#4 2013-08-25 17:33:35

stephan75
Member
Registered: 2008-05-28
Posts: 2,802

Re: Help with exporting maps to shapefiles

First of all, it seems that your map display is done via the framework OpenLayers ... see http://openlayers.org for documentation and EXAMPLES!

And the data from vehicle tracker is delivered and displayed via a JSON file? ... Then your question should be:

How can I convert JSON to shapefile ... or am I still wrong in my assumptions?

Offline

#5 2013-10-28 17:25:20

leonardoropke
Member
Registered: 2013-08-21
Posts: 3

Re: Help with exporting maps to shapefiles

The data are received and registered in the db and has a JS file. Has the API Open Layers and Open Street Maps to display maps and these APIs have functions to assemble the track formed by the GPS data in a given time period and what I have to do is to export this trail for SHAPEFILE.

Offline

Board footer

Powered by FluxBB