Opened 6 months ago
Last modified 2 months ago
#5739 new defect
ST_AsGeoJSON docs should have an example of CRS / bbox
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.6.0 |
Component: | documentation | Version: | 3.4.x |
Keywords: | Cc: |
Description (last modified by )
Mentioned in irc/matrix, and sounds like a good idea to me
Hi, I'm trying to understand the GeoJSON implementation in Postgis. Specifically, the [documentation](https://postgis.net/docs/ST_AsGeoJSON.html) mentions that the options
parameter allows you to include bbox and CRS in the output. However, the [spec](https://www.rfc-editor.org/rfc/rfc7946#section-3) only makes mention of the bbox
field. This
12:54 PM
leaves me somewhat unclear on the field name used for CRS information (based on documentation alone), especially since the postgis documentation page does not include any examples where either bbox or crs is included. Do anyone know how these fields are encoded in the GeoJSON produced by ST_AsGeoJson
?
Change History (2)
comment:1 by , 6 months ago
Description: | modified (diff) |
---|
comment:2 by , 2 months ago
Milestone: | PostGIS 3.5.0 → PostGIS 3.6.0 |
---|