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

Table as a source produces 404 status on tiles on 0.14.2 when it was working on 0.13.0 #1451

Open
vfosnar opened this issue Aug 2, 2024 · 3 comments

Comments

@vfosnar
Copy link

vfosnar commented Aug 2, 2024

keep_alive: 75
listen_addresses: '0.0.0.0:80'
base_path: /tiles
worker_processes: 8
cache_size_mb: 512
preferred_encoding: gzip
web_ui: enable-for-all
postgres:
  connection_string: '...'
  default_srid: 4326
  pool_size: 20
  auto_bounds: skip
  tables:
    transportation_1:
      schema: public
      table: transportation_1
      srid: 3857
      geometry_column: geom
      id_column: ~
      minzoom: 0
      maxzoom: 19
      extent: 4096
      buffer: 64
      clip_geom: true
      geometry_type: GEOMETRY
      properties:
        type: string

/transportation_1

{
  "tilejson": "3.0.0",
  "tiles": [
    "http://localhost:8081/transportation_1/{z}/{x}/{y}"
  ],
  "vector_layers": [
    {
      "id": "transportation_1",
      "fields": {
        "tags": "json",
        "type": "string"
      }
    }
  ],
  "description": "public.transportation_1.geom",
  "maxzoom": 19,
  "minzoom": 0,
  "name": "transportation_1"
}

/transportation_1/5/16/10

status code 404

@vfosnar vfosnar changed the title Example config with table as a source produces 404 status on tiles on 0.14.2 when it was working on 0.13.0 Table as a source produces 404 status on tiles on 0.14.2 when it was working on 0.13.0 Aug 2, 2024
@CptHolzschnauz
Copy link

listen_addresses: '0.0.0.0:80' / "http://localhost:**8081**/transportation_1/{z}/{x}/{y}"
80 / 8081 ?

@vfosnar
Copy link
Author

vfosnar commented Aug 8, 2024

ye thats because I run it in docker

@lingcoder
Copy link

Same problem, I can't request vector data at all, always 404.

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