Skip to content

Add crs on top-level object #161

Description

@sebakerckhof

While the obsolete geojson spec specifies that a crs property can be on each object, most servers (geoserver/mapserver) specify a crs property only on the root object of the geojson output.
This makes sense since the crs in the request should be applied to all features.
Hence, tools like openlayers only look at this top-level crs to read the geometry projection of the geojson and not the individual features.

Would it therefore be possible for pg_featureserv to do the same?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions