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

Enlever l'option -nlt PROMOTE_TO_MULTI #6

Open
vfabry opened this issue Feb 13, 2024 · 4 comments
Open

Enlever l'option -nlt PROMOTE_TO_MULTI #6

vfabry opened this issue Feb 13, 2024 · 4 comments

Comments

@vfabry
Copy link

vfabry commented Feb 13, 2024

Est-ce que ce serait possible d'enlever l'option -nlt PROMOTE_TO_MULTI ici :

vrt-bot/vrt.sh

Line 40 in 49b241e

PG:"active_schema=${ACTIVESCHEMA}" "${vrt}" -lco SCHEMA=${ACTIVESCHEMA} -lco OVERWRITE=yes -lco GEOMETRY_NAME=geometry -nlt PROMOTE_TO_MULTI -lco DESCRIPTION="import par ${JOB_NAME}/${BUILD_NUMBER} le ${DATE} - ${SOURCEDIR}/${vrt}"
Ça pose des problèmes quand on veut ouvrir la table générée par vrt-bot dans qgis.

Vincent (géo2france)

@fvanderbiest
Copy link
Member

"PROMOTE_TO_MULTI can be used to automatically promote layers that mix polygon or multipolygons to multipolygons, and layers that mix linestrings or multilinestrings to multilinestrings. Can be useful when converting shapefiles to PostGIS and other target drivers that implement strict checks for geometry types"
https://gdal.org/programs/ogr2ogr.html

Quels sont les problèmes rencontrés ?

@vfabry
Copy link
Author

vfabry commented Apr 21, 2024

ça pose des problèmes quand on ajoute la couche générée de cette façon dans qgis. On a fait des tests sans ce paramètre, ça fonctionne bien.

@fvanderbiest
Copy link
Member

Je te laisse faire un ticket JIRA ? Merci :-)

@edevosc2c
Copy link
Member

edevosc2c commented May 15, 2024

Est-ce que ça ne va pas casser le workflow des autres clients (qui utiliserait potentiellement cette fonctionnalité) ?

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