Giter Club home page Giter Club logo

Comments (10)

geohacker avatar geohacker commented on September 24, 2024 1

The other way would be write everything into a dataset or a geojson and then roll and update the tileset periodically. Not a fan of this idea :-/

from osm-navigation-map.

geohacker avatar geohacker commented on September 24, 2024

@planemad I'm guessing that right now we are overwriting the tileset? Can't seem to find a way to do incremental changes to a tileset. Do you think replacing the tileset with a dataset is a good idea?

from osm-navigation-map.

planemad avatar planemad commented on September 24, 2024

@geohacker yes, shaktiman replaces the tileset with a fresh dump of restrictions from overpass, this takes care of updating all changes and removing any deleted restrictions. This seems simpler than doing a feature level add/update/delete for every restriction change via a dataset.

from osm-navigation-map.

geohacker avatar geohacker commented on September 24, 2024

@planemad would it be easy to switch the style to pull features from a dataset endpoint? If yes, then we can almost instantly update the changes happening in OSM.

from osm-navigation-map.

planemad avatar planemad commented on September 24, 2024

@geohacker just to be clear, we're talking about keeping 500,000+ restrictions on OSM synced to a dataset?

Using a tileset generated from this dataset is rather trivial. The hard part is keeping this dataset updated.

from osm-navigation-map.

geohacker avatar geohacker commented on September 24, 2024

@planemad oh that volume adds interesting perspectives :) ok, umm let me think.

from osm-navigation-map.

geohacker avatar geohacker commented on September 24, 2024

@planemad ok, putting things into a dataset as we add turn restrictions into OSM is not a huge task. We can listen to OSM changes and update the dataset. And also extract whatever is there right now and add it to the dataset, using Overpass may be.

My question for you is if it's okay to use this dataset to style on the front-end than using a tileset?

from osm-navigation-map.

planemad avatar planemad commented on September 24, 2024

@geohacker there are only two ways to query datasete features:

  • By feature id
  • All the features

Using dataset directly would involve querying all the 500,000 features into the browser, no? Isn't a tileset the way to go?

from osm-navigation-map.

geohacker avatar geohacker commented on September 24, 2024

Oh right, dang. Wonder if we can trigger a dataset --> tileset regularly then.

from osm-navigation-map.

planemad avatar planemad commented on September 24, 2024

No longer relevant. TRs are now queried live using overpass.

from osm-navigation-map.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.