- Issue created by @ressa
- 🇩🇰Denmark ressa Copenhagen
I found Geofield issue #3074552: Migrate WKT directly → which seems to be about the same thing. A
geofield_wkt
process plugin was added:field_boundary: plugin: geofield_wkt source: WKT
- 🇩🇰Denmark ressa Copenhagen
I just tried Geofield, and it was able to import the WKT data without a process plugin, using the most basic field mapping:
process: field_municipality_boundary: WKT
Reading the #3074552: Migrate WKT directly → issue closer, it looks like the
geofield_wkt
plugin mainly is for adding support for migrating boundaries information from a csv file. - 🇩🇪Germany christianadamski Berlin, Germany
You might want to follow 💬 Can I use this module to import shapefiles, arcgis, or esri data? Fixed . I think the "feeds" module will be my go-to solution to get data in.
- 🇩🇰Denmark ressa Copenhagen
Thanks for a fast reply @ChristianAdamski. The thing is, I am so used to using Migrate by now, that I'll stick to that and not Feeds ...
Perhaps you could consider adapting the Feeds Parser plugin to work for Migrate as well? Maybe it's a lot of work, I am not sure.
Feel free to close this issue as "Closed (won't fix)" if you think it's too much effort and you want to stick with Feeds. Or we can leave it open, and see if anyone else would like this feature, and add it to a feature wish list? It's up to you.
- Merge request !80Issue #3371201: Support importing WKT into a Geolocation Geometry - MultiPolygon field with Migrate → (Merged) created by christianadamski
- 🇩🇪Germany christianadamski Berlin, Germany
Took a moment.
The migrate process plugin is called "geolocation_wkt_to_geometry". It should transform to geojson by default, but you can target differntly via "format"-flag.
This is not tested, didn't have WKT around.
-
christianadamski →
committed 257ae4d4 on 4.x
Issue #3371201: Support importing WKT into a Geolocation Geometry -...
-
christianadamski →
committed 257ae4d4 on 4.x
Automatically closed - issue fixed for 2 weeks with no activity.