czml3 icon indicating copy to clipboard operation
czml3 copied to clipboard

support for GeoJSON and __geointerface__

Open mhaberler opened this issue 5 years ago • 2 comments

I need a geo objects base library under my applications and decided to go for https://pypi.org/project/geojson/

czml3 then would be pretty much an output converter for geojson objects similar to dumps()

I wonder if there is any point in leveraging on the geointerface protocol

my current thinking would be to sublcass geojson objects and add a to_czml() method therein.

Making sense? is there a better approach?

mhaberler avatar Dec 24 '20 10:12 mhaberler

What packets in particular you think would benefit from geojson integration / higher level APIs? In other words: if we reverse the implementation, and add a from_geojson method to some of the classes, which ones do you think could benefit? I am not sure how the GeoJSON ➡️ CZML would work in the general case.

astrojuanlu avatar Dec 24 '20 16:12 astrojuanlu

Would a python implementation of this answer the mail here? Or just use that library on the js side to read in GeoJSON?

sanbales avatar Jan 12 '23 21:01 sanbales