Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for openmaptiles #20

Closed
nyurik opened this issue Sep 5, 2019 · 5 comments
Closed

Support for openmaptiles #20

nyurik opened this issue Sep 5, 2019 · 5 comments
Assignees

Comments

@nyurik
Copy link
Member

nyurik commented Sep 5, 2019

The openmaptiles project also supports postgis-based tile generation - it can generate giant SQL statement (as either prepared statement, query, or function creation) that produces MVT from z,x,y. Would it be possible to add support for the openmaptiles layer format in martin as well? See the postgis server (simple test server for testing purposes)

@stepankuzmin stepankuzmin self-assigned this Sep 6, 2019
@stepankuzmin
Copy link
Collaborator

stepankuzmin commented Sep 6, 2019

Hi @nyurik! That's a great idea! Unfortunately, I don't have enough bandwidth for implementing this now. But I'll keep it in mind and maybe implement this in the future releases.

@littlebtc
Copy link

After trying OpenMapTiles, I found that the docker-compose file from https://github.com/openmaptiles/openmaptiles/ still using old PostGIS with old ST_AsMVT syntax. A major PostGIS update for OpenMapTiles is needed in order to run it :(

@nyurik
Copy link
Member Author

nyurik commented Oct 25, 2019

@littlebtc most of the tools have already been updated to the latest. https://github.com/openmaptiles/openmaptiles-tools has been receiving tons of changes in the last weeks (just today I made a number of changes to postserve -- a simple debug-only version of martin that uses OpenMapTile layer defenition)

I have been doing some of it as part of https://github.com/sophox/openmaptiles too, and very soon I plan to have a working docker image with PostgreSQL 12 + PostGIS 3.0 (they are massively faster for MVTs, and were released a week ago). My suggestion - for testing, simply swap the order of the parameters to ST_AsMVT -- and your code will work right away with the existing quick start. I will have the quickstart ready within the next few days to run on the latest platform.

Thanks!

@littlebtc
Copy link

@nyurik Great! I will give it a try if I have time.

@jike212
Copy link

jike212 commented Jan 23, 2020

Any updates on this? I'd love to see support for OpenMapTiles schema in Martin.

@maplibre maplibre locked and limited conversation to collaborators Sep 15, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

4 participants