Comments (1)
Backing up: where would antimeridian-crossing features come from? I'm talking myself out of doing anything about this now.
Review a few possible sources.
mapbox.com
If you start at a line at 175 deg W and extend it 10 degrees westward, mapbox.com says 185 deg W. It doesn't cut at the antimeridian. Mapbox.com doesn't produce antimeridian-crossing features as such. Nor can it creat pole-crossers.
Mapbox.com will import lines that extend beyond 180dW and 180dE and does what you expect: draws them with no regard for the antimeridian.
There's definitely a search issue raised: given a bbox like [-190, 5, -185, 10](a 5x5 box W of the antimeridian) should we expect to find the point [187.5, 7.5]? Should carboard normalize input features or
do more splitting of its queries across the antimeridian?
geojson.io
Same.
uploaded data
Carefully prepared global GIS data using lng,lat WGS84 will be split at the antimeridian. NASA's Landsat footprints, for example, are split into multipolygons at 180dW. Their bounding tile should be the z0 tile and they should be searchable, if at an extra cost.
hand editing
There's nothing stopping anyone from typing {"coordinates": [[-175, 10], [175, 10]]}
or {"coordinates": [[175, 10], [-175, 10]]}
and uploading these. There's also no established way of knowing what the uploader's intent is: do they mean the antimerdian-crossing line or not?
Currently, mapbox.com calls these invalid and throws an error. Good for now, because it doesn't introduce problematic features.
from cardboard.
Related Issues (20)
- Batch get function
- Revive method to list IDs
- Allow concurrent updates to properties hash
- Update to documentation.js 3.0.0 HOT 1
- Update geobuf
- Upgrade to [email protected]
- Store number of edits in the metadata HOT 2
- metadata.calculateInfo conditional check failure should be handled
- Retry unprocessed items HOT 2
- Add support for GeometryCollections HOT 2
- Add support for null geometry HOT 4
- cardboard.putSizeCheck HOT 9
- Full featured bounding box options HOT 10
- Better hash indexes HOT 35
- Make sure the docs are right for [email protected]
- Cardboard requires config.mainTable but doesnt require it if config.dyno is set
- cardboard.put is not rejecting features based on their size HOT 4
- cardboard.get returns a list of errors when there is no server
- cardboard.del cannot report if it deleted anything...
- cardboard.del calls the callback function many times HOT 1
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 cardboard.