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

190 upgrade geoserver connection #204

Merged
merged 6 commits into from
Aug 30, 2023
Merged

Conversation

ywkim312
Copy link
Member

@ywkim312 ywkim312 commented Aug 22, 2023

This PR has been deployed to dev. So when you test it, using the dev and create a dataset using shapefile or zip file of shapefile or geotiff. After you create dataset and attach the geographic data to the dataset, please see the preview. If you see the preview without any problem, this PR is working okay.

Please DO NOT FORGET to delete the dataset you posted after finishing your test

@ywkim312 ywkim312 linked an issue Aug 22, 2023 that may be closed by this pull request
@ywkim312 ywkim312 marked this pull request as ready for review August 22, 2023 22:23
@ywkim312 ywkim312 self-assigned this Aug 23, 2023
Copy link
Member

@longshuicy longshuicy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with posting shapefile to incore-dev. Approve!

@ylyangtw
Copy link
Contributor

I am trying to test this. I wonder is this shapefile? Just wanted to make sure I am testing it correctly

curl --location 'https://incore-dev.ncsa.illinois.edu/hazard/api/earthquakes' \
--header 'x-auth-userinfo: {"preferred_username":"ylyang"}' \
--header 'x-auth-usergroup: {"groups": ["incore_jupyter"]}' \
--form 'earthquake="{
   \"name\":\"yytest\",
   \"description\":\"yytest\",
   \"eqType\":\"model\",
   \"attenuations\":{
      \"ChiouYoungs2014\":\"1.0\"
   },
   \"eqParameters\":{
      \"srcLatitude\":40.177,
      \"srcLongitude\":-111.426,
      \"magnitude\":\"5.5\",
      \"depth\":\"11.2\",
      \"region\":\"\",
      \"faultTypeMap\":{
         \"ChiouYoungs2014\":\"Normal\"
      }
   },
   \"visualizationParameters\":{
      \"demandType\":\"PGA\",
      \"demandUnits\":\"g\",
      \"minX\":-112.312,
      \"minY\":40.277,
      \"maxX\":-111.462,
      \"maxY\":41,
     
      \"numPoints\":\"1025\",
      \"amplifyHazard\":\"true\"
   }
}"'

@ywkim312
Copy link
Member Author

ywkim312 commented Aug 29, 2023

@ylyangtw This is a shapefile
guid_yes.zip

@ywkim312
Copy link
Member Author

ywkim312 commented Aug 29, 2023

@ylyangtw this is a geotiff
2009_30m_cdls_small_wgs84.zip

Copy link
Contributor

@ylyangtw ylyangtw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

posting shapefile and geotiff works well. approve~

@ywkim312 ywkim312 merged commit bcdc6a2 into develop Aug 30, 2023
6 checks passed
@ywkim312 ywkim312 deleted the 190-upgrade-geoserver-connection branch August 30, 2023 21:01
ylyangtw pushed a commit that referenced this pull request Oct 11, 2023
* 190 upgrade geoserver connection (#204)

* saving purpose

* Created geoserver rest api object

* modified remove layers

* clean up build.gradle

* blocked geoserver upload if there is no prj file

* Fixes #208 - added attenuation model Sadigh et al. 1997 (#210)

* 188 redo adding owner item to dataset and delete by only owner (#196)

* added owner to dataset

* added for hazard and dfr3

* delete and put has been modified based on ownership

* added a function that the admin group can delete

* use isAdmin from Authorizer

* changed one missing isAdmin to authorizer

* Add Template API endpoint (#215)

* Remove LdapClient and refactor methods in Authorizer class in interface

* Warning changes

* work in progress

* fixed csv writer

* fix csv file generation

* add shapefile support

* add changelog entry

---------

Co-authored-by: YONG WOOK KIM <ywkim312@users.noreply.github.com>

* 206 show description instead of title for semantics table (#209)

* display description instead of title

* add entry in changelog

* 221 add semantic template link in the html (#223)

* add download

* place link

* Semantic service's type endpoint returns the correct object id (#228)

* type returns the correct object id

* fixed changelog

* 217 add jupyter quota to incore service (#218)

* add incore lab quota

* match the words to make life easier

* changelog

* add toJson method to serialize the model

* add todo

* usage doesn't have service and incoreLab

* Allow semantics to be added to space (#230)

* allow add semantics

* fix more logic

* update comment

* changelog and version bump up

---------

Co-authored-by: YONG WOOK KIM <ywkim312@users.noreply.github.com>
Co-authored-by: Chris Navarro <cmnavarr@illinois.edu>
Co-authored-by: Rashmil Panchani <32737711+Rashmil-1999@users.noreply.github.com>
@longshuicy longshuicy mentioned this pull request Oct 11, 2023
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.

Upgrade geoserver connection
3 participants