You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding the geometry field as return field, you will get the corresponding geometry in the default coordinate reference system (CRS) of the layer - most of our layers use the Belgian Lambert 72 CRS (EPSG:31370) by default::
61
+
Adding geometry return fields
62
+
To add geometry columns as return field, you can add an instance of :class:`pydov.search.fields.GeometryReturnField` specifying both the geometry field name and the desired CRS::
0 https://www.dov.vlaanderen.be/data/boring/2016... POINT (92424 170752)
72
72
73
-
Custom coordinate reference systems
74
-
To get the geometry in another CRS, instead of adding just the fieldname as return field, you can add an instance of :class:`pydov.search.fields.GeometryReturnField` specifying both the field name and the desired CRS. If you'd like to receive the geometries in GPS coordinates (lon/lat, or EPSG:4326) instead of Belgian Lambert 72, you could::
75
-
76
-
from pydov.search.fields import GeometryReturnField
0 https://www.dov.vlaanderen.be/data/boring/2016... POINT (3.5512 50.8443)
86
-
87
73
88
74
Turning the result into a GeoPandas GeoDataFrame
89
75
pydov result dataframes which include a geometry column can easily be transformed from a normal Pandas DataFrame into a GeoPandas GeoDataFrame for further (geo) analysis, exporting or use in a new query using a :class:`pydov.util.location.GeopandasFilter`::
0 commit comments