-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shp): prefer non-GML namespace on multiple candidates for property
ING-4543
- Loading branch information
Showing
9 changed files
with
146 additions
and
3 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...dihumboldt.hale.common.schema/src/eu/esdihumboldt/hale/common/schema/SchemaConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
/* | ||
* Copyright (c) 2024 wetransform GmbH | ||
* | ||
* All rights reserved. This program and the accompanying materials are made | ||
* available under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation, either version 3 of the License, | ||
* or (at your option) any later version. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with this distribution. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package eu.esdihumboldt.hale.common.schema; | ||
|
||
public interface SchemaConstants { | ||
|
||
/** | ||
* The core part of the GML namespace that is independent of the version number | ||
* (and is the namespace of GML versions up to 3.1.1). | ||
*/ | ||
public static final String GML_NAMESPACE_CORE = "http://www.opengis.net/gml"; | ||
|
||
} |
1 change: 1 addition & 0 deletions
1
io/plugins/eu.esdihumboldt.hale.io.shp/resources/test/testdata/shape-xsd-name/shape.cpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UTF-8 |
Binary file added
BIN
+7.59 KB
io/plugins/eu.esdihumboldt.hale.io.shp/resources/test/testdata/shape-xsd-name/shape.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions
1
io/plugins/eu.esdihumboldt.hale.io.shp/resources/test/testdata/shape-xsd-name/shape.prj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["ETRS89 / UTM zone 32N", GEOGCS["ETRS89", DATUM["European Terrestrial Reference System 1989", SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]], AUTHORITY["EPSG","6258"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Geodetic latitude", NORTH], AXIS["Geodetic longitude", EAST], AUTHORITY["EPSG","4258"]], PROJECTION["Transverse_Mercator", AUTHORITY["EPSG","9807"]], PARAMETER["central_meridian", 9.0], PARAMETER["latitude_of_origin", 0.0], PARAMETER["scale_factor", 0.9996], PARAMETER["false_easting", 500000.0], PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["Easting", EAST], AXIS["Northing", NORTH], AUTHORITY["EPSG","25832"]] |
Binary file added
BIN
+49.6 KB
io/plugins/eu.esdihumboldt.hale.io.shp/resources/test/testdata/shape-xsd-name/shape.shp
Binary file not shown.
Binary file added
BIN
+124 Bytes
io/plugins/eu.esdihumboldt.hale.io.shp/resources/test/testdata/shape-xsd-name/shape.shx
Binary file not shown.
33 changes: 33 additions & 0 deletions
33
io/plugins/eu.esdihumboldt.hale.io.shp/resources/test/testdata/shape-xsd-name/shape.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:planAtlas-="https://www.geoportal-raumordnung-bw.de/planAtlas-rp" elementFormDefault="qualified" targetNamespace="https://www.geoportal-raumordnung-bw.de/planAtlas-rp"> | ||
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/> | ||
<element name="ln_8164_schiene_trasse_ausbau" substitutionGroup="gml:AbstractFeature" type="planAtlas-:ln_8164_schiene_trasse_ausbau"/> | ||
<complexType name="ln_8164_schiene_trasse_ausbau"> | ||
<complexContent> | ||
<extension base="gml:AbstractFeatureType"> | ||
<sequence> | ||
<element maxOccurs="1" minOccurs="0" name="bereich" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="oa_nr" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="oa_nr_t" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="klasse" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="klasse_t" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="bindung" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="bindung_t" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="status" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="status_t" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="kategorie" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="kategori_t" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="erst_id" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="erst_id_t" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="name" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="bemerkung" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="inkraft" nillable="false" type="date"/> | ||
<element maxOccurs="1" minOccurs="0" name="massstab" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="nr" nillable="false" type="integer"/> | ||
<element maxOccurs="1" minOccurs="0" name="id" nillable="false" type="string"/> | ||
<element maxOccurs="1" minOccurs="0" name="geometrie" nillable="false" type="gml:MultiCurvePropertyType"/> | ||
</sequence> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters