Skip to content
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

Export change list with single index format #461

Closed
nyurik opened this issue Oct 16, 2015 · 3 comments
Closed

Export change list with single index format #461

nyurik opened this issue Oct 16, 2015 · 3 comments

Comments

@nyurik
Copy link

nyurik commented Oct 16, 2015

Instead of x,y tile coordinates, Kartotherian uses a single index. Please add an ability to export changelist in the index format.

@pnorman
Copy link
Collaborator

pnorman commented Oct 17, 2015

This would mean not combining adjacent tiles into a higher level zoom, right?

How does this differ from other Morton codes, Z-order, and quadkeys? I'm specifically interested in quadkeys, since they're already used for serving maps.

See also

@nyurik
Copy link
Author

nyurik commented Oct 17, 2015

Thanks for the links! I will have to read up on quadtiles/quadkeys, but it seems our indexes are exactly the same as Z-order curve. As for combining, upon further thinking, I don't think its worth the time - its much easier to simply convert (x,y) into a single index, sort by that index, and combine sequential indexes into ranges, thus greatly simplifying tile regeneration. Also, the list should generate just one, high zoom level - because the generator will be able to automatically convert it to the lower zooms as needed.

@joto
Copy link
Collaborator

joto commented Mar 18, 2022

I don't think we will create different index formats, because that's something that can be solved outside osm2pgsql with conversion scripts. Closing here, but if something about this should be considered in future expire fuctionality, consider adding it to #1662 .

@joto joto closed this as completed Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants