Hot answers tagged geotools
You read in the shapefile using a shapefile datastore and write out the KML using a KML datastore.
After some exploring (and looking hard at the GeoServer code) I think this is a documentation fail (updated now). The short answer is that you need to add a dependency on gt-svg to your project so that your code has access to SVGGraphicFactory which is used to convert the SVG found at the URL to an icon to be drawn. So just add this to your pom.xml: &...
To access a remote WMS, it is necessary to load it as a store in GeoServer. GeoServer must be able to access the capabilities document of the remote WMS for the store to be successfully loaded. You can't just proxy a layer without creating a store. The easiest way to get the REST file to upload (PUT) is to create the store once by hand (using the normal UI),...
Only top voted, non community-wiki answers of a minimum length are eligible