-
Notifications
You must be signed in to change notification settings - Fork 4
v7 to v8 - none of the WPS work #105
Comments
To check first what is missing from WPS support in V8: TerriaJS/terriajs#4068 |
@juan-guerschman confirmed that the WPS in v8 is working and can be opened by clicking on the text of the item in the catalog explorer. However, in v8 the catalog functions show a |
not working on https://beta.geo-rapp.terria.io/ |
how do I test it? The link above doesn't have the WPS in the catalog. In the one I was using https://beta.geo-rapp.terria.io/ the WPS work but don't show the results in a plot. |
Hi @juan-guerschman sorry I put the wrong test link - I have just updated it. You should be able to see WPS in the catalog now |
thanks. Works fine with point, polygon, but not with "existing polygon". The expected behaviour is to allow the user to click on an existing polygon on the screen. |
OK, I'll look into it and let you know when I have a fix |
Hi @juan-guerschman "existing polygon" should be working now. You can test it with the same link above Cheers, |
point and polygon working fine, but existing polygon still throwing an error: I'm using apolygon from https://geo.abs.gov.au/arcgis/rest/services/ASGS2016/SA2/MapServer/1
|
I've fixed the feature picking issue, please let me know if it works for you. Cheers, |
Never mind, the polygon I selected was too large - the server responded with something like this: expected: 153121,
length: 153121,
limit: 102400,
type: 'entity.too.large' Other than that, it seems to be working! |
Currently there is an issue with calling GSKY WPS through TerriaJS-server For example: Proxied through TerriaJS-Servercurl 'https://geo-rapp.dev.saas.terria.io/proxy/_1d/https://gsky.nci.org.au/ows/geoglam?service=WPS&request=Execute&version=1.0.0' \
-H 'content-type: text/plain;charset=UTF-8' \
--data-raw $'<?xml version="1.0" encoding="UTF-8"?>\n<wps:Execute version="1.0.0" service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">\n <ows:Identifier>geometryDrill</ows:Identifier>\n <wps:DataInputs>\n <wps:Input>\n <ows:Identifier>geometry</ows:Identifier>\n <wps:Data>\n <wps:ComplexData>{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[0.31126143551543944,24.0709775348446,-2158.5837976252737]},"properties":{}}]}</wps:ComplexData>\n </wps:Data>\n </wps:Input>\n </wps:DataInputs>\n <wps:ResponseForm>\n <wps:ResponseDocument storeExecuteResponse="true" status="true"/>\n </wps:ResponseForm>\n</wps:Execute>\n' \
--compressed The request will time-out (504 Gateway Time-out) Direct requestcurl 'https://gsky.nci.org.au/ows/geoglam?service=WPS&request=Execute&version=1.0.0' \
-H 'content-type: text/plain;charset=UTF-8' \
--data-raw $'<?xml version="1.0" encoding="UTF-8"?>\n<wps:Execute version="1.0.0" service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">\n <ows:Identifier>geometryDrill</ows:Identifier>\n <wps:DataInputs>\n <wps:Input>\n <ows:Identifier>geometry</ows:Identifier>\n <wps:Data>\n <wps:ComplexData>{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[0.31126143551543944,24.0709775348446,-2158.5837976252737]},"properties":{}}]}</wps:ComplexData>\n </wps:Data>\n </wps:Input>\n </wps:DataInputs>\n <wps:ResponseForm>\n <wps:ResponseDocument storeExecuteResponse="true" status="true"/>\n </wps:ResponseForm>\n</wps:Execute>\n' \
--compressed Works fine |
I am removing proxy for now - by adding |
This was due to TerriaJS/terriajs-server#146 - fixed by downgrading NodeJS to 14 |
Working dev and test |
Working in production! |
none of our WPS items under "analysis tools" work
{ "name": "Analysis Tools", "type": "group", "description": "The Analysis Tools provide time-series data for selected points (pixels) or regions (polygons). \n\nThe \"Mean for point or region\" function returns the mean value for the vegetation fractional cover fractions and precipitation for a given region or pixel.\n\nThe \"Proportion of region within a Total Vegetation Cover range\" function returns the proportion of a given region within a range of Total Vegetation Cover that you can select. \n\nSimply click on the function and follow the instructions. ", "preserveOrder": true, "items": [ { "name": "Mean for point or region (Monthly)", "url": "http://gsky.nci.org.au/ows/geoglam", "type": "wps", "identifier": "geometryDrill", "description": "This function returns the mean value for the monthly vegetation fractional cover fractions and precipitation for a given region or pixel. Fractional cover includes green cover, non-green cover and bare ground. Total vegetation cover is green+non-green. \n\nYou can provide the name of the polygon or pixel. You can click on a point, draw a polygon or select a polygon already displayed in the screen.\n\nThe output is a graph and the data can be downloaded as a csv file. " }, { "name": "Mean for point or region (8-day)", "url": "http://gsky.nci.org.au/ows/geoglam", "type": "wps", "identifier": "geometryDrill_8day", "description": "This function returns the mean value for the 8-day vegetation fractional cover fractions and precipitation for a given region or pixel. Fractional cover includes green cover, non-green cover and bare ground. Total vegetation cover is green+non-green. \n\nYou can provide the name of the polygon or pixel. You can click on a point, draw a polygon or select a polygon already displayed in the screen.\n\nThe output is a graph and the data can be downloaded as a csv file. " }, { "name": "Proportion of region within a Total Vegetation Cover range (Monthly)", "url": "http://gsky.nci.org.au/ows/geoglam", "type": "wps", "identifier": "geometryDrillPixelFraction", "description": "This function returns the proportion of a given region within a range of Total Vegetation Cover. Total cover is the sum of green and non-green cover. You can provide the name of the polygon. You must provide the lower and upper limits of total vegetation cover. You can click on a point, draw a polygon or select a polygon already diplayed in the screen.\n\nThe output is a graph and the data can be downloaded as a csv file. " }, { "name": "Proportion of region within a Total Vegetation Cover range (8-day)", "url": "http://gsky.nci.org.au/ows/geoglam", "type": "wps", "identifier": "geometryDrillPixelFraction_8day", "description": "This function returns the proportion of a given region within a range of Total Vegetation Cover. Total cover is the sum of green and non-green cover. You can provide the name of the polygon. You must provide the lower and upper limits of total vegetation cover. You can click on a point, draw a polygon or select a polygon already diplayed in the screen.\n\nThe output is a graph and the data can be downloaded as a csv file. " }
The text was updated successfully, but these errors were encountered: