-
Notifications
You must be signed in to change notification settings - Fork 1
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
283 uploaded joined shapefile to geoserver has missing values #284
283 uploaded joined shapefile to geoserver has missing values #284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deployed to incore-dev and tested.
Got a 500 Internal Error. Data service pod logs are not very helpful
at java.base/java.lang.Thread.run(Unknown Source)
Mar 13, 2024 3:10:42 AM org.geotools.jdbc.JDBCDataStore getSQLTypeNames
WARNING: Fetching fields from Database
Mar 13, 2024 3:13:15 AM org.geotools.jdbc.JDBCDataStore getSQLTypeNames
WARNING: Fetching fields from Database
One interesting thing I found is YWK might revert back to shapefile because geopackage is posting this layer with the store name as the dataset id but layer name as something completely different
Apart from the wrong layer name (and 500 error), the layer seems to be correct
...er/data-service/src/main/java/edu/illinois/ncsa/incore/service/data/utils/GeotoolsUtils.java
Show resolved
Hide resolved
* pass in dataset id as the default join * one more fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
I switched the call from outToShapefile to outToGpkgFile and fixed the issue with using the gpkg file. I have not tested upload to the geoserver, but I did test the join on my local and it looks to be working correctly.