-
Notifications
You must be signed in to change notification settings - Fork 3
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
profile from imported geojson fails #12
Comments
my file was
so the code in https://github.com/georchestra/mapstore2-longitudinal-profile/blob/main/js/extension/enhancers/processFile.js#L26 doesnt accept a geojson extension ? |
per https://github.com/georchestra/mapstore2-longitudinal-profile/blob/main/js/extension/epics/setup.js#L75 apparently the only supported projections are the one defined in trying with my geojson file converted to EPSG:2154 and named
|
guess i'll try first to rebuild the profile extension (as seen in georchestra/mapstore2-cadastrapp#182), pointing the ms2 submodule to what's in ms2-geor 2023.02rc2. Or maybe i'll just give up on this external extension and just use the one shipped in ms2 :) |
Can you share how to use the one shipped in Mapstore if you succed ? Maybe we should use this one as default if it work, and remove this repo ? |
i've renamed the
i have the new extension icon in the sidebar: but it seems my configuration isnt applied, eg in the params i dont have the list of referentials, and if trying to draw a path the WPS process called is i've tried and it isnt in the list of available plugins to add in a context (as the PR mentions it isnt enabled by default and can only be added in a context..) it isnt documented yet either on https://mapstore2.geosolutionsgroup.com/mapstore/docs/api/plugins |
coming back to this external extension, rebuilt it locally by changing the mapstore2 submodule to point at geosolutions-it/MapStore2@c4f94e3b7b like 2023.02rc2, loading the EPSG:2154 json file, mapstore still blows hard.
seems to point at https://github.com/georchestra/mapstore2-longitudinal-profile/blob/main/js/extension/enhancers/useFile.js#L18 or around there.. |
after adding this section https://github.com/geosolutions-it/MapStore2/blob/6a95a9fb293dcabbe320c790a0c322b3512055e1/web/client/configs/pluginsConfig.json#L643 to pluginsConfig.json i can add the ms2 builtin plugin in a context, but the configuration isn't applied (even if saved in the plugin config in the context). @tdipisa which way should it work ? was the plugin config override properly tested ? should we drop this external plugin, and move our platforms to use the one coming from ms2 ? |
@landryb I dont know if it can help but I've tried recently to use it and I saw in the documentation that the new WPS can be used with the 2.20 geoserver release only (we are in 2.18) : |
i dont think it matters since the wps gs extension itself works fine for this external extension; the above doc is for the plugin that was added to mapstore core (but the code should be the same anyway) |
closing this issue because:
|
I'm using this plugin because we are still with a 2.17 geoserver and thevnew front is not available with Julien's WPS . Thank you so much Landry. |
i know there's been a plugin added to mapstore upstream in geosolutions-it/MapStore2#9241 so maybe this external extension will get abandoned/deprecated, but in the meantime i've been testing it and it works fine drawing a path.
trying to import a geojson fails though, it's a simple track layer exported from a gpx and converted to geojson by ogr2ogr. The geojson opens fine in QGIS.
The text was updated successfully, but these errors were encountered: