- Parts of this English version of this website was automatically translated. We are improving the translation every day. Please register to our forum and our hiking expert will love to answer any of your questions there -
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Amtrak  
#1 Posted : Sunday, January 31, 2016 9:35:28 AM(UTC)
Amtrak

Rank: Newbie

Groups: חבר
Joined: 5/15/2016(UTC)
Posts: 1,180
Man
Israel

I finished writing this little server that allows export of relation information from gpx file OSM.

He currently sits at http://osmexport.azurewebsites.net/osm2gpx?relationId=282071 -this link will return a file of Israel, but replacing the relationId at each value of another path returns the requested file.

The file is updated at most once a day, so if someone downloads a file of any relation, then update in OSM's mistake, and try to download the file again, he still receives the first file he saw, to take 24 hours of download time.

I hope to add option of creating kml file later this week. Hope the resulting file too. Enjoy.

Sponsor
חתול  
#2 Posted : Sunday, January 31, 2016 10:50:15 AM(UTC)
חתול

Rank: Newbie

Groups: חבר
Joined: 5/15/2016(UTC)
Posts: 0

Cool.

Is there any way to get the code to githav or something?

Amtrak  
#3 Posted : Sunday, January 31, 2016 11:38:05 AM(UTC)
Amtrak

Rank: Newbie

Groups: חבר
Joined: 5/15/2016(UTC)
Posts: 1,180
Man
Israel

Of course. Here is the project on github. I'd love to hear if you have any comments and suggestions.

אמנון לנגי  
#4 Posted : Sunday, January 31, 2016 12:54:41 PM(UTC)
amnonl

Rank: Newbie

Groups: מנהל כללי
Joined: 5/15/2016(UTC)
Posts: 1,948
Man
Israel
Location: ירקונה

Three comments.
1) the size of the file I downloaded from the link is now 1600K while the size of the file I downloaded myself under the orders is approximately 3500K. Than comes the difference
2) is it possible that the file will download day date in YYMMDD format?
3) on the highway!

Amtrak  
#5 Posted : Sunday, January 31, 2016 1:06:00 PM(UTC)
Amtrak

Rank: Newbie

Groups: חבר
Joined: 5/15/2016(UTC)
Posts: 1,180
Man
Israel

Decaprio tonight both the files and see what the differences between them. As for file-I will also do it later.
Amtrak  
#6 Posted : Tuesday, February 2, 2016 10:36:26 AM(UTC)
Amtrak

Rank: Newbie

Groups: חבר
Joined: 5/15/2016(UTC)
Posts: 1,180
Man
Israel

Not yet tabulated the information in the two files. But I enhanced the Web caching server, and now the file names contain the name of the relation ("Israel", for example), and the last update date in OSM (which is necessarily going to be her date of creating the file/download day, but I think it represents current data).
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.