This service could be used to extract vector features from an existing vector map and creates a new map containing only the selected objects.
Operation:
extract_feature - Allows a user to extract vector objects from an existing vector map and creates a new map containing only the selected objects. Database tables can be queried with SQL statements, if a connection is established.
If 'list' and 'where' options are not specified, all features of given type and layer are extracted, categories are not changed in that case.
Request Parameters:
sourceURL
URL of one input vector map
Default format: GML
flags
Flags:
Parameter format: string[,string,...]
Options: d,t
d : Dissolve common boundaries (default is no)
t : Do not copy table (see also 'new' parameter)
type
Type
Parameter format: string[,string,...]
Options: point,line,boundary,centroid,area,face
Default: point,line,boundary,centroid,area,face
layer
Layer number. If -1, all features in all layers of given type are extracted.
Parameter format: integer
Default: 1
new
Enter -1 to keep original category or a desired NEW category value. If new >= 0, table is not copied.
Parameter format: integer
Default: -1
list
Category ranges: e.g. 1,3-8,13
Parameter format: range[,range,...]
where
WHERE conditions of SQL statement without 'where' keyword. (example: income < 1000 and inhab >= 10000)