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

Eip 102 #27

Merged
merged 3 commits into from
Jan 21, 2021
Merged

Eip 102 #27

merged 3 commits into from
Jan 21, 2021

Conversation

carlospzurita
Copy link

Proposal for fixing issue on geometry dimensions inconsistencies. The check is performed on class GMLPrevalidator, which will check first if the elements are correctly parsed and the XML has an open tag first. Then it will check if the dimension is declared on the pos or posList element, which is incorrect. Then the prevalidator will check if the dimension declared is the correct one, using the information on the CRSManager and the attribute srsName.

On the class GeometryElementHandler the prevalidator is called and a switch is used to determine what error is present, and an Exception is being thrown using the error messages added on the properties file.

Bump to version 1.3.2-SNAPSHOT
…consistencies in the dimensions or any error in tags.

Added call to GMLPrevalidator in GeometryElementHandler.java

Added error messages in properties for incorect usage of tags and inconsistencies in srsDimensions

Signed-off-by: Carlos Palma <carlospalma@guadaltel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants