Thank  you very much!
I change the SLD and the shadow can be showed.
 
> Subject: Re: SLD validation errors
> From: grol...@opengeo.org
> To: lv....@live.cn
> CC: geoserver-users@lists.sourceforge.net
> Date: Tue, 26 Oct 2010 13:24:41 -0300
> 
> The SLD won't validate when using extensions sometimes, just ignore xmls
> schema validation, geoserver will properly parse the file.
> 
> I'm not sure if the nyc_buildings layer you mention is one shipped with
> GeoServer by default or not, in any case, remember the geometry
> transformations in the SLD are applied to the geometries in their native
> coordinate reference system, so if nyc_buildings is in a CRS with meter
> units the values used in the transformation are negligible an you won't
> notice it.
> 
> hope that helps,
> Gabriel
> 
> On Tue, 2010-10-26 at 02:57 +0000, lv wrote:
> > Hi, 
> > 
> > Does the geometry transformations need SLD Extensions? How to add this
> > plugin to Geoserver war file?
> > I download SLD file (shadow.sld) from
> > http://docs.geoserver.org/stable/en/user/styling/sld-extensions/geometry-transformations.html
> > But I get validation errors:
> > org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content
> > was found starting with element 'ogc:Function'. One of
> > '{"http://www.opengis.net/ogc":PropertyName}' is expected. 
> > Does it because the SLD extension has not been installed?
> > 
> > I create a new layer named nyc_buildings3 based on nyc_buildings.
> > Then, I apply the shadow.sld to it and omit the validation error. 
> > Third, I create a layer group and add nyc_buildings and
> > nyc_buildings3.
> > However, I cannot see the shadow.
> > 
> > 
> > > Subject: Re: [Geoserver-devel] How to modify getmap
> > > From: grol...@opengeo.org
> > > To: lv....@live.cn
> > > CC: jody.garn...@gmail.com; geoserver-de...@lists.sourceforge.net
> > > Date: Mon, 25 Oct 2010 22:08:19 -0300
> > > 
> > > If all you need is styling with 20m offset (instead of providing
> > > corrected data) using geometry transformations in your SLD might be
> > all
> > > you need:
> > >
> > <http://blog.geoserver.org/2010/03/17/extending-your-map-styling-with-geometry-transformations/>
> > > 
> > > Gabriel
> > > 
> > > On Mon, 2010-10-25 at 02:34 +0000, lv wrote:
> > > > 
> > > > 
> > > > Hi ,
> > > > 
> > > > Thanks for your reply. I need to offset the map because most
> > > > programmers will not on client site. The client does not want to
> > > > provide correct data outside their office. Originally, they use
> > > > ArcGIS. But this time my boss wants to change Geoserver. 
> > > > 
> > > > request 20 meters: do you mean after publishing the map , the java
> > or
> > > > web application requests the corrent map and plus 20 meters
> > distance?
> > > > 
> > > > 
> > > > 
> > > >
> > ______________________________________________________________________
> > > > Subject: Re: [Geoserver-devel] How to modify getmap
> > > > From: jody.garn...@gmail.com
> > > > Date: Sat, 23 Oct 2010 14:03:22 +1000
> > > > CC: geoserver-de...@lists.sourceforge.net
> > > > To: lv....@live.cn
> > > > 
> > > > You may consider changing things on the other end; ie request 20
> > > > meters south :-)
> > > > 
> > > > 
> > > > Why the distance of 20 mins? Is your data wrong; or are you trying
> > to
> > > > combine two data sets and they are not lining up?
> > > > 
> > > > 
> > > > Jody
> > > > 
> > > > On 22/10/2010, at 3:24 PM, lv wrote:
> > > > 
> > > > I just download and import Geoserver source code to Eclipse.
> > > > I need to modify getMap so that after read the GIS data from
> > > > DB this function move all Coordinates.
> > > > For example, all Coordinates are moved to north 20 meters.
> > > > How to modify this function at Geoserver?
> > > > Thanks
> > > >
> > ------------------------------------------------------------------------------
> > > > Nokia and AT&T present the 2010 Calling All Innovators-North
> > > > America contest
> > > > Create new apps & games for the Nokia N8 for consumers in
> > > > U.S. and Canada
> > > > $10 million total in prizes - $4M cash, 500 devices, nearly
> > > > $6M in marketing
> > > > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to
> > > > Ovi Store 
> > > >
> > http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
> > > > Geoserver-devel mailing list
> > > > geoserver-de...@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> > > > 
> > > > 
> > > > 
> > > >
> > ------------------------------------------------------------------------------
> > > > Nokia and AT&T present the 2010 Calling All Innovators-North
> > America contest
> > > > Create new apps & games for the Nokia N8 for consumers in U.S. and
> > Canada
> > > > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> > marketing
> > > > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
> > Store 
> > > > http://p.sf.net/sfu/nokia-dev2dev
> > > > _______________________________________________ Geoserver-devel
> > mailing list geoserver-de...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> > > 
> > > -- 
> > > Gabriel Roldan
> > > grol...@opengeo.org
> > > Expert service straight from the developers
> > > 
> 
> -- 
> Gabriel Roldan
> grol...@opengeo.org
> Expert service straight from the developers
> 
                                          
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to