Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Paul Norman
    @pnorman
    I wonder what the impact of all those updates is for table bloat, clustering, and overall performance
    Nathaniel V. KELSO
    @nvkelso
    I eagerly await your December report ;)
    Paul Norman
    @pnorman
    Where's the best place file issues to request some data from production?
    Does anyone have a quick way to go from an OSM object to a z16 tile location? I know several slow ways to do it, but nothing fast.
    Paul Norman
    @pnorman
    Nevermind - I ended up writing a shell script with curl, osmium, cut, and some awk.
    Paul Norman
    @pnorman
    @zerebubuth The order of CONTRIBUTING has the test running and passing in step 5 before the migration is written. Is this right?
    Paul Norman
    @pnorman
    mz_calculate_min_zoom_pois_ isn't returning what I'm expecting. I think I need to step through it :/
    Matt Amos
    @zerebubuth
    yeah. we have two ways of calculating min zooms; one is SQL functions pushed to the database during the migration step, the other is Python functions generated on-the-fly.
    for the tests (integration-test/__init__.py), we use the Python functions, which are generated every time the tests run. those tests don't touch the database at all, so it's possible to alter the YAML and re-run the tests to make sure that they do the thing we expect.
    we also use the Python functions for min zoom with the new "RAWR tiles" stuff that's slowly emerging from a long dev process.
    but! we use the SQL ones in prod at the moment, and that's what the instructions will set up.
    if you want to see what the SQL function code is (and fair warning; it's auto-generated, so pretty horrible to read), just run python vectordatasource/meta/sql.py
    Matt Amos
    @zerebubuth
    that was a round-about way of saying that it's fine to write the migration after the test - or the other way around, if you prefer. ultimately, they both have to work ;-)
    Paul Norman
    @pnorman
    I had a look at the function in-DB with \sf and it's got a code path for the new POIs I added, but when I manually call it on a specific row that should match, it returns null. So I have to have a closer look at what's happening in the morning.
    Simon Ducroquet
    @ducroquet
    Hi everyone. I've being struggling with some sort of glitch on rendering a specific shape. It's a local ocean TopoJSON (I've also tried it as a GeoJSON). It was generated in mapshaper.org from the Ocean shapefile downloaded from Natural Earth. I'll post a screen capture so you can understand. If anybody has a clue of what is causing it, I'll be very thankful. https://youtu.be/-v_anwm9eUg
    Paul Norman
    @pnorman
    A ha! shops without names were being filtered out
    Nathaniel V. KELSO
    @nvkelso
    yep, that makes sense.
    @ducroquet is that piped thru Tilezen or loaded dynamically via Tangram?
    sometimes clipping to web mercator extents can help
    Simon Ducroquet
    @ducroquet
    It's a local topojson
    oceano:
        type: TopoJSON
        url: topojson/oceano3-50m.json
    So should I reproject it before converting?
    Simon Ducroquet
    @ducroquet
    I tried to clip the geojson to -180,180, -85, 85, but it still didn't worked. So I splited the ocean geometry into 4 parts, from -85 to -40, -40 to 0, 0 to 40 and from 40 to 85. Finally, the problem was solved. Maybe it has something to do with too large features
    Paul Norman
    @pnorman
    I have merge rights, should I merge #1439 and #1449 myself, or have someone else do it?
    Nathaniel V. KELSO
    @nvkelso
    @pnorman once you've gotten the PR reviews yes, you can merge them.
    But I think #1439 still has some work outstanding. The other has been merged. Thanks for your help!
    Paul Norman
    @pnorman
    @nvkelso I think everything was addressed for #1439, I renamed the class
    Nathaniel V. KELSO
    @nvkelso
    Right you are. I've approved it and merged.
    (I was thinking of tilezen/vector-datasource#1447 which is about 1/3rd done)
    We can either take it and 1 or 2 more PRs for that issue, or do everything in that branch / PR.
    Nabelon
    @Nabelon
    How do i request a single lay instead of all?
    Peter Richardson
    @meetar
    @Nabelon I don't know if this still works, but you used to be able to modify the URL to specify a specific layer: https://mapzen.com/documentation/tangram/sources/#layers
    Nathaniel V. KELSO
    @nvkelso
    @Nabelon Mapzen allowed custom layers but currently the long term support endpoint only supports the all layers endpoint. There is an issue tracking the addition of same here: tilezen/tapalcatl-py#10. If you'd like to add that feature we accept PRs.
    Ghost
    @ghost~57372079c43b8c601972e40c
    cyfugr
    @cyfugr
    How can i pre-cache all the vector tiles from zoom level 9-15 ? thank you
    PhĂșc DV
    @phuc2902
    Screenshot from 2020-10-14 13-49-06.png
    Hello everyone, I am a novice and I am trying to install tilezen / vector-datasource. I'm having trouble in this part. Can someone help me to solve this problem. thank you !
    PhĂșc DV
    @phuc2902
    Screenshot from 2020-10-15 14-25-20.png
    @nvkelso Hi Nathaniel V. KELSO, I installed all the steps as instructed but I am stopping step 3. When an error appears I tried to fix it but it failed.
    Robert Marianski
    @rmarianski
    that first bootstrap command generates a makefile and then make -f Makefile-import-data pulls it down locally
    MrSatan
    @MrSatan
    Hello guys . i have problem with importing sql data . Im in this step : ./import-shapefiles.sh | psql -Xq -d osm
    but everyline its printing ERROR: column not found in geometry_columns table . can anyone help me
    cyfugr
    @cyfugr
    Hi, is it possible to return static images with markers from the tileserver?
    Hamish Morrison
    @hamishm
    Hi folks - how frequently do the vector tiles on nextzen refresh? The nextzen site makes reference to a static build from 2017, but they seem a bit newer than that.
    ibgr
    @ibgr:matrix.org
    [m]
    How long do you expect the perform_sql_updates script to run? for a full world build on a machine with 128GB ram and postgres on SSD ?
    elwin-jacellc
    @elwin-jacellc
    We've been getting a lot of 503 service unavailable errors for vector tile requests. Wondering if there's been a change in service availability? We've also tried to download the 2017 static build, but doesn't seem to available on S3 anymore. Thanks for any advice.
    AbigCatGr
    @AbigCatGr

    Hi, i am trying to extend tilequeue to add a rocksdb store but i get an issue about

    Traceback (most recent call last):
      File "/maps/bin/tilequeue", line 11, in <module>
        load_entry_point('tilequeue', 'console_scripts', 'tilequeue')()
      File "/maps/local/lib/python2.7/site-packages/tilequeue/command.py", line 1622, in tilequeue_main
        args.func(cfg, peripherals)
      File "/maps/local/lib/python2.7/site-packages/tilequeue/command.py", line 560, in tilequeue_process
        os.path.dirname(cfg.query_cfg)))
      File "/maps/local/lib/python2.7/site-packages/tilequeue/command.py", line 502, in parse_layer_data
        template_name = layer_config['template']
    KeyError: 'template'

    any ideas ?

    Robert Marianski
    @rmarianski
    apologies, haven't been keeping up with chat here
    that last error looks related to some missing config, i'd suggest putting in a breakpoint there and seeing what layer_config is and seeing what's expected of it