I updated to a GeoServer nightly downloaded just now.
But I still see pixelly flags, not as nice as your output.
This is probably an obvious question, but do I need to go to the GeoTools site and get an updated version of one ore more jars there as well?
(Hatches still disappear from PDF output too)
-----Original Message-----
From: geoserver-devel-bounces@lists.sourceforge.net [mailto:geoserver-devel-bounces@lists.sourceforge.net] On Behalf Of Freeman, Aleda (EEA)
Sent: Tuesday, February 09, 2010 10:40 AM
To: 'Andrea Aime'
Cc: Geoserver-devel
Subject: Re: [Geoserver-devel] Improvements in PDF and SVG rendering
OK, I got the burg style working:
http://maps.massgis.state.ma.us/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=massgis:archsites&styles=burg&bbox=589860.0,4914479.0,608355.0,4926490.0&width=512&height=332&srs=EPSG:26713&format=application/openlayers
and the PDF generates, but the flags don't look that great
http://maps.massgis.state.ma.us/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=massgis:archsites&styles=burg&bbox=589860.0,4914479.0,608355.0,4926490.0&width=512&height=332&srs=EPSG:26713&format=application/pdf
so I think I need to get a fresher nightly to see the improvements. Hopefully that will take care of the missing hatches too.
Will let you know!
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Tuesday, February 09, 2010 10:07 AM
To: Freeman, Aleda (EEA)
Cc: Geoserver-devel
Subject: Re: [Geoserver-devel] Improvements in PDF and SVG rendering
Freeman, Aleda (EEA) ha scritto:
I tried to take a closer look at this in my 2.0.1 (nightly from
2/1/2010).
I can get the states shapefile and pophatch style to draw OK in
OpenLayers:
http://maps.massgis.state.ma.us/geoserver/wms?service=WMS&version=1.1.
0&request=GetMap&layers=massgis:states&styles=pophatch&bbox=-124.731,2
4.956,-66.97,49.372&width=780&height=330&srs=EPSG:4326&format=applicat
ion/openlayers
but generating the PDF drops the hatching:
http://maps.massgis.state.ma.us/geoserver/wms?service=WMS&version=1.1.
0&request=GetMap&layers=massgis:states&styles=pophatch&bbox=-124.731,2
4.956,-66.97,49.372&width=780&height=330&srs=EPSG:4326&format=applicat
ion/pdf
Odd? I've just tried with my local version and hatches are generated just fine? See attached PDF.
I can generate PDF from other layers with fills (but they are a
different kind of fill).
I'd try the flags example, but I'm not sure which shapefile and style
belong to that one. I have a flags.xml with no flags.sld in the
styles dir.
The flags style in my release configuration is actually called "burg"
(might mean flag in some language, I don't know...
) I've attached the sld and the svg
Possibly when you activated the new code path it hasn't yet made it
into the version I'm trying?
Maybe your nightly is a little old? Not sure
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel