Tag Info

New answers tagged

2

You can use both options. For Option a) you don't need to create a specific SLD providing the image is RGB. GeoServer will pick the channels automatically, if you do indicate them separately you might cause unnecessary processing. Option b) requires less processing and should work fine but it might be slightly slower since you will do the transcoding from ...


0

Create your style using the SLD tool from geoserver. That why it is there ! U can also use QGIS to generate the SLD (SLD4raster) see plugin Also if you tiff file is big u can use the geoserver mosaic plugin mosaic


2

If you style your polygon with a point symbolizer it will be displayed by a point. So all you need is two symbolizers (one point, one polygon) in a pair of rules with scale constraints on them. EDIT: Here's a simple SLD example: <FeatureTypeStyle> <Rule> <MaxScaleDenominator>500000</MaxScaleDenominator> ...


2

I'm not aware of a point/polygon geometry so you will have to publish two layers. I've done this same effect before adding the two different layers into a layer group and using min/max zoom level scales on each sld file so when zoomed in you see the polygon layer and when zoomed out only the centroid points show.


0

I can't see anything obvious wrong, comparing http://www.edpp.cz/geoserver/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=test_zabaged&WIDTH=256&HEIGHT=256&CRS=EPSG%3A102067&STYLES=&BBOX=-635683.8400000001%2C-1115608.4479999999%2C-635171.7760000001%2C-1115096.3839999998 and ...


0

I guess your map is tiled, and GeoServer by default won't paint partial labels, those crossing tile boundaries, as there is no guarantee the other half will be visible. You can force them to appear like this: <VendorOption name="conflictResolution">false</VendorOption> <VendorOption name="partials">true</VendorOption> You will ...



Top 50 recent answers are included