Class FeaturesController

  • All Implemented Interfaces:
    Constants

    @Validated
    @RequestMapping(path="${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/features",
                    produces="application/json")
    public class FeaturesController
    extends Object
    implements Constants
    • Method Detail

      • getFeatures

        @Transactional
        @RequestMapping(method={GET,POST})
        public org.springframework.http.ResponseEntity<Serializable> getFeatures​(@ModelAttribute
                                                                                 AppTreeLayerNode appTreeLayerNode,
                                                                                 @ModelAttribute
                                                                                 GeoService service,
                                                                                 @ModelAttribute
                                                                                 GeoServiceLayer layer,
                                                                                 @ModelAttribute
                                                                                 Application application,
                                                                                 @RequestParam(required=false)
                                                                                 Double x,
                                                                                 @RequestParam(required=false)
                                                                                 Double y,
                                                                                 @RequestParam(defaultValue="4")
                                                                                 Double distance,
                                                                                 @RequestParam(required=false)
                                                                                 String __fid,
                                                                                 @RequestParam(defaultValue="false")
                                                                                 Boolean simplify,
                                                                                 @RequestParam(required=false)
                                                                                 String filter,
                                                                                 @RequestParam(required=false)
                                                                                 Integer page,
                                                                                 @RequestParam(required=false)
                                                                                 String sortBy,
                                                                                 @RequestParam(required=false,defaultValue="asc")
                                                                                 String sortOrder,
                                                                                 @RequestParam(defaultValue="false")
                                                                                 boolean onlyGeometries,
                                                                                 @RequestParam(defaultValue="false")
                                                                                 boolean geometryInAttributes)