Re: [Geotools-gt2-users] FeatureFactory

2008-06-26 Thread Adrian Custer
Hey Tim, Sorry your questions are falling into a void. There are only a few developers who can help you without doing research and they are all under deadlines or traveling right now so they are not as responsive as they often are. We are planning to branch for 2.5 (the messy first release)

[Geotools-gt2-users] SLD Questions: Hot to make hachures / hatchures

2008-06-26 Thread Stefan A. Krüger
Hi I am developing the LGPL AtlasStyler SLD Editor ( try it at http://www.geopublishinrg.org/AtlasStyler, just click the Starte AtlasStyler button ) and i accumulated a bunch of SLD related questions during the last weeks. I will keep posting during the next days. I start with a first one:

Re: [Geotools-gt2-users] SLD Questions: Hot to make hachures / hatchures

2008-06-26 Thread Matt Foster
I think there is an extra 'r' in the original URL... http://www.geopublishing.org/AtlasStyler Stefan A. Krüger wrote: Hi I am developing the LGPL AtlasStyler SLD Editor ( try it at http://www.geopublishinrg.org/AtlasStyler, just click the Starte AtlasStyler button ) and i accumulated a

Re: [Geotools-gt2-users] SLD Questions: Hot to make hachures / hatchures

2008-06-26 Thread Andrea Aime
Stefan A. Krüger ha scritto: Hi I am developing the LGPL AtlasStyler SLD Editor ( try it at http://www.geopublishinrg.org/AtlasStyler, just click the Starte AtlasStyler button ) and i accumulated a bunch of SLD related questions during the last weeks. I will keep posting during the next

Re: [Geotools-gt2-users] Solution and Bug ?: ImagePyramidBuilder and gdal

2008-06-26 Thread Thomas Lutz
Hi list, stupid mistake... thought I'd go the easy way and included all jars in the geotools binary distribution.. bad idea. Better approach was to use the mvn dependency task to aggregate all the gt-coveragetools dependencies, with those dependencies on the classpath only it's working.

[Geotools-gt2-users] Using Geotools to parse WPS response

2008-06-26 Thread David R Robison
I am trying to use GeoTools to parse output from a WPS call to a FeatureCollection object. The GML that I'm trying to parse is: ?xml version=1.0 encoding=UTF-8? wfs:FeatureCollection xmlns:wfs=http://www.opengis.net/wfs;

Re: [Geotools-gt2-users] ImagePyramidBuilder and gdal

2008-06-26 Thread Martin Desruisseaux
Thomas Lutz a écrit : I am trying to build an image pyramid out of an geo tiff with org.geotools.utils.imagepyramid.PyramidBuilder -s D:\shared\LondonMaps\london_2.tif -t 1024,1024 -f 2 -n 4 -w I've downloaded geotools 2.5-M2, added all the libs in there to my classpath and started...

[Geotools-gt2-users] Comments on GeoAPI/GeoTools Design (LONG)

2008-06-26 Thread Tim Swanson
(Sorry for the cross-post. I think this mail legitimately pertains to both GeoTools and GeoAPI.) I first introduced myself to this list about three weeks ago, when I first started working with GeoTools. Since then I have been working on a project in which I inherited an existing code base.

Re: [Geotools-gt2-users] Case Insensitive property filter

2008-06-26 Thread Angel, Eric
I figured it out.. For anyone who's interested, here's the solution: FilterFactory2 ff2 = CommonFactoryFinder.getFilterFactory2(GeoTools.getDefaultHints()); Expression stateProperty = ff2.property(STATEFP); Expression

Re: [Geotools-gt2-users] Comments on GeoAPI/GeoTools Design (LONG)

2008-06-26 Thread Martin Desruisseaux
Hello Tim Thanks a lot for your emails, it is very welcome! My knowledge of Feature model is too limited for being useful, but I will read again your comments carefully and try to learn more. About factories, we are aware that they are not satisfying. An old GeoTools version was using

Re: [Geotools-gt2-users] ImagePyramidBuilder and gdal

2008-06-26 Thread Thomas Lutz
Thanks for your answer Martin and thanks for your offer, I already managed to get it running, basically I made the (stupid) mistake to put all gt jars on the classpath, this caused the gdal problems. I replied to my own post three hours ago with the solution. I was interested in both the files

Re: [Geotools-gt2-users] ImagePyramidBuilder and gdal

2008-06-26 Thread Martin Desruisseaux
Hello Simone Simone Giannecchini a écrit : Martin, do you think it would be a lot of work to make the coverageio-mosaic work with a file structure instead of a db? coverageio-mosaic does not work with any persistence mechanism for tile informations (neither a file structure or a db). The

[Geotools-gt2-users] Creating Polygons and SurfaceBoundarys

2008-06-26 Thread Tim Swanson
I'm beginning to feel like a broken record, and I know the manpower doesn't exist right now to answer. But I think it's a good idea to get these questions on record. I am trying to create a Polygon (org.opengis.geometry.coordinate) using a GeometryFactory (same package). There is a

Re: [Geotools-gt2-users] Creating Polygons and SurfaceBoundarys

2008-06-26 Thread Martin Desruisseaux
Tim Swanson a écrit : I am trying to create a Polygon (org.opengis.geometry.coordinate) using a GeometryFactory (same package). There is a GeometryFactory.createPolygon method but both overloads take a SurfaceBoundary. How do I create a SurfaceBoundary? There is no method to create one in

Re: [Geotools-gt2-users] Creating Polygons and SurfaceBoundarys

2008-06-26 Thread Tim Swanson
On Thu, 2008-06-26 at 23:15 +0200, Martin Desruisseaux wrote: An implementation is under progress (Adrian is working on that), but we can't expect it before months. Thanks Martin. As I'm working on an existing code base that's based on a previous version of GeoTools (and therefore on JTS),

[Geotools-gt2-users] isGeometry()

2008-06-26 Thread Tim Swanson
What is the replacement for the old AttributeType.isGeometry() method? (The method returned true if the type of this attribute was a geometry type.) My guess is: AttributeType.getBinding().isAssignableFrom(Geometry.class) But I wanted to make sure that was right before I made the change and

Re: [Geotools-gt2-users] Case Insensitive property filter

2008-06-26 Thread Jody Garnett
Angel, Eric wrote: You’ll notice that my nameFilter was created with a “false” flag for a case-insensitive match.. I couldn’t find the javadoc, but here’s where I found the example: http://docs.codehaus.org/display/GEOTDOC/Filter+Examples Glad you figured it out; feel free to update that

Re: [Geotools-gt2-users] FeatureTypeFactory

2008-06-26 Thread Jody Garnett
Tim Swanson wrote: What is the proper way to create an org.opengis.feature.FeatureTypeFactory (other than by directly instantiating an org.geotools.feature.FeatureTypeFactoryImpl)? There is a common factory finder thing; and the feature type builder will make use of it by default; the

Re: [Geotools-gt2-users] Types vs. Descriptors

2008-06-26 Thread Jody Garnett
Hi Tim, I have a nice table in my training course showing the similarities between the new feature model and a type system everyone is familiar with ... Java; I will try and include JavaBeans as an example as well so you get the idea of how a popular dynamic type system handles these kinds of

Re: [Geotools-gt2-users] isGeometry()

2008-06-26 Thread Jody Garnett
This method was lame; it was exactly the same as calling - attributeType instanceof GeometryAttributeType So if you have code like that please check to see if your - attributeDescriptor instanceof GeometryAttributeDescriptor You will also find that GeometryAttributeDescriptor allows: - you to

Re: [Geotools-gt2-users] check if geometry touches envelope

2008-06-26 Thread Jody Garnett
If your geometry was a line and the points were to to the left and above your bounding box you would never find it; even though it does cross. + line geometry _/__ |/ | /bbox| /|| + Please use the JTS Geometry class method for these kinds of tests... here are my