Tag Info

Hot answers tagged

2

Use QGIS and save your layer style as *.sld file. After this, load your *.sld file to the GeoServer and connect your .shp to the right style. you can also use multiply styles for one .shp.


2

A new projection was introduced in GeoServer 2.2 to handle exactly this kind of situation: Better support for un-referenced data with the new EPSG:40400 code that identifies a coordinate system made up of a generic 2D Cartesian plane. Your data will be representated correctly, but it will not be possible to reference it relative to data in another ...


1

You should be able to use the mul function (see Filter Expressions). So something like: <rotation> <mul> <literal>${obj_orientation}</literal> <literal>0.9</literal> </mul> </rotation>


1

Another option can be using User-friendly Desktop Internet GIS (uDig) which is JAVA based. I tested this software to create sld for geoserver. Source can be reached at here.


1

I have a project on Github (http://github.com/ianturton/ShapefileViewer) that does SLD generation from shapefile. It's in Java and based on GeoTools if that's any help.


1

Found this page where someone else had the same problem. Format image/gif does not support opacity. Changing my format to image/png solved the problem.


1

This is just a guess, but I assume, its about the distortion inherent to your Projection EPSG:3574 which is extremal because displaying the pole(s). I guess there's only data in your raster layer until around 85°N or something, and you are trying to display data further north. You could try a projection that is "closer" to EPSG:4326 and then also first ...


1

As far as I checked in code, the feature id (FID) should be put into SVG, but that possiblity is commented out :/ https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/svg/SVGWriter.java private void setUpWriterHandler(SimpleFeatureType featureType, boolean doCollect) throws IOException { if (doCollect) { ...



Only top voted, non community-wiki answers of a minimum length are eligible