Comments (7)
as agreed with @tdipisa we will harden more the geoprocessingtool adding
- a check that verify that if wpsUrl is not configured or the layer.url is not present it disables the run button by informing the user, this will prevent to run into errors messages that can be avoided with correct configuration
- we can add a default config in the pluginsCfg with "wpsUrl":"https://yourdomain/geoserver/wps"
from mapstore2.
that context was missing a key property as it it the wpsUrl
i have fixed the demo_context cfg of GeoProcessingTool and now it is working
can i close this @tdipisa ?
from mapstore2.
@MV88 I don't think the issue can be closed. I didn't understand which config fix you applied. Can you please better specify it.
In any case it seems the tool now no longer works as before: for each layer I've selected (e.g. for the buffer) I have the following, which leads me to think there is some missconfiguration now:
Can you please review again?
from mapstore2.
yes I misstyped the protocol
this is the cfg added
{
"cfg": {
"wpsUrl": "https://gs-stable.geo-solutions.it/geoserver/wps",
"selectedTool": "buffer",
"buffer": {
"quadrantSegments": 200,
"capStyle": "Round"
}
},
"override": {}
}
try again
from mapstore2.
@MV88 thank you. It is working now. Is there something to fix on the JS documentation for this or something to fix in the plugin default config for contexts? If no, please feel free to close the issue.
from mapstore2.
I think that we could close this issue. the thing is that every time this property is not configured it will cause this issue because
- the source is a generated vector layer
- this needs a geoserver behind
solutions
- we can maybe introduce a default value pointing to out geoservers this would avoid this issue even tough is not ideal.
- otherwise we have to block the run button when this situation occurs
what do you think ?
from mapstore2.
Actually i have found a fix that shows the correct error message, i'll proceed this way instead of changing workflow in the ui
also point 2 makes this fix not working so is better to simply correctly handle the error as proposed here
from mapstore2.
Related Issues (20)
- Missing libraries in Printing-module of the release HOT 1
- Improving printing bundle build
- Binary JRE not working well with printing-module
- Support multiband max / min value for COG
- Remove the 'Change Password' functionality if the logged in user account is managed via LDAP
- Available formats for background are not including image/vnd.jpeg-png8
- MapStore leaks tomcat version number HOT 1
- Print legend for arcgis layers
- Remove the list of associated groups of logged in user from the User Details modal window HOT 1
- Share tool - the 'Add place mark and zoom to sharing link' option is not applied correctly
- Use Guide - ArcGIS Interoperability
- The measure tool is not opened properly if Measure plugin has 'showCoordinateEditor' with true into cfg.defaultOptions
- Manage the persistence of the catalog properties and services settings for geostory
- Search Plugin - JavaScript console error after first search executed on search bar HOT 7
- Dev Guide - Add new missing GeoServer Extensions HOT 1
- Dev Guide - Add new missing GeoServer Extensions
- Add support for hidpi "retina" tile layers
- Changing theme CSS HOT 6
- Dashboard - Save catalog services at the map level in the dashboard and not at the dashboard level
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapstore2.