Skip to main content
Question

Read in GeoSpan from CSV


nedwaterman
Contributor
Forum|alt.badge.img+9

Hi all,

 

I have been given a csv file containing a GeoSpan column representing line data. Any idea how I read this into FME and create the geometry from the GeoSpan?

 

Thanks

NCapture

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • June 14, 2022

Try GeometryReplacer.

You have to figure out what type of Geometry Encoding your data has. I would start with Hex Encoded OGC WKB (because of the 0x in front).

If nothing seems to work, trim the 0x from the start of the string and try again.


nedwaterman
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • June 14, 2022

Thank you - the encoding is supposed to be OCB WKB but the majority of features are rejected. I'll refer back to the provider as error is in their output I think.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings