-
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
Make uploading to geoserver identical for both shapefile and geopackage #266
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.
uploaded both shapefile and geopackage successfully. change look good
Can you add a copyright header to the GeoserverRestApi class? |
...data-service/src/main/java/edu/illinois/ncsa/incore/service/data/utils/GeoserverRestApi.java
Show resolved
Hide resolved
Added |
…api-need-to-have-the-same-method-when-uploading-data-to-geoserver
How do I test this? Can I test it on my local or do I need to use port forwarding to test on dev? |
You can test it in local. Maybe let me deploy this to dev now and will let you know |
I was able to test on my local. No need to deploy on dev. |
Can you remove the system.out print statements in GeoserverRestAPI? |
removed |
Please test with the attached zip file.
After unzip it, you will see one geopackage file (guid_test.gpkg) and others that are shapefile component (epn_guid.shp)
data.zip
Test posting both dataset
Testing GeoPackage
{"format": "geopackage", "title": "test-delete", "description": "delete me", "dataType": "incore:addressPoints"}
please ignore dataType, this is just a test
Testing Shapefile
{"format": "shapefile", "title": "test-delete", "description": "delete me", "dataType": "incore:addressPoints"}
please ignore dataType, this is just a test