Skip to content
New issue

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

Adopt GPSBabel's "exclude" quick command-line toggle flag #11407

Open
jidanni opened this issue Dec 1, 2024 · 1 comment
Open

Adopt GPSBabel's "exclude" quick command-line toggle flag #11407

jidanni opened this issue Dec 1, 2024 · 1 comment

Comments

@jidanni
Copy link
Contributor

jidanni commented Dec 1, 2024

Feature description

https://www.gpsbabel.org/htmldoc-1.9.0/filter_polygon.html at the bottom mentions an exclude flag.

That would be nice e.g., allowing one to toggle inclusion/exclusion on

ogrinfo file.gpx track_points -spat 120 24.18577 121 25

without needing to rip up the -spat terms and rewrite them...
See also #10266.

@jratike80
Copy link
Collaborator

Can be done with Spatialite functions by toggling true/false.

ogrinfo gdaltest.track.gpx -dialect sqlite -sql "select * from track_points where st_intersects(geometry, BuildMBR(16.143870,46.418684,16.25,47.10)) is false"

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

No branches or pull requests

2 participants