Tried with the downloaded file:
https://github.com/aixm/donlon/blob/master/EA_EADD_OBS_DS_AREA_2_3_4_FULL_20191205.xml

And the result is:
C:\>ogrinfo GMLAS:c:\Temp\eaddata\EA_EADD_OBS_DS_AREA_2_3_4_FULL_20191205.xml 
--debug on
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_BAG.dll 
using GDALRegister_BAG.
GDAL: Auto register C:\Program 
Files\Gdal_321\bin\gdal\plugins\gdal_ECW_JP2ECW.dll using 
GDALRegister_ECW_JP2ECW.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_FITS.dll 
using GDALRegister_FITS.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_GMT.dll 
using GDALRegister_GMT.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_HDF4.dll 
using GDALRegister_HDF4.
GDAL: Auto register C:\Program 
Files\Gdal_321\bin\gdal\plugins\gdal_HDF4Image.dll using GDALRegister_HDF4Image.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_HDF5.dll 
using GDALRegister_HDF5.
GDAL: Auto register C:\Program 
Files\Gdal_321\bin\gdal\plugins\gdal_HDF5Image.dll using GDALRegister_HDF5Image.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_KEA.dll 
using GDALRegister_KEA.
GDAL: Auto register C:\Program 
Files\Gdal_321\bin\gdal\plugins\gdal_MG4Lidar.dll using GDALRegister_MG4Lidar.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_MrSID.dll 
using GDALRegister_MrSID.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_netCDF.dll 
using GDALRegister_netCDF.
GDAL: Auto register C:\Program Files\Gdal_321\bin\gdal\plugins\gdal_PDF.dll 
using GDALRegister_PDF.
GDAL: Auto register C:\Program 
Files\Gdal_321\bin\gdal\plugins\ogr_AmigoCloud.dll using RegisterOGRAmigoCloud.
GDAL: Auto register C:\Program 
Files\Gdal_321\bin\gdal\plugins-external\ogr_FileGDB.dll using 
RegisterOGRFileGDB.
OGR: XMLPlatformUtils::Initialize()
GMLAS: XSD cache directory: C:\Users\anpaumal\.gdal\gmlas_xsd_cache
ERROR 1: No schema locations found when analyzing data file: XSD open option 
must be provided
OGR: XMLPlatformUtils::Terminate()
FAILURE:
Unable to open datasource 
`GMLAS:c:\Temp\eaddata\EA_EADD_OBS_DS_AREA_2_3_4_FULL_20191205.xml' with the 
following drivers.
  -> BAG
  -> JP2ECW
  -> FITS  ...
...

Från: gdal-dev <[email protected]> För Rahkonen Jukka (MML)
Skickat: den 9 december 2021 10:56
Till: '[email protected]' <[email protected]>
Ämne: Re: [gdal-dev] ogrinfo XML (AIXM)


Klicka bara på länkar och öppna bilagor om du litar på avsändaren och vet att 
innehållet är säkert.
Hi,

Re-sending to the list without old discussion because the mail body grew too 
large and was rejected.

I do not have not much experience about GMLAS but I made a test with this file 
https://github.com/aixm/donlon/blob/master/EA_EADD_OBS_DS_AREA_2_3_4_FULL_20191205.xml<https://url11b.mailanyone.net/v1/?m=1mvG9j-0005WB-4U&i=57e1b682&c=o93b5pDX4vaaGiFe-4fCRTt-Emwy84b-5wbMMklRliBx7zChVW06bSZUCSgtXAXzHzcSm5FK62ZvbAxFqEuAyx_QkIzcYyfmAp8SxJJl5CJQvo5KAqIttqVB_C_QNC9PsfQ-SW1n1YQL9hSfF-4308rIwP1OTpBL6R3gIPw8v71eE09ioGNnDUhlc0G248AcYku_7bmGvHqE-Bym3r52P6k6Np0fegE0yEAnUo_JgkD1IpsB96IXvDpDuZt4JYDOFXuSJG0qa3ZOXEsCIKmByOkbwQQ2PtWH0y1Gr3J1JMfShDYp8U2VoSrWrd--vNy1hz7GH3XeOTD6u47c6KQ8NB1khlulVISG3hyvspOP84A>

and GDAL GMLAS found 1655 layers with "ogrinfo GMLAS:aixtest.xml" without 
editing the file so it seems that GDAL can follow http redirections and there 
is some other problem with your XML. Try the test files from GitHub and try to 
find out what is different in your GML.

-Jukka Rahkonen-

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to