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

Ajouter un schéma avec des vues répondant aux besoins de minalac #4

Open
mborne opened this issue Jun 10, 2024 · 0 comments
Open

Comments

@mborne
Copy link
Contributor

mborne commented Jun 10, 2024

Objectif

Éviter le déploiement d'overpass pour les besoins de minecraft à la carte.

POC

Sur ce principe, une exposition avec un outil tel pg_featureserv est à priori possible :

CREATE SCHEMA IF NOT EXISTS feature_views;
CREATE VIEW feature_views.building AS 
  SELECT 
    osm_id,
    building,
    name,
    tags->'building:levels' as num_levels,
    way as geom
FROM planet_osm_polygon WHERE building IS NOT NULL AND building != 'no'
@mborne mborne changed the title Ajouter un schéma avec des vues répondant aux besoins de minecraft à la carte Ajouter un schéma avec des vues répondant aux besoins de minalac Jun 10, 2024
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

1 participant