Closed pcace closed 1 year ago
It seems that the GML file is truncated and it is missing some data from the beginning.
Didn't you notice the hint?
Questions should go to the gdal-dev mailing list at https://lists.osgeo.org/mailman/listinfo/gdal-dev or other support forums. GitHub issues are for bug reports and suggestions for new features.
ok, i will try it there. thanks!
Hi there, what am i doing wrong when ogr2ogr does not want to convert this gml file to json:
the error i am getting is this:
{"error":true,"message":"Command failed: ogr2ogr -f GeoJSON -skipfailures /vsistdout/ /tmp/4a3c0b5107b287e8057266755bf3e24ctmp.gml\nFAILURE:\nUnable to open datasource
/tmp/4a3c0b5107b287e8057266755bf3e24ctmp.gml' with the following drivers.\n ->FITS'\n ->
PCIDSK'\n ->netCDF'\n ->
PDS4'\n ->VICAR'\n ->
JP2OpenJPEG'\n ->PDF'\n ->
MBTiles'\n ->BAG'\n ->
EEDA'\n ->OGCAPI'\n ->
ESRI Shapefile'\n ->MapInfo File'\n ->
UK .NTF'\n ->LVBAG'\n ->
OGR_SDTS'\n ->S57'\n ->
DGN'\n ->OGR_VRT'\n ->
Memory'\n ->CSV'\n ->
NAS'\n ->GML'\n ->
GPX'\n ->LIBKML'\n ->
KML'\n ->GeoJSON'\n ->
GeoJSONSeq'\n ->ESRIJSON'\n ->
TopoJSON'\n ->Interlis 1'\n ->
Interlis 2'\n ->OGR_GMT'\n ->
GPKG'\n ->SQLite'\n ->
ODBC'\n ->WAsP'\n ->
PGeo'\n ->MSSQLSpatial'\n ->
PostgreSQL'\n ->MySQL'\n ->
OpenFileGDB'\n ->DXF'\n ->
CAD'\n ->FlatGeobuf'\n ->
Geoconcept'\n ->GeoRSS'\n ->
VFK'\n ->PGDUMP'\n ->
OSM'\n ->GPSBabel'\n ->
OGR_PDS'\n ->WFS'\n ->
OAPIF'\n ->EDIGEO'\n ->
SVG'\n ->Idrisi'\n ->
XLS'\n ->ODS'\n ->
XLSX'\n ->Elasticsearch'\n ->
Carto'\n ->AmigoCloud'\n ->
SXF'\n ->Selafin'\n ->
JML'\n ->PLSCENES'\n ->
CSW'\n ->VDV'\n ->
GMLAS'\n ->MVT'\n ->
NGW'\n ->MapML'\n ->
Parquet'\n ->Arrow'\n ->
GTFS'\n ->TIGER'\n ->
AVCBin'\n ->AVCE00'\n ->
HTTP'\n"}`but why? is there anything strange with the gml file?
Thanks a lot for hints what is going on here and how i would solve this!
Cheers