We will need to support vector tiled data for #3152 anyway, but there are other vector sources (e.g. QA layers) that would be great to bring into iD.
We will need to support vector tiled data for #3152 anyway, but there are other vector sources (e.g. QA layers) that would be great to bring into iD.
There's lots of types of vector layers, what are we looking at supporting?
There's lots of types of vector layers, what are we looking at supporting?
Not sure yet. It might be worth having something like (or built into) editor-layer-index but for vector layers that are useful for editing. This ticket is just to kick around ideas, and also to track that we need something like vector-tile-js.
CC @kriscarle for visibility - I proposed this as a GSoC project, and would be great to get this support into iD sometime soon.
Just cross linking: https://www.openstreetmap.org/user/Princi%20Vershwal/diary/43802
The first step towards supporting vector tiled data is that a user can add a URL and have the vector tiles show up on the screen. It will look something like this :

For this, I have added another layer 'mvt'. Currently, it will support .pbf(Protocolbuffer Binary Format) and .mvt(Mapbox Vector Tiles) format. These files contain data in Protocolbuffer binary format which is converted to geojson using mapbox's vector-tile-js and this data is passed directly to the D3 draw functions to show up the tiles on the screen.
All the code related to this will be here.
For some details: https://www.openstreetmap.org/user/Princi%20Vershwal/diary/44151
This happened 馃帀
I have tried the first step towards supporting vector tiled data is that a user can add a URL and have the vector tiles show up on the screen. It worked and it displayed as :

but the problem am facing is it is not loading on specific lat and long where it has to be. can you help me to fix this problem
but the problem am facing is it is not loading on specific lat and long where it has to be.
@sahithiduddukuri Hmm I'm guessing that your data does not match the expected projection. Make sure it's in WGS84.