Re: [Geotools-gt2-users] Save MapContext to Shape File?

2009-11-18 Thread Michael Bedward
Hi Oliver, I don't know if this is what you're looking for, but CRSLab illustrates displaying a shapefile, reprojecting it in the map context and then exporting the reprojected features to a new shapefile... http://geotools.org/examples/crslab.html Michael --

[Geotools-gt2-users] Save MapContext to Shape File?

2009-11-18 Thread Oliver Gottwald
Hola, Is there an example or way to save a MapContext to a shape file? I have a nice working example of saving a MapContext to a image. I was looking at the csv2shp example but it is just directly from the data collection without any MapContext layers or styles. Oliver

Re: [Geotools-gt2-users] [ExternalEmail] Re: GML Encoding problem

2009-11-18 Thread Ben Caradoc-Davies
On 18/11/09 15:28, Ben Caradoc-Davies wrote: > If you want an optional element, define a top-level feature type, and > declare inside it an optional element in the xs:sequence using > minOccurs="0". Sorry, that was rather unclear. If you want an optional element, define a top-level feature type a

Re: [Geotools-gt2-users] Making Rule Inactive?

2009-11-18 Thread Oliver Gottwald
Andrea, The following is what I'm trying to do: In the toolbar i created a JCheckbox named 0_name I do a split on the 0_name with the layer as 0 index in the mapLayer and the TextSymbolizer defined name as name I define a PointSymbolizer and TextSymbolizer for the Layer 0 in my MapContext What