localgovdrupal / localgov_geo

Entity for storing Geographic information, addresses, and areas; extensible types and plugable backends with defaults to start.
2 stars 1 forks source link

Investigate converting area backend to store GeoJSON #72

Open ekes opened 1 year ago

ekes commented 1 year ago

I've just realized how easy it is to make the backend store geojson instead of wkt. I've tested it with some of the files that were causing problems here ... and well it works (except somewhere on saving the entity it does assume it's some other format and makes an error message that's too large :laughing: but the entity is saved by that point, and it works for display and other usage from there.

_Originally posted by @ekes in https://github.com/localgovdrupal/localgov_directories/issues/150#issuecomment-1435952696_

ekes commented 1 year ago

Part of the issue https://www.drupal.org/project/geocoder/issues/3343202

Most simple solution to this is just put KML as the last processor.

ekes commented 1 year ago

Branch including a backend plugin: https://www.drupal.org/project/geo_entity/issues/3344441