Apologies in advance if this is a dumb question, but ...
I've started getting ready to convert my D7 site to Backdrop. So far, going well, except I have several years of D7 Location lat/lon variables to port. Does anybody know if the import process will handle this OK, or if I have to import the values via mysql at the end?
Just in case I have to do the latter, I've started looking at how the two dbs store lat/lon values.
Looks like the Backdrop location module puts them into a table with a different name than in the D7 version, called field_data_field_location, which is fine, but the Backdrop table has two additional fields, one field_location_geohash and field_location_geom (which is a blob). I tried simply deleting the field_location_geohash value from the db entry for one node I'd created in Backdrop and the map still showed up correctly on the individual node and its pointer on a view built with Leaflet. But what about the blob field (I'm not currently doing anything fancier than just plotting points on a map)? Or am I worrying too much?
Thanks!
Heya @adamg
First of all...no need to apologize. I was just trying to clarify what module(s) you were talking about so help would (hopefully) be more forthcoming.
I had to do a migration a long time ago along the lines you are describing, but not for lat/long. I was able to accomplish it using just SQL. I was lucky.
Personally speaking, I do not know if the BCMS Leaflet module or the BCMS Geolocation module has an "import" feature that allows it to migrate data that was originally created via the Drupal Location module. Have you checked?
I also do not know if importing LAT/LONG "behind the scenes" via SQL statements is a good idea or not over the long term. Considering the fact that the data schema appears to be different between them, with complex columns involved that may also have a requirement that data populate them, importing data via mitigating programming code (i.e. PHP or similar) may be a necessity, especially if computations or manipulations are required.
SQL is not a General Purpose Language (GPL) like PHP.
SQL is a Domain Specific Language (DSL), and may not be powerful enough.
Assuming the BCMS Geolocation module is whereby the lat/long data is stored in the system, are you technical enough to extend the BCMS Geolocation module with a little data import module to bring in data from the Drupal Location module?
I daresay that is what you are actually asking for; not a platform-wide import capability, but rather a module2module data migration capability.
(hope I got that right).
g.
----