Comments (7)
Although I like the idea of writing yaml instead of json, I don't think it is a particularly great idea to maintain two different systems.
from imposm3.
I don't know go details, but in general yaml can map to json like structure, so it should only be a matter of having two parsers that ends up to the same structure, no?
from imposm3.
It is indeed very easy to map yaml and json onto a struct in Go (yaml would need an additional dependency, but that's a rather minor problem). I just think that it might be a case of unnecessary over-complication for a tool that is supposed to do one thing right.
from imposm3.
ok ok, let's count my {
and }
so ;)
(Closing as there is no call for action, but debate is still possible.)
from imposm3.
Imposm 3 uses JSON because it is supported by Go's stdlib and was easy to integrate. JSON itself is horrible for a configuration format, since it doesn't support comments. I won't mind switching to YAML.
All valid JSON is also valid YAML, so a switch to YAML with the same mapping structure will still read "old" imposm mappings. Question is: does go-yaml support the same mapping?
from imposm3.
Hello,
I'm working on a conversion of the OSM CartoCSS style (with YAML). But I've some problems, maybe it's related to import error? Look at the image please.
Info: Hannover / Bemerode (Germany)
A road should be a LINESTRING and not an area so maybe there is a problem regarding the geometry of many roads or with IMPOSM3?
from imposm3.
@tds4u I think you should open a new issue, because I don't see that your post is related to this thread.
from imposm3.
Related Issues (20)
- Country border The Netherlands not loaded HOT 3
- Coordinates in Imposm dataset does not match those in original data HOT 5
- support for optional jsonb_tags instead of hstore HOT 2
- support for optional jsonb_tags instead of hstore
- support for optional jsonb_tags instead of hstore
- How to append data to PostgreSQL?
- Adding specific `AND` filters on tags HOT 1
- Writting osm data to postgresql sometimes get error HOT 1
- Question - adding static data
- Error while reading osm.pbf to cache in ubuntu 20.04 in WSL HOT 1
- Undesired behaviour when SQL error is experienced updating generalized tables HOT 1
- Error message when importing diff HOT 3
- hstore_tags include by mask HOT 2
- Does this module support cross compiling?
- Bug: PG 15 - pq: current transaction is aborted, commands ignored until end of transaction block HOT 12
- other_tags in JSON?
- Cannot generate expire tiles list when using undocumented option IMPOSM3_SINGLE_DIFF
- Generalized relation_member tables are loosing records during update
- Can't install latest revision: setMaxFileSize redeclared in this block HOT 2
- Missing and empty polygons after import (related to building and parts) HOT 6
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 imposm3.