Id: Vector data

Created on 11 Jan 2017  路  10Comments  路  Source: openstreetmap/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.

new-feature

All 10 comments

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.

4164 provides a starting point for bringing in vector QA layers from ArcGIS-based services, if that is of interest. Not vector tiles, but along the same lines and I think the implementation (in the Map Data expando-tab) could be similar. #3452 also mentions this and might be one way that #4164 could be helpful to start (read-only QA layers from ArcGIS sources).

CC @kriscarle for visibility - I proposed this as a GSoC project, and would be great to get this support into iD sometime soon.

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 :

screen_shot_2018-05-23_at_6 34 08_pm

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.

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 :
Screenshot from 2020-01-09 11-16-06

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jidanni picture jidanni  路  19Comments

ghost picture ghost  路  20Comments

bhousel picture bhousel  路  27Comments

pnorman picture pnorman  路  22Comments

skylerbunny picture skylerbunny  路  22Comments