jeffschuler / cle-critical-map

Cleveland Critical Mass - Routes Map - Tilemill project
https://tiles.mapbox.com/websubstrate/map/CleCritMass
0 stars 1 forks source link

Convert GPX tracks to GEOJSON #14

Open skorasaurus opened 11 years ago

skorasaurus commented 11 years ago

for the sake of interpolability; ease of manipulating them in tilemill, openlayers.

skorasaurus commented 11 years ago

could do either as converting from SHP or from GPX, figure out whether it makes a difference or one or the other is easier.

skorasaurus commented 11 years ago

Might want to clean them up first - https://github.com/jeffschuler/cle-critical-map/issues/6

jeffschuler commented 11 years ago

They've been converted; just gotta move them into the Tilemill project.

skorasaurus commented 11 years ago

@jeffschuler , I'm circling back to this...

Were you thinking of adding json files (not just sys links) to the tilemill project ?

At first, I was thinking of doing this and then I remembered wouldn't be a good idea because we would have reupload the map every time that we had a new trace. or would

But, then I realized that you can simply turn the json layers off (a relatively new feature in tilemill in 0.10.1 build) so they don't display at all before we upload it to the mapbox server. At that point, we'd then style the json files not in tilemill, but through openlayers, right ?

jeffschuler commented 11 years ago

I made two separate maps: one with base layers and one with traces. I just haven't made new repos for these.

I was thinking we could just make the layers reference the geojson files directly from the website; URL- instead of file-based. What do you think about that approach?

jeffschuler commented 11 years ago

(So, with two separate maps, we just use Leaflet/OL to display the routes layer atop the base layer.)