Interrogation wfs de RPG.2012:rpg_2012
Bonjour à tous,
J'utilise la boite à outils gdal pour extraire une zone d'une couche à partir du serveur wfs.
J'ai une erreur pour la couche rpg_2012
Citation:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="2.0.0"
xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://wxs.ign.fr/geoportail/schemas/ows/1.1.0/owsAll.xsd"
xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.RuntimeException: Failed to get property: {http://www.opengis.net/wfs/2.0}boundedBy
Failed to get property: {http://www.opengis.net/wfs/2.0}boundedBy
java.io.IOException
null
Cannot do natural order without a primary key</ows:ExceptionText>
</ows:Exception>
Je passe la commande suivante :
Code:
1 2
|
ogr2ogr.exe -spat 343500 6783500 350000 6789500 -f "GeoJSON" -spat_srs "EPSG:2154" -t_srs "EPSG:2154" "RPG.2012_rpg_2012.json" "wfs:http://wxs.ign.fr/xxxxxxxx/geoportail/wfs?service=WFS" "RPG.2012:rpg_2012" |