When I try to import the geo data from a CSV file the values appeared to be strings and taken as non numeric so Geofield module appeared to give me the following error.

Cannot construct Point. x and y should be numeric

So I had to patch the geofield_latlon migration process plugin and cast the values to float to make it work. It appeared to be no matter what the source provides you it it important to cast them to float avoid such issues.

Thanks

Comments

heshanlk created an issue. See original summary.

hypertext200’s picture

Status: Active » Needs review
StatusFileSize
new573 bytes

  • plopesc committed 4531405 on 8.x-1.x authored by heshanlk
    Issue #2849481 by heshanlk: Cannot construct Point. x and y should be...
plopesc’s picture

Status: Needs review » Fixed

Merged

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.