Description:
When I attempt to write spatial data (in WKB format) to a Spotfire Binary Data Format (SBDF) file using the export_data function provided in the spotfire Python package, the geometry data does not appear correctly when viewing the SBDF file in Spotfire. Instead of expected Geometry objects, I am seeing polygons.
Here's an example of how the spatial data is represented when viewed in Spotfire:
POLYGON ((-101.63958257 33.51659818, -101.63958695 33.50205422, -101.65510673 33.50201273, -101.65696424 33.50202114, -101.65694942 33.51653987, -101.63958257 33.51659818))
I'm curious if there's a specific format or method for correctly processing spatial data when writing to an SBDF. Alternatively, this could be a bug within the package.
Environment:
Python version: 3.11.3
spotfire package version: 2.0.0
Description:
When I attempt to write spatial data (in WKB format) to a Spotfire Binary Data Format (SBDF) file using the export_data function provided in the spotfire Python package, the geometry data does not appear correctly when viewing the SBDF file in Spotfire. Instead of expected Geometry objects, I am seeing polygons.
Here's an example of how the spatial data is represented when viewed in Spotfire:
POLYGON ((-101.63958257 33.51659818, -101.63958695 33.50205422, -101.65510673 33.50201273, -101.65696424 33.50202114, -101.65694942 33.51653987, -101.63958257 33.51659818))
I'm curious if there's a specific format or method for correctly processing spatial data when writing to an SBDF. Alternatively, this could be a bug within the package.
Environment:
Python version: 3.11.3
spotfire package version: 2.0.0