We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--geometry
-g
Applies geometric transformations to geometries retrieved by a query.
Proposed format: -g=<command>+
-g=<command>+
Where command can be one or more of the following:
buffer(m): Buffers each geometry by a given distance (in meters)
buffer(m)
simplify(m): Generalizes each geometry with a given tolerance
simplify(m)
densify(m): Adds points to each geometry to ensure points are no more than m meters apart
densify(m)
m
rotate(deg): Rotates each geometry
rotate(deg)
scale(factor): Scales each geometry
scale(factor)
translate(xd,yd): Moves each geometry by the given distance in meters.
translate(xd,yd)
project(srid): Projects each geometry
project(srid)
validate: Checks geometries for validity, turns them into empty geometries if invalid.
validate
fix: Checks geometries for validity and attempts to fix invalid ones (e.g. node self-intersecting polygons)
fix
flip / mirror ?
flip
mirror
command to set winding order
Open issues
--transform
t
-t
-k
query
--tags
union
intersection
difference
The text was updated successfully, but these errors were encountered:
--center
Formatter
shape
No branches or pull requests
Applies geometric transformations to geometries retrieved by a query.
Proposed format:
-g=<command>+
Where command can be one or more of the following:
buffer(m)
: Buffers each geometry by a given distance (in meters)simplify(m)
: Generalizes each geometry with a given tolerancedensify(m)
: Adds points to each geometry to ensure points are no more thanm
meters apartrotate(deg)
: Rotates each geometryscale(factor)
: Scales each geometrytranslate(xd,yd)
: Moves each geometry by the given distance in meters.project(srid)
: Projects each geometryvalidate
: Checks geometries for validity, turns them into empty geometries if invalid.fix
: Checks geometries for validity and attempts to fix invalid ones (e.g. node self-intersecting polygons)flip
/mirror
?command to set winding order
Open issues
--transform
(-t
) instead to apply non-geometric transformations (e.g. change tags?)-t
to-k
as proposed byquery
: Changes to--tags
option #73.union
,intersection
,difference
?The text was updated successfully, but these errors were encountered: