Comments (5)
What is the vertex count on that geometry?
At Planet I think we forced customers to submit about 400 vertex geometries to prevent to complex of computational geometry demand on intersection tests. Or maybe it was a bandwidth thing? Either way, is there a reason it has to have all the vertices? Maybe some of that work can be pushed onto the client?
from pgstac.
Good question! It is a very complex polygon so ~10K vertices. I think the benefit of allowing for somewhat detailed polygons for larger areas is then you can be very specific on what you capture with the intersects search if your items happen to have relatively small geometries. 10K vertices is more than needed, but the earlier versions of pgstac didn't have this limitation so I thought maybe it wasn't on purpose.
from pgstac.
@zstatmanweil the maintainers probably did it on purpose. probably thinking of high availability for services and not letting computational geometry bog things down.
But I agree with you, that the vertex limit should be someplace else in the service definition, so STAC maintainers who care less about availability and more about detail can have that option.
Say hello to Chips and Caitlin for me!
from pgstac.
@davidraleigh , haha will do! Its such a small geospatial world :)
Well I am happy to close it if the maintainers say it is as desired.
from pgstac.
It looks like if we change the primary key on the search_wheres table to use a hash that we can get rid of this issue. While this is definitely a bug, I would expect that performance with use geometries that large isn't going to be that great in any case!
from pgstac.
Related Issues (20)
- STAC Server responding with SQL Create Error when using /collections/<id>/items with dedicated STAC Reader HOT 3
- Search does not account for items that are in multiple collections HOT 2
- eo:cloud_cover queryable broken HOT 9
- Adding a queryable for time queries HOT 1
- TypeError: 'row_factory' is an invalid keyword argument for this function HOT 3
- remove psycopg2 from the dev dependencies HOT 4
- CRUD API's for Queryables in pypgstac HOT 1
- New pgstac image to remediate CVE-2023-39417 and other CVEs associated with postgres 15.3 and older versions HOT 1
- Connecting pgstac to an external Postgresql HOT 4
- Error in ./scripts/setup HOT 2
- How to have a Collection of Collections? HOT 4
- Dynamic queryables HOT 3
- Deadlock issue arises during STAC items ingestion HOT 4
- Setting up time partitioning after initial data load HOT 1
- Exception with a legitimate SQL query
- Optimizing query performance during ingestion process HOT 3
- Intermittent data ingestion issue HOT 5
- Don't allow Collections without ids to be written
- Removing queryables indices HOT 2
- PgStac no longer works with Azure Flexible Postgres server HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgstac.