@cpp.js/package-gdal 1.0.0-beta.21 → 1.0.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/cppjs-package-gdal.podspec +1 -1
- package/cppjs.build.js +1 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_atomic_ops.h +90 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_auto_close.h +73 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_compressor.h +112 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_config.h +215 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_config_extras.h +34 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_conv.h +417 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_csv.h +71 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_error.h +344 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_hash_set.h +83 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_http.h +319 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_json.h +301 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_list.h +59 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_minixml.h +211 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_multiproc.h +241 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_port.h +1182 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_progress.h +49 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_quad_tree.h +105 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_spawn.h +60 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_string.h +863 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_time.h +29 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_virtualmem.h +365 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_vsi.h +830 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_vsi_error.h +55 -0
- package/dist/prebuilt/Android-x86_64/include/cpl_vsi_virtual.h +580 -0
- package/dist/prebuilt/Android-x86_64/include/cplkeywordparser.h +61 -0
- package/dist/prebuilt/Android-x86_64/include/gdal.h +2667 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_alg.h +717 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_alg_priv.h +386 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_csv.h +25 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_frmts.h +236 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_mdreader.h +240 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_pam.h +461 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_priv.h +4599 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_proxy.h +470 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_rat.h +390 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_simplesurf.h +579 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_utils.h +313 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_version.h +33 -0
- package/dist/prebuilt/Android-x86_64/include/gdal_vrt.h +89 -0
- package/dist/prebuilt/Android-x86_64/include/gdalcachedpixelaccessor.h +439 -0
- package/dist/prebuilt/Android-x86_64/include/gdalgeorefpamdataset.h +73 -0
- package/dist/prebuilt/Android-x86_64/include/gdalgrid.h +102 -0
- package/dist/prebuilt/Android-x86_64/include/gdalgrid_priv.h +67 -0
- package/dist/prebuilt/Android-x86_64/include/gdaljp2abstractdataset.h +61 -0
- package/dist/prebuilt/Android-x86_64/include/gdaljp2metadata.h +237 -0
- package/dist/prebuilt/Android-x86_64/include/gdalpansharpen.h +258 -0
- package/dist/prebuilt/Android-x86_64/include/gdalsubdatasetinfo.h +104 -0
- package/dist/prebuilt/Android-x86_64/include/gdalwarper.h +622 -0
- package/dist/prebuilt/Android-x86_64/include/gnm.h +750 -0
- package/dist/prebuilt/Android-x86_64/include/gnm_api.h +101 -0
- package/dist/prebuilt/Android-x86_64/include/gnmgraph.h +258 -0
- package/dist/prebuilt/Android-x86_64/include/memdataset.h +176 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_api.h +1024 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_core.h +1321 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_feature.h +1981 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_featurestyle.h +858 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_geocoding.h +46 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_geomcoordinateprecision.h +79 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_geometry.h +4346 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_p.h +324 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_recordbatch.h +125 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_spatialref.h +1007 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_srs_api.h +1088 -0
- package/dist/prebuilt/Android-x86_64/include/ogr_swq.h +529 -0
- package/dist/prebuilt/Android-x86_64/include/ogrsf_frmts.h +746 -0
- package/dist/prebuilt/Android-x86_64/include/rawdataset.h +255 -0
- package/dist/prebuilt/Android-x86_64/include/vrtdataset.h +2426 -0
- package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDAL-targets-release.cmake +19 -0
- package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDAL-targets.cmake +106 -0
- package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDALConfig.cmake +21 -0
- package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDALConfigVersion.cmake +85 -0
- package/dist/prebuilt/Android-x86_64/lib/gdalplugins/drivers.ini +290 -0
- package/dist/prebuilt/Android-x86_64/lib/libgdal.so +0 -0
- package/dist/prebuilt/Android-x86_64/lib/pkgconfig/gdal.pc +17 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/GDALLogoBW.svg +138 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/GDALLogoColor.svg +126 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/GDALLogoGS.svg +126 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/LICENSE.TXT +467 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/MM_m_idofic.csv +321 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/cubewerx_extra.wkt +48 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/default.rsc +0 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ecw_cs.wkt +1453 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/epsg.wkt +1 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/esri_StatePlane_extra.wkt +631 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gdalicon.png +0 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gdalinfo_output.schema.json +346 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gdalmdiminfo_output.schema.json +321 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gdaltileindex.xsd +253 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gdalvrt.xsd +881 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gfs.xsd +246 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gml_registry.xml +117 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gml_registry.xsd +66 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_center.csv +251 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_process.csv +102 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_subcenter.csv +63 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_1.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_13.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_14.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_15.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_16.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_17.csv +11 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_18.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_19.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_190.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_191.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_2.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_20.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_21.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_3.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_4.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_5.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_6.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_7.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_1.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_191.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_2.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_3.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_4.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_1_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_1_1.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_1_2.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_20_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_20_1.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_20_2.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_3.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_4.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_5.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_6.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_1.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_2.csv +28 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_3.csv +8 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_4.csv +14 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_5.csv +11 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_6.csv +11 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_0.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_1.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_10.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_2.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_3.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_4.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_5.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_6.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_7.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_8.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_9.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_Canada.csv +5 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_HPC.csv +2 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_MRMS.csv +175 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_NCEP.csv +401 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_NDFD.csv +38 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_index.csv +7 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_5.csv +261 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_versions.csv +3 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gt_datum.csv +229 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/gt_ellips.csv +24 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/header.dxf +1124 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_BasicPropertyUnit.gfs +57 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_CadastralBoundary.gfs +60 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_CadastralParcel.gfs +81 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_CadastralZoning.gfs +161 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_AdmArea.gfs +59 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_AdmBdry.gfs +49 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_AdmPt.gfs +59 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_BldA.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_BldL.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_Cntr.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_CommBdry.gfs +49 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_CommPt.gfs +59 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_Cstline.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_ElevPt.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_GCP.gfs +94 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_LeveeEdge.gfs +49 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RailCL.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdASL.gfs +44 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdArea.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdCompt.gfs +59 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdEdg.gfs +59 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdMgtBdry.gfs +49 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdSgmtA.gfs +59 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RvrMgtBdry.gfs +49 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_SBAPt.gfs +49 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_SBArea.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_SBBdry.gfs +44 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WA.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WL.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WStrA.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WStrL.gfs +54 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/nitf_spec.xml +3290 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/nitf_spec.xsd +173 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ogrinfo_output.schema.json +528 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ogrvrt.xsd +530 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/osmconf.ini +134 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ozi_datum.csv +131 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ozi_ellips.csv +35 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/pci_datum.txt +530 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/pci_ellips.txt +129 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/pdfcomposition.xsd +705 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_ob_v1.gfs +1455 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_st_uvoh_v1.gfs +86 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_st_v1.gfs +1489 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_v1.gfs +2126 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/s57agencies.csv +249 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/s57attributes.csv +484 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/s57expectedinput.csv +1008 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/s57objectclasses.csv +287 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/seed_2d.dgn +0 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/seed_3d.dgn +0 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/stateplane.csv +259 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/tms_LINZAntarticaMapTileGrid.json +190 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/tms_MapML_APSTILE.json +268 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/tms_MapML_CBMTILE.json +346 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/tms_NZTM2000.json +243 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/trailer.dxf +434 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/vdv452.xml +351 -0
- package/dist/prebuilt/Android-x86_64/share/gdal/vdv452.xsd +47 -0
- package/gdal.xcframework/ios-arm64_arm64e/libgdal.a +0 -0
- package/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator/libgdal.a +0 -0
- package/package.json +12 -12
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
/******************************************************************************
|
|
4
|
+
* $Id$
|
|
5
|
+
*
|
|
6
|
+
* Project: GDAL/OGR
|
|
7
|
+
* Purpose: XML Schema for OGR VRT files.
|
|
8
|
+
* Author: Even Rouault, <even dot rouault at spatialys.com>
|
|
9
|
+
*
|
|
10
|
+
**********************************************************************
|
|
11
|
+
* Copyright (c) 2012, Even Rouault
|
|
12
|
+
*
|
|
13
|
+
* SPDX-License-Identifier: MIT
|
|
14
|
+
****************************************************************************/
|
|
15
|
+
-->
|
|
16
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.0">
|
|
17
|
+
<xs:element name="OGRVRTDataSource">
|
|
18
|
+
<xs:complexType>
|
|
19
|
+
<xs:sequence>
|
|
20
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
21
|
+
<xs:element name="Metadata" type="MetadataType"/> <!-- may be repeated -->
|
|
22
|
+
<xs:element name="OGRVRTLayer" type="OGRVRTLayerType"/>
|
|
23
|
+
<xs:element name="OGRVRTWarpedLayer" type="OGRVRTWarpedLayerType"/>
|
|
24
|
+
<xs:element name="OGRVRTUnionLayer" type="OGRVRTUnionLayerType"/>
|
|
25
|
+
</xs:choice>
|
|
26
|
+
</xs:sequence>
|
|
27
|
+
</xs:complexType>
|
|
28
|
+
</xs:element>
|
|
29
|
+
|
|
30
|
+
<xs:complexType name="MetadataType">
|
|
31
|
+
<xs:sequence>
|
|
32
|
+
<!--<xs:choice>-->
|
|
33
|
+
<!--<xs:element name="MDI" type="MDIType" minOccurs="0" maxOccurs="unbounded"/>-->
|
|
34
|
+
<xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
|
|
35
|
+
<!--</xs:choice>-->
|
|
36
|
+
</xs:sequence>
|
|
37
|
+
<xs:attribute name="domain" type="xs:string"/>
|
|
38
|
+
<xs:attribute name="format" type="xs:string"/>
|
|
39
|
+
</xs:complexType>
|
|
40
|
+
|
|
41
|
+
<xs:complexType name="OGRVRTLayerType">
|
|
42
|
+
<xs:sequence>
|
|
43
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
44
|
+
<xs:element name="Metadata" type="MetadataType"/> <!-- may be repeated -->
|
|
45
|
+
<xs:element name="SrcDataSource" type="SrcDataSourceType">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>Required element</xs:documentation>
|
|
48
|
+
</xs:annotation>
|
|
49
|
+
</xs:element>
|
|
50
|
+
<xs:element name="OpenOptions" type="OpenOptionsType">
|
|
51
|
+
<xs:annotation>
|
|
52
|
+
<xs:documentation>Optional element</xs:documentation>
|
|
53
|
+
</xs:annotation>
|
|
54
|
+
</xs:element>
|
|
55
|
+
<xs:element name="SrcLayer" type="nonEmptyStringType">
|
|
56
|
+
<xs:annotation>
|
|
57
|
+
<xs:documentation>SrcLayer or(eclusive) SrcSQL are required elements</xs:documentation>
|
|
58
|
+
</xs:annotation>
|
|
59
|
+
</xs:element>
|
|
60
|
+
<xs:element name="SrcSQL">
|
|
61
|
+
<xs:complexType>
|
|
62
|
+
<xs:simpleContent>
|
|
63
|
+
<xs:extension base="nonEmptyStringType">
|
|
64
|
+
<xs:attribute name="dialect" type="nonEmptyStringType"/>
|
|
65
|
+
</xs:extension>
|
|
66
|
+
</xs:simpleContent>
|
|
67
|
+
</xs:complexType>
|
|
68
|
+
</xs:element>
|
|
69
|
+
<xs:element name="FID" type="FIDType"/>
|
|
70
|
+
<xs:element name="Style" type="nonEmptyStringType"/>
|
|
71
|
+
<xs:element name="GeometryType" type="GeometryTypeType">
|
|
72
|
+
<xs:annotation>
|
|
73
|
+
<xs:documentation>Use GeometryField.GeometryType for multi-geometry field support.</xs:documentation>
|
|
74
|
+
</xs:annotation>
|
|
75
|
+
</xs:element>
|
|
76
|
+
<xs:element name="LayerSRS" type="nonEmptyStringType">
|
|
77
|
+
<xs:annotation>
|
|
78
|
+
<xs:documentation>Use GeometryField.SRS for multi-geometry field support.</xs:documentation>
|
|
79
|
+
</xs:annotation>
|
|
80
|
+
</xs:element>
|
|
81
|
+
<xs:element name="Field" type="FieldType">
|
|
82
|
+
<xs:annotation>
|
|
83
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
84
|
+
</xs:annotation>
|
|
85
|
+
</xs:element>
|
|
86
|
+
<xs:element name="GeometryField" type="GeometryFieldType">
|
|
87
|
+
<xs:annotation>
|
|
88
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
89
|
+
</xs:annotation>
|
|
90
|
+
</xs:element>
|
|
91
|
+
<xs:element name="SrcRegion" type="SrcRegionType">
|
|
92
|
+
<xs:annotation>
|
|
93
|
+
<xs:documentation>Use GeometryField.SrcRegion for multi-geometry field support.</xs:documentation>
|
|
94
|
+
</xs:annotation>
|
|
95
|
+
</xs:element>
|
|
96
|
+
<xs:element name="attrFilterPassThrough" type="OGRBooleanType">
|
|
97
|
+
<xs:annotation>
|
|
98
|
+
<xs:documentation>Default to FALSE.</xs:documentation>
|
|
99
|
+
</xs:annotation>
|
|
100
|
+
</xs:element>
|
|
101
|
+
<xs:element name="FeatureCount" type="xs:integer"/>
|
|
102
|
+
<xs:group ref="ExtentType">
|
|
103
|
+
<xs:annotation>
|
|
104
|
+
<xs:documentation>Use GeometryField.ExtentXMin, etc... for multi-geometry field support.</xs:documentation>
|
|
105
|
+
</xs:annotation>
|
|
106
|
+
</xs:group>
|
|
107
|
+
</xs:choice>
|
|
108
|
+
</xs:sequence>
|
|
109
|
+
<xs:attribute name="name" type="nonEmptyStringType" use="required"/>
|
|
110
|
+
</xs:complexType>
|
|
111
|
+
|
|
112
|
+
<xs:complexType name="OpenOptionsType">
|
|
113
|
+
<xs:sequence>
|
|
114
|
+
<xs:element name="OOI" type="OOIType" minOccurs="0" maxOccurs="unbounded"/>
|
|
115
|
+
</xs:sequence>
|
|
116
|
+
</xs:complexType>
|
|
117
|
+
|
|
118
|
+
<xs:complexType name="OOIType">
|
|
119
|
+
<xs:simpleContent>
|
|
120
|
+
<xs:extension base="nonEmptyStringType">
|
|
121
|
+
<xs:attribute name="key" type="xs:string"/>
|
|
122
|
+
</xs:extension>
|
|
123
|
+
</xs:simpleContent>
|
|
124
|
+
</xs:complexType>
|
|
125
|
+
|
|
126
|
+
<xs:complexType name="FIDType">
|
|
127
|
+
<xs:simpleContent>
|
|
128
|
+
<xs:extension base="xs:string">
|
|
129
|
+
<xs:attribute name="name" type="xs:string">
|
|
130
|
+
<xs:annotation>
|
|
131
|
+
<xs:documentation>User-facing name of the FID column.</xs:documentation>
|
|
132
|
+
</xs:annotation>
|
|
133
|
+
</xs:attribute>
|
|
134
|
+
</xs:extension>
|
|
135
|
+
</xs:simpleContent>
|
|
136
|
+
</xs:complexType>
|
|
137
|
+
|
|
138
|
+
<xs:group name="ExtentType">
|
|
139
|
+
<xs:sequence>
|
|
140
|
+
<xs:element name="ExtentXMin" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
141
|
+
<xs:element name="ExtentYMin" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
142
|
+
<xs:element name="ExtentXMax" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
143
|
+
<xs:element name="ExtentYMax" type="xs:double" minOccurs="1" maxOccurs="1"/>
|
|
144
|
+
</xs:sequence>
|
|
145
|
+
</xs:group>
|
|
146
|
+
|
|
147
|
+
<xs:complexType name="SrcDataSourceType">
|
|
148
|
+
<xs:simpleContent>
|
|
149
|
+
<xs:extension base="nonEmptyStringType">
|
|
150
|
+
<xs:attribute name="relativeToVRT" type="OGRBooleanType" default="FALSE">
|
|
151
|
+
<xs:annotation>
|
|
152
|
+
<xs:documentation>Default to FALSE.</xs:documentation>
|
|
153
|
+
</xs:annotation>
|
|
154
|
+
</xs:attribute>
|
|
155
|
+
<!-- alternate case -->
|
|
156
|
+
<xs:attribute name="relativetoVRT" type="OGRBooleanType" default="FALSE">
|
|
157
|
+
<xs:annotation>
|
|
158
|
+
<xs:documentation>Default to FALSE.</xs:documentation>
|
|
159
|
+
</xs:annotation>
|
|
160
|
+
</xs:attribute>
|
|
161
|
+
<xs:attribute name="shared" type="OGRBooleanType"/>
|
|
162
|
+
</xs:extension>
|
|
163
|
+
</xs:simpleContent>
|
|
164
|
+
</xs:complexType>
|
|
165
|
+
|
|
166
|
+
<xs:simpleType name="nonEmptyStringType">
|
|
167
|
+
<xs:restriction base="xs:string">
|
|
168
|
+
<xs:minLength value="1"/>
|
|
169
|
+
</xs:restriction>
|
|
170
|
+
</xs:simpleType>
|
|
171
|
+
|
|
172
|
+
<xs:simpleType name="GeometryTypeType">
|
|
173
|
+
<xs:restriction base="xs:string">
|
|
174
|
+
<xs:enumeration value="wkbNone"/>
|
|
175
|
+
<xs:enumeration value="wkbUnknown"/>
|
|
176
|
+
<xs:enumeration value="wkbPoint"/>
|
|
177
|
+
<xs:enumeration value="wkbLineString"/>
|
|
178
|
+
<xs:enumeration value="wkbPolygon"/>
|
|
179
|
+
<xs:enumeration value="wkbMultiPoint"/>
|
|
180
|
+
<xs:enumeration value="wkbMultiLineString"/>
|
|
181
|
+
<xs:enumeration value="wkbMultiPolygon"/>
|
|
182
|
+
<xs:enumeration value="wkbGeometryCollection"/>
|
|
183
|
+
<xs:enumeration value="wkbCircularString"/> <!-- new in GDAL 2.0 -->
|
|
184
|
+
<xs:enumeration value="wkbCompoundCurve"/> <!-- new in GDAL 2.0 -->
|
|
185
|
+
<xs:enumeration value="wkbCurvePolygon"/> <!-- new in GDAL 2.0 -->
|
|
186
|
+
<xs:enumeration value="wkbMultiCurve"/> <!-- new in GDAL 2.0 -->
|
|
187
|
+
<xs:enumeration value="wkbMultiSurface"/> <!-- new in GDAL 2.0 -->
|
|
188
|
+
<xs:enumeration value="wkbCurve"/> <!-- new in GDAL 2.1 -->
|
|
189
|
+
<xs:enumeration value="wkbSurface"/> <!-- new in GDAL 2.1 -->
|
|
190
|
+
<xs:enumeration value="wkbUnknown25D"/>
|
|
191
|
+
<xs:enumeration value="wkbPoint25D"/>
|
|
192
|
+
<xs:enumeration value="wkbLineString25D"/>
|
|
193
|
+
<xs:enumeration value="wkbPolygon25D"/>
|
|
194
|
+
<xs:enumeration value="wkbMultiPoint25D"/>
|
|
195
|
+
<xs:enumeration value="wkbMultiLineString25D"/>
|
|
196
|
+
<xs:enumeration value="wkbMultiPolygon25D"/>
|
|
197
|
+
<xs:enumeration value="wkbGeometryCollection25D"/>
|
|
198
|
+
<xs:enumeration value="wkbCircularStringZ"/> <!-- new in GDAL 2.0 -->
|
|
199
|
+
<xs:enumeration value="wkbCompoundCurveZ"/> <!-- new in GDAL 2.0 -->
|
|
200
|
+
<xs:enumeration value="wkbCurvePolygonZ"/> <!-- new in GDAL 2.0 -->
|
|
201
|
+
<xs:enumeration value="wkbMultiCurveZ"/> <!-- new in GDAL 2.0 -->
|
|
202
|
+
<xs:enumeration value="wkbMultiSurfaceZ"/> <!-- new in GDAL 2.0 -->
|
|
203
|
+
<xs:enumeration value="wkbCurveZ"/> <!-- new in GDAL 2.1 -->
|
|
204
|
+
<xs:enumeration value="wkbSurfaceZ"/> <!-- new in GDAL 2.1 -->
|
|
205
|
+
|
|
206
|
+
<!-- below is new in GDAL 2.1 -->
|
|
207
|
+
<xs:enumeration value="wkbPointM"/>
|
|
208
|
+
<xs:enumeration value="wkbLineStringM"/>
|
|
209
|
+
<xs:enumeration value="wkbPolygonM"/>
|
|
210
|
+
<xs:enumeration value="wkbMultiPointM"/>
|
|
211
|
+
<xs:enumeration value="wkbMultiLineStringM"/>
|
|
212
|
+
<xs:enumeration value="wkbMultiPolygonM"/>
|
|
213
|
+
<xs:enumeration value="wkbGeometryCollectionM"/>
|
|
214
|
+
<xs:enumeration value="wkbCircularStringM"/>
|
|
215
|
+
<xs:enumeration value="wkbCompoundCurveM"/>
|
|
216
|
+
<xs:enumeration value="wkbCurvePolygonM"/>
|
|
217
|
+
<xs:enumeration value="wkbMultiCurveM"/>
|
|
218
|
+
<xs:enumeration value="wkbMultiSurfaceM"/>
|
|
219
|
+
<xs:enumeration value="wkbCurveM"/>
|
|
220
|
+
<xs:enumeration value="wkbSurfaceM"/>
|
|
221
|
+
|
|
222
|
+
<xs:enumeration value="wkbPointZM"/>
|
|
223
|
+
<xs:enumeration value="wkbLineStringZM"/>
|
|
224
|
+
<xs:enumeration value="wkbPolygonZM"/>
|
|
225
|
+
<xs:enumeration value="wkbMultiPointZM"/>
|
|
226
|
+
<xs:enumeration value="wkbMultiLineStringZM"/>
|
|
227
|
+
<xs:enumeration value="wkbMultiPolygonZM"/>
|
|
228
|
+
<xs:enumeration value="wkbGeometryCollectionZM"/>
|
|
229
|
+
<xs:enumeration value="wkbCircularStringZM"/>
|
|
230
|
+
<xs:enumeration value="wkbCompoundCurveZM"/>
|
|
231
|
+
<xs:enumeration value="wkbCurvePolygonZM"/>
|
|
232
|
+
<xs:enumeration value="wkbMultiCurveZM"/>
|
|
233
|
+
<xs:enumeration value="wkbMultiSurfaceZM"/>
|
|
234
|
+
<xs:enumeration value="wkbCurveZM"/>
|
|
235
|
+
<xs:enumeration value="wkbSurfaceZM"/>
|
|
236
|
+
|
|
237
|
+
<!-- below is new in GDAL 2.2 -->
|
|
238
|
+
<xs:enumeration value="wkbPolyhedralSurface"/>
|
|
239
|
+
<xs:enumeration value="wkbTIN"/>
|
|
240
|
+
<xs:enumeration value="wkbTriangle"/>
|
|
241
|
+
<xs:enumeration value="wkbPolyhedralSurfaceZ"/>
|
|
242
|
+
<xs:enumeration value="wkbTINZ"/>
|
|
243
|
+
<xs:enumeration value="wkbTriangleZ"/>
|
|
244
|
+
<xs:enumeration value="wkbPolyhedralSurfaceM"/>
|
|
245
|
+
<xs:enumeration value="wkbTINM"/>
|
|
246
|
+
<xs:enumeration value="wkbTriangleM"/>
|
|
247
|
+
<xs:enumeration value="wkbPolyhedralSurfaceZM"/>
|
|
248
|
+
<xs:enumeration value="wkbTINZM"/>
|
|
249
|
+
<xs:enumeration value="wkbTriangleZM"/>
|
|
250
|
+
|
|
251
|
+
</xs:restriction>
|
|
252
|
+
</xs:simpleType>
|
|
253
|
+
|
|
254
|
+
<xs:complexType name="FieldTypeWithoutSrc">
|
|
255
|
+
<xs:attribute name="name" type="nonEmptyStringType" use="required"/>
|
|
256
|
+
<xs:attribute name="type" type="OGRFieldTypeType" default="String"/>
|
|
257
|
+
<xs:attribute name="subtype" type="OGRFieldSubTypeType" default="None"/> <!-- new in GDAL 2.0 -->
|
|
258
|
+
<xs:attribute name="width" type="xs:nonNegativeInteger"/>
|
|
259
|
+
<xs:attribute name="precision" type="xs:nonNegativeInteger"/>
|
|
260
|
+
<xs:attribute name="nullable" type="OGRBooleanType" default="true"/> <!-- new in GDAL 2.0 -->
|
|
261
|
+
<xs:attribute name="default" type="xs:string"/> <!-- new in GDAL 2.0 -->
|
|
262
|
+
<xs:attribute name="unique" type="OGRBooleanType" default="false"/> <!-- new in GDAL 3.2 -->
|
|
263
|
+
<xs:attribute name="alternativeName" type="xs:string"/> <!-- new in GDAL 3.7 -->
|
|
264
|
+
<xs:attribute name="comment" type="xs:string"/> <!-- new in GDAL 3.7 -->
|
|
265
|
+
</xs:complexType>
|
|
266
|
+
|
|
267
|
+
<xs:complexType name="FieldType">
|
|
268
|
+
<xs:complexContent>
|
|
269
|
+
<xs:extension base="FieldTypeWithoutSrc">
|
|
270
|
+
<xs:attribute name="src" type="nonEmptyStringType">
|
|
271
|
+
<xs:annotation>
|
|
272
|
+
<xs:documentation>Defaults to the value of "name" if not specified.</xs:documentation>
|
|
273
|
+
</xs:annotation>
|
|
274
|
+
</xs:attribute>
|
|
275
|
+
</xs:extension>
|
|
276
|
+
</xs:complexContent>
|
|
277
|
+
</xs:complexType>
|
|
278
|
+
|
|
279
|
+
<xs:simpleType name="OGRFieldTypeType">
|
|
280
|
+
<xs:restriction base="xs:string">
|
|
281
|
+
<xs:enumeration value="Integer"/>
|
|
282
|
+
<xs:enumeration value="integer"/>
|
|
283
|
+
<xs:enumeration value="Integer64"/>
|
|
284
|
+
<xs:enumeration value="integer64"/>
|
|
285
|
+
<xs:enumeration value="Real"/>
|
|
286
|
+
<xs:enumeration value="real"/>
|
|
287
|
+
<xs:enumeration value="String"/>
|
|
288
|
+
<xs:enumeration value="string"/>
|
|
289
|
+
<xs:enumeration value="IntegerList"/>
|
|
290
|
+
<xs:enumeration value="integerlist"/>
|
|
291
|
+
<xs:enumeration value="Integer64List"/>
|
|
292
|
+
<xs:enumeration value="integer64list"/>
|
|
293
|
+
<xs:enumeration value="RealList"/>
|
|
294
|
+
<xs:enumeration value="reallist"/>
|
|
295
|
+
<xs:enumeration value="StringList"/>
|
|
296
|
+
<xs:enumeration value="stringlist"/>
|
|
297
|
+
<xs:enumeration value="Binary"/>
|
|
298
|
+
<xs:enumeration value="binary"/>
|
|
299
|
+
<xs:enumeration value="Date"/>
|
|
300
|
+
<xs:enumeration value="date"/>
|
|
301
|
+
<xs:enumeration value="Time"/>
|
|
302
|
+
<xs:enumeration value="time"/>
|
|
303
|
+
<xs:enumeration value="DateTime"/>
|
|
304
|
+
<xs:enumeration value="datetime"/>
|
|
305
|
+
</xs:restriction>
|
|
306
|
+
</xs:simpleType>
|
|
307
|
+
|
|
308
|
+
<xs:simpleType name="OGRFieldSubTypeType">
|
|
309
|
+
<xs:restriction base="xs:string">
|
|
310
|
+
<xs:enumeration value="None"/>
|
|
311
|
+
<xs:enumeration value="Boolean"/>
|
|
312
|
+
<xs:enumeration value="Int16"/>
|
|
313
|
+
<xs:enumeration value="Float32"/>
|
|
314
|
+
</xs:restriction>
|
|
315
|
+
</xs:simpleType>
|
|
316
|
+
|
|
317
|
+
<xs:simpleType name="EncodingType">
|
|
318
|
+
<xs:restriction base="xs:string">
|
|
319
|
+
<xs:enumeration value="Direct"/>
|
|
320
|
+
<xs:enumeration value="None"/>
|
|
321
|
+
<xs:enumeration value="WKT"/>
|
|
322
|
+
<xs:enumeration value="WKB"/>
|
|
323
|
+
<xs:enumeration value="Shape"/>
|
|
324
|
+
<xs:enumeration value="shape"/>
|
|
325
|
+
<xs:enumeration value="PointFromColumns"/>
|
|
326
|
+
</xs:restriction>
|
|
327
|
+
</xs:simpleType>
|
|
328
|
+
|
|
329
|
+
<xs:attributeGroup name="GeometryFieldTypeAttrGroupWithoutSrc">
|
|
330
|
+
<xs:attribute name="encoding" type="EncodingType">
|
|
331
|
+
<xs:annotation>
|
|
332
|
+
<xs:documentation>Defaults to Direct.</xs:documentation>
|
|
333
|
+
</xs:annotation>
|
|
334
|
+
</xs:attribute>
|
|
335
|
+
<xs:attribute name="name" type="xs:string">
|
|
336
|
+
<xs:annotation>
|
|
337
|
+
<xs:documentation>Name of the geometry field</xs:documentation>
|
|
338
|
+
</xs:annotation>
|
|
339
|
+
</xs:attribute>
|
|
340
|
+
<xs:attribute name="x" type="nonEmptyStringType">
|
|
341
|
+
<xs:annotation>
|
|
342
|
+
<xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
|
|
343
|
+
</xs:annotation>
|
|
344
|
+
</xs:attribute>
|
|
345
|
+
<xs:attribute name="y" type="nonEmptyStringType">
|
|
346
|
+
<xs:annotation>
|
|
347
|
+
<xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
|
|
348
|
+
</xs:annotation>
|
|
349
|
+
</xs:attribute>
|
|
350
|
+
<xs:attribute name="z" type="nonEmptyStringType">
|
|
351
|
+
<xs:annotation>
|
|
352
|
+
<xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
|
|
353
|
+
</xs:annotation>
|
|
354
|
+
</xs:attribute>
|
|
355
|
+
<xs:attribute name="m" type="nonEmptyStringType">
|
|
356
|
+
<xs:annotation>
|
|
357
|
+
<xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
|
|
358
|
+
</xs:annotation>
|
|
359
|
+
</xs:attribute>
|
|
360
|
+
<xs:attribute name="useSpatialSubquery" type="OGRBooleanType">
|
|
361
|
+
<xs:annotation>
|
|
362
|
+
<xs:documentation>Only used if encoding = "PointFromColumns". Defaults to TRUE.</xs:documentation>
|
|
363
|
+
</xs:annotation>
|
|
364
|
+
</xs:attribute>
|
|
365
|
+
<xs:attribute name="reportSrcColumn" type="OGRBooleanType">
|
|
366
|
+
<xs:annotation>
|
|
367
|
+
<xs:documentation>Only used if no Field element is found at the OGRVRTLayer level</xs:documentation>
|
|
368
|
+
</xs:annotation>
|
|
369
|
+
</xs:attribute>
|
|
370
|
+
<xs:attribute name="nullable" type="OGRBooleanType" default="true"/> <!-- new in GDAL 2.0 -->
|
|
371
|
+
</xs:attributeGroup>
|
|
372
|
+
|
|
373
|
+
<xs:complexType name="GeometryFieldTypeWithoutSrc">
|
|
374
|
+
<xs:sequence>
|
|
375
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
376
|
+
<xs:element name="GeometryType" type="GeometryTypeType"/>
|
|
377
|
+
<xs:element name="SrcRegion" type="SrcRegionType"/>
|
|
378
|
+
<xs:element name="SRS" type="nonEmptyStringType"/>
|
|
379
|
+
<xs:group ref="ExtentType"/>
|
|
380
|
+
<xs:element name="XYResolution" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
381
|
+
<xs:element name="ZResolution" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
382
|
+
<xs:element name="MResolution" type="xs:double" minOccurs="0" maxOccurs="1"/>
|
|
383
|
+
</xs:choice>
|
|
384
|
+
</xs:sequence>
|
|
385
|
+
<xs:attributeGroup ref="GeometryFieldTypeAttrGroupWithoutSrc"/>
|
|
386
|
+
</xs:complexType>
|
|
387
|
+
|
|
388
|
+
<xs:complexType name="GeometryFieldType">
|
|
389
|
+
<xs:complexContent>
|
|
390
|
+
<xs:extension base="GeometryFieldTypeWithoutSrc">
|
|
391
|
+
<xs:attribute name="field" type="nonEmptyStringType">
|
|
392
|
+
<xs:annotation>
|
|
393
|
+
<xs:documentation>Used if encoding = "WKT", "WKB" or "Shape" to find
|
|
394
|
+
the attribute field of the source layer.
|
|
395
|
+
Used also in multiple geometry fields scenario to retrieve the
|
|
396
|
+
source geometry field matching the target VRT geometry field.</xs:documentation>
|
|
397
|
+
</xs:annotation>
|
|
398
|
+
</xs:attribute>
|
|
399
|
+
</xs:extension>
|
|
400
|
+
</xs:complexContent>
|
|
401
|
+
</xs:complexType>
|
|
402
|
+
|
|
403
|
+
<xs:complexType name="SrcRegionType">
|
|
404
|
+
<xs:simpleContent>
|
|
405
|
+
<xs:extension base="PolygonWKTType">
|
|
406
|
+
<xs:attribute name="clip" type="OGRBooleanType">
|
|
407
|
+
<xs:annotation>
|
|
408
|
+
<xs:documentation>Defaults to FALSE.</xs:documentation>
|
|
409
|
+
</xs:annotation>
|
|
410
|
+
</xs:attribute>
|
|
411
|
+
</xs:extension>
|
|
412
|
+
</xs:simpleContent>
|
|
413
|
+
</xs:complexType>
|
|
414
|
+
|
|
415
|
+
<xs:simpleType name="PolygonWKTType">
|
|
416
|
+
<xs:annotation>
|
|
417
|
+
<xs:documentation>A valid WKT for a POLYGON</xs:documentation>
|
|
418
|
+
</xs:annotation>
|
|
419
|
+
<xs:restriction base="xs:string">
|
|
420
|
+
<xs:pattern value="POLYGON.*"/>
|
|
421
|
+
</xs:restriction>
|
|
422
|
+
</xs:simpleType>
|
|
423
|
+
|
|
424
|
+
<xs:simpleType name="OGRBooleanType">
|
|
425
|
+
<xs:restriction base="xs:string">
|
|
426
|
+
<xs:enumeration value="1"/>
|
|
427
|
+
<xs:enumeration value="0"/>
|
|
428
|
+
<xs:enumeration value="ON"/>
|
|
429
|
+
<xs:enumeration value="OFF"/>
|
|
430
|
+
<xs:enumeration value="on"/>
|
|
431
|
+
<xs:enumeration value="off"/>
|
|
432
|
+
<xs:enumeration value="YES"/>
|
|
433
|
+
<xs:enumeration value="NO"/>
|
|
434
|
+
<xs:enumeration value="yes"/>
|
|
435
|
+
<xs:enumeration value="no"/>
|
|
436
|
+
<xs:enumeration value="TRUE"/>
|
|
437
|
+
<xs:enumeration value="FALSE"/>
|
|
438
|
+
<xs:enumeration value="true"/>
|
|
439
|
+
<xs:enumeration value="false"/>
|
|
440
|
+
</xs:restriction>
|
|
441
|
+
</xs:simpleType>
|
|
442
|
+
|
|
443
|
+
<xs:complexType name="OGRVRTWarpedLayerType">
|
|
444
|
+
<xs:sequence>
|
|
445
|
+
<xs:choice minOccurs="1" maxOccurs="1">
|
|
446
|
+
<xs:element name="OGRVRTLayer" type="OGRVRTLayerType"/>
|
|
447
|
+
<xs:element name="OGRVRTWarpedLayer" type="OGRVRTWarpedLayerType"/>
|
|
448
|
+
<xs:element name="OGRVRTUnionLayer" type="OGRVRTUnionLayerType"/>
|
|
449
|
+
</xs:choice>
|
|
450
|
+
<xs:element name="WarpedGeomFieldName" type="nonEmptyStringType" minOccurs="0" maxOccurs="1"/>
|
|
451
|
+
<xs:element name="SrcSRS" type="nonEmptyStringType" minOccurs="0" maxOccurs="1"/>
|
|
452
|
+
<xs:element name="TargetSRS" type="nonEmptyStringType" minOccurs="1" maxOccurs="1"/>
|
|
453
|
+
<xs:group ref="ExtentType" minOccurs="0" maxOccurs="1"/>
|
|
454
|
+
</xs:sequence>
|
|
455
|
+
</xs:complexType>
|
|
456
|
+
|
|
457
|
+
<xs:complexType name="OGRVRTUnionLayerType">
|
|
458
|
+
<xs:sequence>
|
|
459
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
460
|
+
<xs:element name="OGRVRTLayer" type="OGRVRTLayerType">
|
|
461
|
+
<xs:annotation>
|
|
462
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
463
|
+
</xs:annotation>
|
|
464
|
+
</xs:element>
|
|
465
|
+
<xs:element name="OGRVRTWarpedLayer" type="OGRVRTWarpedLayerType">
|
|
466
|
+
<xs:annotation>
|
|
467
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
468
|
+
</xs:annotation>
|
|
469
|
+
</xs:element>
|
|
470
|
+
<xs:element name="OGRVRTUnionLayer" type="OGRVRTUnionLayerType">
|
|
471
|
+
<xs:annotation>
|
|
472
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
473
|
+
</xs:annotation>
|
|
474
|
+
</xs:element>
|
|
475
|
+
|
|
476
|
+
<xs:element name="GeometryType" type="GeometryTypeType">
|
|
477
|
+
<xs:annotation>
|
|
478
|
+
<xs:documentation>Use GeometryField.GeometryType for multi-geometry field support.</xs:documentation>
|
|
479
|
+
</xs:annotation>
|
|
480
|
+
</xs:element>
|
|
481
|
+
<xs:element name="LayerSRS" type="nonEmptyStringType">
|
|
482
|
+
<xs:annotation>
|
|
483
|
+
<xs:documentation>Use GeometryField.SRS for multi-geometry field support.</xs:documentation>
|
|
484
|
+
</xs:annotation>
|
|
485
|
+
</xs:element>
|
|
486
|
+
<xs:element name="FieldStrategy" type="FieldStrategyType">
|
|
487
|
+
<xs:annotation>
|
|
488
|
+
<xs:documentation>Defaults to Union if no Field or GeometryField element is specified.</xs:documentation>
|
|
489
|
+
</xs:annotation>
|
|
490
|
+
</xs:element>
|
|
491
|
+
<xs:element name="Field" type="FieldTypeWithoutSrc">
|
|
492
|
+
<xs:annotation>
|
|
493
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
494
|
+
</xs:annotation>
|
|
495
|
+
</xs:element>
|
|
496
|
+
<xs:element name="GeometryField" type="GeometryFieldTypeWithoutSrc">
|
|
497
|
+
<xs:annotation>
|
|
498
|
+
<xs:documentation>May be repeated</xs:documentation>
|
|
499
|
+
</xs:annotation>
|
|
500
|
+
</xs:element>
|
|
501
|
+
<xs:element name="PreserveSrcFID" type="OGRBooleanType">
|
|
502
|
+
<xs:annotation>
|
|
503
|
+
<xs:documentation>Defaults to FALSE.</xs:documentation>
|
|
504
|
+
</xs:annotation>
|
|
505
|
+
</xs:element>
|
|
506
|
+
<xs:element name="SourceLayerFieldName" type="nonEmptyStringType">
|
|
507
|
+
<xs:annotation>
|
|
508
|
+
<xs:documentation>Name of fields in which to place the name of the source layer of each feature.</xs:documentation>
|
|
509
|
+
</xs:annotation>
|
|
510
|
+
</xs:element>
|
|
511
|
+
<xs:element name="FeatureCount" type="xs:integer"/>
|
|
512
|
+
<xs:group ref="ExtentType">
|
|
513
|
+
<xs:annotation>
|
|
514
|
+
<xs:documentation>Use GeometryField.ExtentXMin, etc. for multi-geometry field support.</xs:documentation>
|
|
515
|
+
</xs:annotation>
|
|
516
|
+
</xs:group>
|
|
517
|
+
</xs:choice>
|
|
518
|
+
</xs:sequence>
|
|
519
|
+
<xs:attribute name="name" type="nonEmptyStringType" use="required"/>
|
|
520
|
+
</xs:complexType>
|
|
521
|
+
|
|
522
|
+
<xs:simpleType name="FieldStrategyType">
|
|
523
|
+
<xs:restriction base="xs:string">
|
|
524
|
+
<xs:enumeration value="FirstLayer"/>
|
|
525
|
+
<xs:enumeration value="Union"/>
|
|
526
|
+
<xs:enumeration value="Intersection"/>
|
|
527
|
+
</xs:restriction>
|
|
528
|
+
</xs:simpleType>
|
|
529
|
+
|
|
530
|
+
</xs:schema>
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Configuration file for importing OSM data into OGR
|
|
3
|
+
#
|
|
4
|
+
# NOTE: remove the below "[general]" line for GDAL < 3.10
|
|
5
|
+
[general]
|
|
6
|
+
|
|
7
|
+
# put here the name of keys, or key=value, for ways that are assumed to be polygons if they are closed
|
|
8
|
+
# see http://wiki.openstreetmap.org/wiki/Map_Features
|
|
9
|
+
closed_ways_are_polygons=aeroway,amenity,boundary,building,craft,geological,historic,landuse,leisure,military,natural,office,place,shop,sport,tourism,highway=platform,public_transport=platform
|
|
10
|
+
|
|
11
|
+
# Uncomment to avoid laundering of keys ( ':' turned into '_' )
|
|
12
|
+
#attribute_name_laundering=no
|
|
13
|
+
|
|
14
|
+
# Some tags, set on ways and when building multipolygons, multilinestrings or other_relations,
|
|
15
|
+
# are normally filtered out early, independent of the 'ignore' configuration below.
|
|
16
|
+
# Uncomment to disable early filtering. The 'ignore' lines below remain active.
|
|
17
|
+
#report_all_tags=yes
|
|
18
|
+
|
|
19
|
+
# uncomment to report all nodes, including the ones without any (significant) tag
|
|
20
|
+
#report_all_nodes=yes
|
|
21
|
+
|
|
22
|
+
# uncomment to report all ways, including the ones without any (significant) tag
|
|
23
|
+
#report_all_ways=yes
|
|
24
|
+
|
|
25
|
+
# uncomment to specify the the format for the all_tags/other_tags field should be JSON
|
|
26
|
+
# instead of the default HSTORE formatting.
|
|
27
|
+
# Valid values for tags_format are "hstore" and "json"
|
|
28
|
+
#tags_format=json
|
|
29
|
+
|
|
30
|
+
[points]
|
|
31
|
+
# common attributes
|
|
32
|
+
osm_id=yes
|
|
33
|
+
osm_version=no
|
|
34
|
+
osm_timestamp=no
|
|
35
|
+
osm_uid=no
|
|
36
|
+
osm_user=no
|
|
37
|
+
osm_changeset=no
|
|
38
|
+
|
|
39
|
+
# keys to report as OGR fields
|
|
40
|
+
attributes=name,barrier,highway,ref,address,is_in,place,man_made
|
|
41
|
+
# keys that, alone, are not significant enough to report a node as a OGR point
|
|
42
|
+
unsignificant=created_by,converted_by,source,time,ele,attribution
|
|
43
|
+
# keys that should NOT be reported in the "other_tags" field
|
|
44
|
+
ignore=created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
|
|
45
|
+
# uncomment to avoid creation of "other_tags" field
|
|
46
|
+
#other_tags=no
|
|
47
|
+
# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
|
|
48
|
+
#all_tags=yes
|
|
49
|
+
|
|
50
|
+
[lines]
|
|
51
|
+
# common attributes
|
|
52
|
+
osm_id=yes
|
|
53
|
+
osm_version=no
|
|
54
|
+
osm_timestamp=no
|
|
55
|
+
osm_uid=no
|
|
56
|
+
osm_user=no
|
|
57
|
+
osm_changeset=no
|
|
58
|
+
|
|
59
|
+
# keys to report as OGR fields
|
|
60
|
+
attributes=name,highway,waterway,aerialway,barrier,man_made,railway
|
|
61
|
+
|
|
62
|
+
# type of attribute 'foo' can be changed with something like
|
|
63
|
+
#foo_type=Integer/Real/String/DateTime
|
|
64
|
+
|
|
65
|
+
# keys that should NOT be reported in the "other_tags" field
|
|
66
|
+
ignore=created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
|
|
67
|
+
# uncomment to avoid creation of "other_tags" field
|
|
68
|
+
#other_tags=no
|
|
69
|
+
# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
|
|
70
|
+
#all_tags=yes
|
|
71
|
+
|
|
72
|
+
#computed_attributes must appear before the keywords _type and _sql
|
|
73
|
+
computed_attributes=z_order
|
|
74
|
+
z_order_type=Integer
|
|
75
|
+
# Formula based on https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua#L13
|
|
76
|
+
# [foo] is substituted by value of tag foo. When substitution is not wished, the [ character can be escaped with \[ in literals
|
|
77
|
+
# Note for GDAL developers: if we change the below formula, make sure to edit ogrosmlayer.cpp since it has a hardcoded optimization for this very precise formula
|
|
78
|
+
z_order_sql="SELECT (CASE [highway] WHEN 'minor' THEN 3 WHEN 'road' THEN 3 WHEN 'unclassified' THEN 3 WHEN 'residential' THEN 3 WHEN 'tertiary_link' THEN 4 WHEN 'tertiary' THEN 4 WHEN 'secondary_link' THEN 6 WHEN 'secondary' THEN 6 WHEN 'primary_link' THEN 7 WHEN 'primary' THEN 7 WHEN 'trunk_link' THEN 8 WHEN 'trunk' THEN 8 WHEN 'motorway_link' THEN 9 WHEN 'motorway' THEN 9 ELSE 0 END) + (CASE WHEN [bridge] IN ('yes', 'true', '1') THEN 10 ELSE 0 END) + (CASE WHEN [tunnel] IN ('yes', 'true', '1') THEN -10 ELSE 0 END) + (CASE WHEN [railway] IS NOT NULL THEN 5 ELSE 0 END) + (CASE WHEN [layer] IS NOT NULL THEN 10 * CAST([layer] AS INTEGER) ELSE 0 END)"
|
|
79
|
+
|
|
80
|
+
[multipolygons]
|
|
81
|
+
# common attributes
|
|
82
|
+
# note: for multipolygons, osm_id=yes instantiates a osm_id field for the id of relations
|
|
83
|
+
# and a osm_way_id field for the id of closed ways. Both fields are exclusively set.
|
|
84
|
+
osm_id=yes
|
|
85
|
+
osm_version=no
|
|
86
|
+
osm_timestamp=no
|
|
87
|
+
osm_uid=no
|
|
88
|
+
osm_user=no
|
|
89
|
+
osm_changeset=no
|
|
90
|
+
|
|
91
|
+
# keys to report as OGR fields
|
|
92
|
+
attributes=name,type,aeroway,amenity,admin_level,barrier,boundary,building,craft,geological,historic,land_area,landuse,leisure,man_made,military,natural,office,place,shop,sport,tourism
|
|
93
|
+
# keys that should NOT be reported in the "other_tags" field
|
|
94
|
+
ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
|
|
95
|
+
# uncomment to avoid creation of "other_tags" field
|
|
96
|
+
#other_tags=no
|
|
97
|
+
# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
|
|
98
|
+
#all_tags=yes
|
|
99
|
+
|
|
100
|
+
[multilinestrings]
|
|
101
|
+
# common attributes
|
|
102
|
+
osm_id=yes
|
|
103
|
+
osm_version=no
|
|
104
|
+
osm_timestamp=no
|
|
105
|
+
osm_uid=no
|
|
106
|
+
osm_user=no
|
|
107
|
+
osm_changeset=no
|
|
108
|
+
|
|
109
|
+
# keys to report as OGR fields
|
|
110
|
+
attributes=name,type
|
|
111
|
+
# keys that should NOT be reported in the "other_tags" field
|
|
112
|
+
ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
|
|
113
|
+
# uncomment to avoid creation of "other_tags" field
|
|
114
|
+
#other_tags=no
|
|
115
|
+
# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
|
|
116
|
+
#all_tags=yes
|
|
117
|
+
|
|
118
|
+
[other_relations]
|
|
119
|
+
# common attributes
|
|
120
|
+
osm_id=yes
|
|
121
|
+
osm_version=no
|
|
122
|
+
osm_timestamp=no
|
|
123
|
+
osm_uid=no
|
|
124
|
+
osm_user=no
|
|
125
|
+
osm_changeset=no
|
|
126
|
+
|
|
127
|
+
# keys to report as OGR fields
|
|
128
|
+
attributes=name,type
|
|
129
|
+
# keys that should NOT be reported in the "other_tags" field
|
|
130
|
+
ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME
|
|
131
|
+
# uncomment to avoid creation of "other_tags" field
|
|
132
|
+
#other_tags=no
|
|
133
|
+
# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive
|
|
134
|
+
#all_tags=yes
|