GeoServer

Filter for geometry featuretypes

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1.2, 2.2.x
  • Component/s: REST
  • Labels:
    None
  • Number of attachments :
    1

Description

It's now only possible to get published, unpublished or all featuretypes from a datastore.
It would be nice to only get the featuretypes with a geometry property so the list won't be that long.

Activity

Hide
Lucas Heezen added a comment -

Create a REST request for featuretype with the next request parameter: ?list=available_geometry_only (required to add datastore schema name).

Show
Lucas Heezen added a comment - Create a REST request for featuretype with the next request parameter: ?list=available_geometry_only (required to add datastore schema name).
Hide
Andrea Aime added a comment -

Assigning to Justin, he's the rest config maintainer

Show
Andrea Aime added a comment - Assigning to Justin, he's the rest config maintainer
Hide
Justin Deoliveira added a comment -

Thanks for the patch Lucas. I modified it slightly to simplify it by merging it with the existing AvailableFeatureType class. I also documented the parameter and added a test case. Thanks again for the contribution!

Show
Justin Deoliveira added a comment - Thanks for the patch Lucas. I modified it slightly to simplify it by merging it with the existing AvailableFeatureType class. I also documented the parameter and added a test case. Thanks again for the contribution!
Hide
Justin Deoliveira added a comment -

Oh, and also named the param available_with_geom

Show
Justin Deoliveira added a comment - Oh, and also named the param available_with_geom
Hide
Andrea Aime added a comment -

Mass transition all resolved issue that did not see any further comment in the last month to closed status

Show
Andrea Aime added a comment - Mass transition all resolved issue that did not see any further comment in the last month to closed status

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: