Skip to main content
Question

Geometry replacer error


gis2020
Contributor
Forum|alt.badge.img+5

Hi All,

I am doing the geometry extraction of polylines using the geometry extractor with encoded polyline option and storing this in a dbf file formation. later part of my process is using this dbf file to replace the geometry and use this further for processing and then finally upload this on geoserver. During geometry replacer process few of the feature are getting rejected with error msg "@Geometry: Unable to replace the geometry from attribute '_GEOMETRY'." not sure how i can resolve this error .

Can somebody suggest how i can resolve this ?

 

Thank you in advance.

3 replies

david_r
Celebrity
  • May 15, 2019

Are you sure that the encoded geometries aren't truncated in the dbf?

Also, is there a particular reason for not using something more efficient for geometry storage?


gis2020
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • May 15, 2019
david_r wrote:

Are you sure that the encoded geometries aren't truncated in the dbf?

Also, is there a particular reason for not using something more efficient for geometry storage?

not sure of the first part .. but i am suspecting that it truncating the geometry during the dbf conversion.

 

is there a efficient way to store the geometry . This is the first time i am trying this to store geometry and then use that file to recreate it .

david_r
Celebrity
  • May 15, 2019
gis2020 wrote:
not sure of the first part .. but i am suspecting that it truncating the geometry during the dbf conversion.

 

is there a efficient way to store the geometry . This is the first time i am trying this to store geometry and then use that file to recreate it .

It's difficult to give a concrete recommendation without knowing your use case, but if you want to stick with DBF as the underlying data format, you should consider using the Shapefile format, which is simply DBF with some sidecar files containing binary geometries. FME allows you to read and write directly to this format and it's very fast.

For a more modern approach you could consider using GeoPackage or SpatiaLite, both also natively supported by FME.

If the data is only to be used with FME, you could use the internal FFS format, it is very fast and supports anything that you can throw at it.


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