geometalab / Vector-Tiles-Reader-QGIS-Plugin

Vector Tiles Reader QGIS-Plugin - QGIS Python plugin which reads Mapbox Vector Tiles from a server, a local MBTiles file or a directory
http://plugins.qgis.org/plugins/vector_tiles_reader/
GNU General Public License v2.0
150 stars 30 forks source link

Add default map styling for Mapzen tile schema #101

Open nvkelso opened 6 years ago

nvkelso commented 6 years ago

Match the existing plugin QGIS map design style to the Mapzen tile schema as different features are in different layers with different property names.

Longer term it'd be nice to support a basemap style like Refill or Bubble Wrap, but it would only be an approximation and that's actually a lot of work that's not necessarily core to this plugin.

Links up with:

mnboos commented 6 years ago

@nvkelso If you didn't already see it, just wanted to inform you, that I'm developing a Mapbox GL JS Style parser, that generates QGIS qml styles from a given mapbox style. Maybe it's easier for you, to create a Mapbox style for Mapzen and generating the QGIS styles.

nvkelso commented 6 years ago

If you also had a Tangram scene file converter than sure, but the Mapzen styles aren’t written in MapboxGL so this wouldn’t help :/

On Nov 17, 2017, at 07:02, Martin Boos notifications@github.com wrote:

@nvkelso If you didn't already see it, just wanted to inform you, that I'm developing a Mapbox GL JS Style parser, that generates QGIS qml styles from a given mapbox style. Maybe it's easier for you, to create a Mapbox style for Mapzen and generating the QGIS styles.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

mnboos commented 6 years ago

That was my assumption. But creating a Mapbox Style is probably faster than creating the equivalent qgis styles.

nvkelso commented 6 years ago

I'm pretty handy in QGIS ;)

On Fri, Nov 17, 2017 at 8:25 AM, Martin Boos notifications@github.com wrote:

That was my assumption. But creating a Mapbox Style is probably faster than creating the equivalent qgis styles.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin/issues/101#issuecomment-345291016, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0EO0N1Jt9aaHY3h5l7Bt5jAjbanCrRks5s3bNxgaJpZM4QDVF9 .

sfkeller commented 6 years ago

@nvkelso / all: First of all thanks for your engagement! I'm thrilled by Vector Tiles (VT) being leading-edge cartographic web technology, and I'm excited how far @mnboos already pushed the limits making VT available in QGIS, which means VTs are available offline in a desktop GIS. I think you heard i.e. about the price PrixCarto which OpenMapTiles.org recently won, which is mainly based on the theses of @lukasmartinelli and @manuelroth.

Speaking of students, I assume you know that this issue is part of an ongoing thesis I'm advising by @mnboos, and there we have two milestones: Next one (milestones 1 due December 1, 2017) is about completing to integrate styles. The last milestone 3 is currently set to December 18, 2017, which is about when this project finishes. 2018 the VT Reader plugin will be transferred to my Geometa Lab - which means much less activity for new features.

@nvkelso: Out of curiosity I like to ask you this:

  1. Can you provide map styling for Mapzen VT before milestone 3? (this probably has some influence e.g. to the "Add Vector Tiles Layer" dialog which will offer a "Related Style" option).

  2. Am I correct that you plan to deliver static QML files for Mapzen's basemap styles Refill and/or Bubble Wrap? In any case: Do you need more support by us, like a working branch to implement and test?

  3. Referring to #90 You know @mnboos is currently implementing a generator which reads MB GL JS style files and maps them to QML files. Do you think this would be possible for Mapzen's Tangram YAMLs too (any tools - even in C++?)?

mnboos commented 6 years ago

I took a quick look at the Tangram style and from what I saw, it should not be a problem to adapt the converter to also support Tangram styles.

sfkeller commented 6 years ago

We are close to release another beta version of the QGIS plugin which shows nice VT basemaps e.g. from OpenMapTiles. It reads MB GL JS style (given an extended Vector Layer Connection in the plugin which refers to a style file) and convert's it on-the-fly to QGIS QML XML files. This is the converter which @mnboos is referring to https://github.com/mnboos/mapbox-gl-style-to-qgis .

@nvkelso : Any update on this? It would be awesome if we could support also Tangram style (which reminds me BTW to Gangnam style :-))

nvkelso commented 6 years ago

I’m in the midst of moving. Maybe when I get some downtime/Monday.

On Nov 26, 2017, at 05:10, Stefan notifications@github.com wrote:

We are close to release another beta version of the QGIS plugin which shows nice VT basemaps e.g. from OpenMapTiles. It reads MB GL JS style (given an extended Vector Layer Connection in the plugin which refers to a style file) and convert's it on-the-fly to QGIS QML XML files. This is the converter which @mnboos is referring to https://github.com/mnboos/mapbox-gl-style-to-qgis .

@nvkelso : Any update on this? It would be awesome if we could support also Tangram style (which reminds me BTW to Gangnam style :-))

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

sfkeller commented 6 years ago

@nvkelso Seems we have to remove the predefined Mapzen connection from the QGIS plugin for those sad reasons: See #78 and #90.

Do you still see activities or solutions to get basemap styles which fit to Mapzen vector tiles (e.g. adapted MB GL Styles or otherwise)?