Replies: 1 comment
-
I think I figured out :) From geojson string to Geometry: To create a fiona Geometry from a geojson string, first parse that string so it becomes a Python data structure. Then use the spread operator (
From WKT string to Geometry: To do the same for a WKT string, create the geojson-like datastructure
geomet turns the integer values into float values ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For the purpose of learning/testing I would like to hardcode a few instances of fiona.model.Geometry. The following approach does work:
But I would prefer to create them from WKT (for reasons I won't go into here). I was hoping for something like:
I haven't been able to find anything like that. Does Fiona support anything like this?
Beta Was this translation helpful? Give feedback.
All reactions