Native GPX and Shapefile support

FYI, I’m almost done with GPX support, all the geometric features are working and just need to be made “pretty”. There’s some issues with time dynamic Tracks but nothing I can’t fix in a couple of days. I’m improving test coverage right now and implementing some missing (non visual) features.

I’d appreciate any example .gpx files you can provide for me to test this further, also feel free to fork my repository and check out the gpx branch to test it yourself.

Patrick Cozzi, you mentioned Demos somewhere, could you please be more specific on what kind of Demos would be appreciated? Would I need to host a cesium app to showcase these Demos?

Thanks,

André Nunes

Hi André,

I think just a Sandcastle example for GPX would be fine.

Patrick

Sorry for reviving an old thread...

Was this ever merged into the main project (GPX loading)? I can't find references or sandcastle example.

Thanks,

Hello,

No, this was never merged. See this pull request: https://github.com/AnalyticalGraphicsInc/cesium/pull/2939

Best,

Hannah

So I'm stuck writing my own gpx datasource code for cesium. Is this trivial, so you're leaving it to users to develop? I've got something to work, but really, your development efforts haven't helped me much in the last 3 years since you positioned cesium as a platform to replace the GE plugin.
Inability to clamp geoJSON polygons (or polylines) to terrain has left my live project in 2D google maps, while I waste valuable hours trying to make cesium work as a 3D GIS data viewer.

Hi
Geojson has had a clampToGround option since 1.23. With this set to true points, polygons and polylines are drawn on terrain. One caveat is that polylines are drawn as corridors, so the width is set in meters and not pixels.

--Tom

Thanks Tom I will look at that

Hello,
I am trying to run gpx file in cesium. I found your github , downloaded cesium source, but that does not run. Can you please help me with that. I believe you already have gpx cesium support.

Thanks

Hi Umar,

We currently have a pull request open for GPX support: https://github.com/AnalyticalGraphicsInc/cesium/pull/2939

I don’t think it’s complete, but perhaps it can help you. For some help downloading and building the codebase locally, see our build guide: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide

Hope that helps!

  • Rachel