[Geoserver-users] Filter by geometry

2013-04-01 Thread Сергей Колосов
Hi all.
I'm trying to apply filter WITHIN to WMS layer from OpenLayers:

WITHIN(the_geom, POLYGON((35 49, 35 51, 39 51, 39 49, 35 49)))

Everything works fine until i use PostGIS layer instead of Shapefile . Then
i need to use the geom field.
So the question is how can i know what field to use if i have both PostGIS
and Shapefile layers?
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Python WPS scripting broken in Geoserver 2.3.x

2013-04-01 Thread Justin Deoliveira
Thanks for digging in on this everyone. I have tracked the problem to an
issue in the upstream geoscript-py dependency and created this issue.

  https://jira.codehaus.org/browse/GEOS-5742

Should be a straight forward fix, wil update shortly.


On Fri, Mar 29, 2013 at 5:07 AM, Tom van Tilburg
tom.van.tilb...@gmail.comwrote:

 Ami, that fixed it.
 Thanks so much!

 Is any filing of this needed somewhere?

 --Tom

 On 28-3-2013 17:14, arahav wrote:
  Tom,
 
  Looks like org.geotools.process.feature.gs in GeoTools 8 was replaced
 with
  org.geotools.process.vector in GeoTools 9.
  Try copying gt-process-feature-8-SNAPSHOT.jar from Geoserver 2.2.x to
 your
  Geoserver 2.3 installation. The WPS example should now work.
 
  Ami.
 
 
 
 
  --
  View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Python-WPS-scripting-broken-in-Geoserver-2-3-x-tp5043036p5043574.html
  Sent from the GeoServer - User mailing list archive at Nabble.com.
 
 
 --
  Own the Future-Intelreg; Level Up Game Demo Contest 2013
  Rise to greatness in Intel's independent game demo contest.
  Compete for recognition, cash, and the chance to get your game
  on Steam. $5K grand prize plus 10 genre and skill prizes.
  Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
  ___
  Geoserver-users mailing list
  Geoserver-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geoserver-users



 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geotools-devel] PropertyType bindings

2013-04-01 Thread Jody Garnett
Moving the conversation to the user list (we tend to keep geotools-devel
for those working on the library).

The answer is it depends on what your source data can provide, some of the
JDBC DataStores can provide Date, UUID and other types.

For Shapefile you best look at the source code to see what it supports ...
shapefile saves attributes into a DBF so
DbaseFileHeader.javahttps://github.com/geotools/geotools/blob/master/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/dbf/DbaseFileHeader.javawould
be about right.

There is a getFieldClass method with
javadocshttp://docs.geotools.org/latest/javadocs/org/geotools/data/shapefile/dbf/DbaseFileHeader.html#getFieldClass(int)describing
what is available.


Jody


On Tue, Apr 2, 2013 at 8:10 AM, Adam Brin adam.b...@asu.edu wrote:

  I'm just starting with GeoTools, so apologies if this is obvious, but
 I'm trying to read and process a set of shapefiles and could use some help
 with PropertyTypes. Specifically, is there documentation somewhere (a
 simple google search did not uncover any) of what the various objects could
 be returned by a call to PropertyType.getBinding(). Thusfar, I've seen
 String, Double, Long, MultiLineString.  The javadoc suggests (
 http://docs.geotools.org/latest/javadocs/org/opengis/feature/type/PropertyType.html)
 Integer is another, but is there a complete list?

  Thanks,

  adam

  _
 Adam Brin
 Director of Technology, Digital Antiquity
 480.965.1278


 --
 Own the Future-Intelreg; Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest.
 Compete for recognition, cash, and the chance to get your game
 on Steam. $5K grand prize plus 10 genre and skill prizes.
 Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
 ___
 GeoTools-Devel mailing list
 geotools-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geotools-devel


--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users