-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Identify Tool] GetFeatureInfo request - increase the default value of feature_count #413
Comments
@catmorales have you try something like that ? geosolutions-it/MapStore2#4238 (comment) --> localConfig default state
In the
|
@Gaetanbrl Merci je vais essayer dans le config.json. |
After a test, |
Same thing for me with the parameter infoFormat . It doesn'nt work in localConfig.json but it works in config.json. |
Maybe not catched by MapStore and seems undefined in the store if you just set |
mapInfo in localConfig establish only the initial state for new created maps. Therefore, setting maxItems there for exsting maps doesn't work because the saved map state (mapInfoConfiguration) is not overridden in that case.
Yes, in geOrchestra the default map uses config.json for the map configuration (the same for the default map in app context). We will improve anyway that configuration tier for the identify by centralizing the default config at plugin level in geosolutions-it/MapStore2#5504 |
nice, because the existing 'two ways to configure distinct settings' for the identify plugin is a bit confusing :) |
I'd like to increase by default the value of feature_count. in the GetFeatureInfo request generated by the Identify tool.
How to do it ?
In mapfishapp the value is 1000, in mapstore it's 10.
Example of request on the same layer:
https://portail-test.sig.rennesmetropole.fr/geoserver/ows?service=WMS&version=1.1.1&request=GetFeatureInfo&exceptions=application%2Fjson&id=espub_esv:gev_bois__9&layers=espub_esv:gev_bois&query_layers=espub_esv:gev_bois&x=51&y=51&height=101&width=101&srs=EPSG:3857&bbox=-183261.614226961,6128262.782045326,-182805.67218742697,6128718.724084861&feature_count=10&info_format=application%2Fjson&ENV=
*https://portail-test.sig.rennesmetropole.fr/geoserver/ows?SERVICE=WMS&LAYERS=espub_esv%3Agev_bois&QUERY_LAYERS=espub_esv%3Agev_bois&STYLES=&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&EXCEPTIONS=XML&BBOX=-184078.166952%2C6128149.300027%2C-183411.731612%2C6129047.43511&FEATURE_COUNT=1000&HEIGHT=752&WIDTH=558&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gml&CRS=EPSG%3A3857&I=317&J=296
@tdipisa Can you answer me on this point?
The text was updated successfully, but these errors were encountered: