I have a website where locations data are stored with the fields provided by Node Location Module(core).
Actually i'm using Ggoogle Map API, and would like to switch to openlayers.
Is there a way to migrate my "Node Location" data to OpenLayers WKT field ?
( I'm using only latitude and longitude.)
Comments
Comment #1
tmcw commentedIf the node location module provides latitude/longitude as CCK fields, there's no need to migrate your data into WKT - you can simply set the OpenLayers Data view to use latitude and longitude fields via views.
Comment #2
heyyo commentedI'm not using CCK locations but Node Location.
http://drupal.org/node/375259
Comment #3
tmcw commentedAh, in that case I have no idea. With a bit of code, I'd assume that you can upgrade nodes to a CCK situation (either OpenLayers WKT or just plain numeric CCK fields, either way is fine for points), but if the Location module doesn't have an upgrade path, it won't be automatic.
Comment #4
heyyo commentedI'm trying with the migrate module
Comment #5
zzolo commentedHi @heyyo, if you figure this out, it would be really helpful to others if you posted back here. Good luck.
Comment #6
c-c-m commentedI'm also in the same situation and I'd like to give up Location. I have not started anything yet about importing (my first action was searching here, and I found your post), so I wanted to subscribe your problem and ecourage developers to create a migration script to get rid of Location by moving all their data into cck fields.
Comment #7
tmcw commentedFeel free to update, but this is out of scope for the module... the ancient Location module is a tough cookie.