tim-speed / openmap-gta

Old styled GTA game using open map data
13 stars 1 forks source link

Parsing Open Street Maps XML data into JSON #12

Open Glavin001 opened 11 years ago

Glavin001 commented 11 years ago

https://github.com/derderderist/XMLtoJSON

Glavin001 commented 11 years ago

OSM2GEO: https://gist.github.com/tecoholic/1396990

Glavin001 commented 11 years ago

Instead of using our own custom parse, we should most definitely use the GeoJSON object.

  1. First convert the OSM XML file into GeoJSON (done)
  2. Edit the current code to use the GeoJSON object instead of the customer nodes, ways``,highway, ``otherway, and building objects. We no longer need to have specialized objects, such as highway and building as the GeoJSON object contains ALL of the necessary data we need, and more! So much cleaner :+1:
Danlock commented 11 years ago

what are all the files that need to be edited

Glavin001 commented 11 years ago

Just the canvasGl.js (on mobile, I hope that's right :P) — Sent from Mailbox for iPhone

On Thu, May 2, 2013 at 5:05 PM, Danlock notifications@github.com wrote:

what are all the files that need to be edited

Reply to this email directly or view it on GitHub: https://github.com/tim-speed/openmap-gta/issues/12#issuecomment-17361284