Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deegree SqlFeatureStoreConfigCreator does not apply value set in parameter '-srid' when creating DDL statements for Oracle dialect #1743

Open
julianzz98 opened this issue Sep 13, 2024 · 0 comments
Labels
bug error issue and bug (fix) tools deegree command line tools (CLI)

Comments

@julianzz98
Copy link
Contributor

deegree Version: 3.5.8 (docker image)

When using the deegree SqlFeatureStoreConfigCreator to create a DDL statement for an Oracle database, the value defined within the -srid parameter is not set. Instead the SRID is set as null, causing problems when you want to import the data in the Oracle database using the deegree GmlLoader (ORA-13365: layer SRID does not match geometry SRID).

In order to reproduce the following command can be used (no reference data needed):

java -jar deegree-tools-gml.jar SqlFeatureStoreConfigCreator -format=all -srid=7423 -idtype=uuid -mapping=relational -dialect=oracle -schemaUrl=https://inspire.ec.europa.eu/schemas/bu-core3d/4.0/BuildingsCore3D.xsd

The produced DDL statement then looks like this (excerpt):

INSERT INTO user_sdo_geom_metadata(TABLE_NAME,COLUMN_NAME,DIMINFO,SRID) VALUES ('BU_CORE3D_BUILDING','BU_CORE3D_GEOMETRY2D_BU_BA_202',SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180.0, 180.0, 0.00000005), SDO_DIM_ELEMENT('Y', -90.0, 90.0, 0.00000005)), null);
@julianzz98 julianzz98 added bug error issue and bug (fix) tools deegree command line tools (CLI) labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error issue and bug (fix) tools deegree command line tools (CLI)
Projects
None yet
Development

No branches or pull requests

1 participant