fadeoutsoftware / WASDI

Web Advanced Space Developers Interface
http://www.wasdi.net
GNU General Public License v3.0
13 stars 5 forks source link

Shape file visualization #748

Open mmenapace opened 3 months ago

mmenapace commented 3 months ago

Working with various type of shapefiles we've encountered some problems with the visualization.

In order:

All the files involved were double checked in QGIS and, there, they were working as expected.

mmenapace commented 3 months ago

After a first evaluation, working directly with the geoserver UI, we've managed to serve lines files leveraging the style "line" natively availble in GeoServer. For point-based shapes a "point" style is also available. After manually switching the render is correct.

Without any further specification WASDI assign "polygon" native style. With this lines are rendered with "grey area" in between lines, points are not renderd at all.

A quick possibility to fix the would be to expose point and line in WASDI itself. In this case the user should select the correct one. An even better approach would be to infer the correct style from the shapefile itself during publish band.