On Oct 21, 2010, at 17:46 , Nji, Klaus wrote:

> The Distance element has an attribute of "units", which is of anyURI, for 
> this. 
> 
> <Distance units="your unit goes here">5</Distance>
> 
> However, as I understand it, units are ignored.

That's correct.

http://jira.codehaus.org/browse/GEOS-937

Regards,
Andreas.

> 
> -----Original Message-----
> From: sabman [mailto:[email protected]] 
> Sent: October 21, 2010 11:12 AM
> To: [email protected]
> Subject: [Geoserver-users] DWithin Units
> 
> 
> http://localhost:8081/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&filter=<Filter><DWithin><PropertyName>the_geom</PropertyName><Point><coordinates>28.784925,-80.785889</coordinates></Point><Distance>5</Distance></DWithin></Filter>&propertyName=STATE_NAME
> 
> I am using  the DWithin as above. Just had couple of questions:
> 
> 1) As I went through some forum posts it seems like it uses the units that
> is used in the shapefiles. Is that correct?
> 
> 2) Can I change the units to be anything I want, like meters, etc? If so how
> do I request it?
> -- 
> View this message in context: 
> http://old.nabble.com/DWithin-Units-tp30020477p30020477.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Andreas Hocevar
OpenGeo - http://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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to