Giter Club home page Giter Club logo

Comments (5)

systemed avatar systemed commented on September 12, 2024 1

No problem at all. vt2geojson is a huge help for debugging, particularly if you use it in conjunction with tilemaker-server which is pretty barebones and should guarantee there's no caching getting in the way.

from tilemaker.

systemed avatar systemed commented on September 12, 2024

Could you paste the line you've added to your config JSON to include this file?

from tilemaker.

rebrancher avatar rebrancher commented on September 12, 2024

Could you paste the line you've added to your config JSON to include this file?

Sure:

"NJT-NEC": { "minzoom": 11, "maxzoom": 14, "source": "geoJson/NJT-NEC.geojson", "source_columns": ["name"]},

from tilemaker.

systemed avatar systemed commented on September 12, 2024

(deleted my previous erroneous comment)

If I create a tileset of New Jersey with the New Brunswick station geojson, and with the above line added, I can run vt2geojson successfully and see the feature:

galibier:~ richard$ vt2geojson http://peyresourde.local:8080/14/4803/6173.pbf
{
  "type": "FeatureCollection",
  "features": [
// ...lines skipped...
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -74.44628834724426,
              40.49658245672458
            ],
            [
              -74.44605231285095,
              40.496810899558795
            ],
            [
              -74.44588601589203,
              40.49671299558224
            ],
            [
              -74.44612741470337,
              40.49648455241464
            ],
            [
              -74.44628834724426,
              40.49658245672458
            ]
          ]
        ]
      },
      "properties": {
        "name": "NJT-NEC-NB",
        "vt_layer": "NJT-NEC"
      }
    },

Same works at all zoom levels:

vt2geojson http://peyresourde.local:8080/11/600/771.pbf
vt2geojson http://peyresourde.local:8080/12/1200/1543.pbf
vt2geojson http://peyresourde.local:8080/13/2401/3086.pbf
vt2geojson http://peyresourde.local:8080/14/4803/6173.pbf

Does that not work for you?

from tilemaker.

rebrancher avatar rebrancher commented on September 12, 2024

I was unaware of vt2geojson previously, I will use that from now on.

I was relying on the browser tileserver-gl schema to show me the added information, but I believe there was a caching issue on my end. Sometimes if I open in a new browser, or wait long enough (around 30 minutes), I see the updated information.

I wonder if there is a way to slightly modify the updated files so that servers can tell there is new information. But that may be out of the scope of tilemaker.

Thanks for looking into this.

from tilemaker.

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.