Comments (2)
from umap.
the umap full backup is a "collection of FeatureCollection", but this case is not handled by the GeoJSON spec AFAIK, so we "invented" a type: "umap", with a layers: [list of FeatureCollection] key; while trying to version our format, let's try to see if there is a more GeoJSON standard way of storing a list of FeatureCollection
@sgillies hey! :) To you have any advice on this specific point ?
Basically, here is how our "umap" export looks like:
{
"type": "umap",
"properties": {"some map": "metadata"},
"geometry": {
"type": "Point",
"coordinates": ["the", "map", "default", "center"]
},
"layers": [
{
"type": "FeatureCollection",
"_umap_options": {"some layer": "metadata"},
"features": [{
"properties": {"some": "props"},
"geometry": {"some": "geom"}
}]
},
{
"type": "FeatureCollection",
"_umap_options": {"some layer": "metadata"},
"features": [{
"properties": {"some": "props"},
"geometry": {"some": "geom"}
}]
},
]
}
As you see, this mimics a sort of "Collection of collections" type as it could exist in GeoJSON, but it does not AFAIK.
My goal would be to maximise the portability of those data. Eg. someone wants to reimport uMap export in QGis, or the other way around, and retrieve as much as possible of the original structure: data are split into layers, maybe some styling are kept, etc.
Thanks in advance for your input on this :)
from umap.
Related Issues (20)
- Make icon symbol's color customizable
- Support vector tiles
- Uniformize the way we store metadata in the geojson HOT 2
- Add tilesets in Spain
- Question: Did anyone ever see the edit page of a umap turn to HTTP 403 Forbidden Error? HOT 2
- uMap - Edit Access Required / Can't Edit My uMap HOT 2
- Multiple properties on a marker
- Zoom control appears twice when map is embedded or shared (customised view) HOT 2
- Enable compatibility with SimpleSpec styling schema for GEOJSON/KML imported layers ?
- Replace existing layers with identical filenames automatically on drag and drop HOT 2
- URL for photo in Table
- Open iD or JSOM editor via right click menu
- Question: Can I use an Overpass query as layer input instead of an import? HOT 2
- OSM Piano/Forte 403 HOT 1
- Impossible to pass from one account to another (since the new update) HOT 1
- direct link to node in a uMap which contain identical node name HOT 2
- "Open Current Feature on Load" toggle does not properly change from ON to OFF
- Question: geojson Data Import VS. Dynamic Remote Data HOT 5
- Consider getting rid of `DictField`
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 umap.