Closed uleopold closed 9 years ago
I am getting an error from Proj4js when the vector layer is added to the map. This is likely an issue with the definition of Ludwigsburg's coordinate system. I'll continuing tackling the subject from that side.
Could this be connected to the reprojection issue we had at the beginning of the project? I recall that we did some coordinate reprojection for Ludwigsburg somewhere? But it should not be used anymore, right?
I committed a fix with Ludwigsburg CRS definition ( 2ef6cfac5d3d3cd9bfc494e5d09b33833051259f ) but I can not test it right now.
What happened to the layer 02_clip_pv_potential? Is there any other layer I could use to test the fix?
I have created a new layer to test the fix for Ludwigsburg: it appears in Maps view named as "Sliders test layer", within the Solar Energy group. With this layer the sliders seem to be working now. Please confirm.
It doe snot work with generated data sets from the PV module. Neither for Rotterdam nor for Ludwigsburg. You can check for Ludwigsburg *00_PV_Potential_Centre*\ and for Rotterdam *PV_Bospolder_01***. Both are under Solar Energy.
Note, that for costs you need to use user_cost according to Christian. There is no csum_cost.
After more investigation I came to the conclusion that the sliders themselves are working properly, the problem is with the display of the WFS layer. OL is able to fetch the features and this allows the code to build properly the sliders; they work consistently and the numbers shown are correct. But none of the features are shown in the map canvas. I can not explain why OL is not portraying these (and other) WFS layers. I tried with subsets but it still does not work.
I opened a thread at the OL mail list on this subject: http://osgeo-org.1560.x6.nabble.com/WFS-layer-not-being-portrayed-in-map-canvas-td5166496.html
I will keep investigating.
Now reported at StackExchange: http://gis.stackexchange.com/questions/118721/openlayers-2-wfs-layer-not-being-portrayed-in-map-canvas
Whilst the bug with OpenLayers remains unsolved, it is possible to display the layers in question if additional information is included in the map file. With commit b5a333089d3df7291e48c6a9050269fa33b7fe45 now all layers in the map file have their own CRS block. The map file is valid without these additional blocks, but with the OpenLayers is able to display all the WFS layers generated by the modules.
For Ludwigsburg the sliders are now functioning properly with the layer named 00_PV_Potential_Centre .
I thus propose the closure of this issue.
Can be closed.
The slider does not work for the PV potential for Ludwigsburg (see screenshot). It does neither load the yellow map highlighting nor the green selections.