Comments (6)
Exemple inspecting the mbtiles produces with the default tilemaker options with include_ids.
This "Point" is in fact a way https://www.openstreetmap.org/way/64518593#map=20/47.55544/-3.13397&layers=H
from tilemaker.
The $id
is a dedicated field in the vector tiles, rather than an user-set attribute: see 4.2 in https://github.com/mapbox/vector-tile-spec/tree/master/2.1. There is no dedicated field for an "id type".
If you do want to add it as an attribute, you could certainly do that in process.lua. In node_function
you'd add a line like Attribute("obj_type", "node")
, in way_function
you'd add Attribute("obj_type","way")
and so on.
from tilemaker.
Thanks for your quick answer !
I just tried this https://github.com/laem/gtfs/blob/master/tilemaker/resources/process-openmaptiles.lua#L124 without success yet, but I'm investigating.
from tilemaker.
Mmmh maybe WritePOI needs to be modified as well.
from tilemaker.
Awesome :)
from tilemaker.
Do you think I should open a PR to add this attribute to the default process-openmaptiles.lua ? Else, the PR can be closed. Thanks again !
from tilemaker.
Related Issues (20)
- Planet generation issues on hardware-constrained machine HOT 5
- Tilemaker does not support maritime boundaries HOT 2
- Huge file for simple map. HOT 1
- Roundabouts missing if the first node reference is the same as the last one HOT 2
- Making Tiles With Zoom 15 Removes Place Names HOT 4
- terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
- CI is broken
- Support writing MultiPoint into vector tiles HOT 1
- Ocean and land area is missing HOT 13
- Possible issue with multipoint processing HOT 4
- How to avoid duplicate processing of OSM object
- Cross-Platform Inconsistency in Attribute Handling with Identical Configs on Ubuntu and macOS HOT 6
- mbtiles file bigger than bare folders? HOT 3
- no outcome after run make sudo make install on ubuntu HOT 2
- No housenumber
- Ocean Tiles Incomplete
- Sea area is missing, not a blue color HOT 2
- When will the next version be released?
- Grid Coordinate Lines on Map HOT 2
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 tilemaker.