Re: [Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Jody Garnett
Well I have an old tutorial on how to start: - http://docs.codehaus.org/display/GEOTDOC/DataStore+Developers+Guide The code has been updated since then; but it is available in svn - as the plugin/property module. - http://svn.geotools.org/trunk/modules/plugin/property/src/main/java/org/geotools/

[Geotools-gt2-users] How to render point feature with text label

2008-05-13 Thread Greg Ederer
Hi, I am new to GeoTools. I need to render point features in a JMapPane with each point represented by a dot with some adjacent text (the value of a feature attribute). I can render the dots using: private static Style createPointStyle() { Style style; PointSymbolizer symbolizer =

[Geotools-gt2-users] Can you sign up for our user list?

2008-05-13 Thread Jody Garnett
I saw your question as a comment; which I am removing now .. if you sign up to the user list we can manage to help you. Jody > 1?I don`t how to use the "Filter with Geooperation", and what dose > mean of the parameter in "CQL.toFilter( "BBOX(ATTR1, 10,20,30,40)" )"? > > 2?what are different betw

[Geotools-gt2-users] Features, Shapes, and PostGIS Oh My

2008-05-13 Thread Steven Fines
Fellow users, Thanks for your previous help regarding filtering for features, as I didn't know quite how to approach that problem. Now I have an extension of the problem which I think I can answer but I want to understand some of the elements first: Description of the problem: I have 18 sha

Re: [Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Farrukh Najmi
Hi Jody, Perhaps I should find out what is involved in creating a new DataStore. I scanned the developer docs but did not get a comfortable sense of how to create a new DataStore. Can you give a high level sketch of what it would take to implement a HibernateSpatialDataStore. Based on your ex

Re: [Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Farrukh Najmi
Thank for the feedback. I might consider the hibernate-spatial community module after I am a little more familiar with geotools code base. Right now I am too much of a newbie. Jody Garnett wrote: > Go for it; we have made a GeoTools datastore for hibernate previously > (on a commercial project

Re: [Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Jody Garnett
Go for it; we have made a GeoTools datastore for hibernate previously (on a commercial project) we ended up using the existing geotools expression writing code to supplement the hibernate Criteria as I recall. There are a couple of tricks: - Hibernate is good at getting back entire objects; ofte

[Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Farrukh Najmi
The hibernate spatial project [1] project provides some degree of spatial database independence and leverages hibernate which in turn leverages Java Persistence API. Has the geotools dev team considered using hibernate spatial for db access? If so, I would be interested in the archived discuss

[Geotools-gt2-users] GML 3 support

2008-05-13 Thread Farrukh Najmi
I was potentially misled into believing that geotools did not have GML 3 parsing encoding support due to this page only mentioning GML 2: Looking into the latest trunk bits I see org.geotools.gml3 package which seems to have GML 3 pars

Re: [Geotools-gt2-users] using swt for designing a viewer for feature

2008-05-13 Thread Jody Garnett
Two ways: - make a graphics 2d around SWT (you can find open source projects that do this) - make a SWT Image (with say ARGB order) and then wrap a BufferedImage around the raw bytes, ask the BufferedImage for a Graphics2d for the geotools renderer to use and are are done... Note we have the ge

Re: [Geotools-gt2-users] geotools arc

2008-05-13 Thread Jody Garnett
I don't think that is implemented yet - right now the geometry module has implementations for straight line constructs only. Jody > When implements method public Arc createArc(Position startPoint, Position > midPoint, Position endPoint) in class > > org.geotools.geometry.iso.coordinate.GeometryFac

[Geotools-gt2-users] FOSS4G 2008 Call for Papers: Deadline Extension to May 23, 2008

2008-05-13 Thread Paul Ramsey
>From the trenches... P -- We are pleased to announce an extension in the abstract submission deadline for the 2008 Free and Open Source Software for Geospatial (FOSS4G) conference, incorporating GISSA 2008, being held from 29 September to 3 October, in beautiful Cape Town, South Africa. This is d

Re: [Geotools-gt2-users] ApplicationSchemaConfiguration raise a null pointer exception

2008-05-13 Thread gershwinou
Not any clue On Thu, May 8, 2008 at 3:47 PM, gershwinou <[EMAIL PROTECTED]> wrote: > Hi, > I am using ApplicationSchemaConfiguration for parsing a gml3 schema (here: > http://cweb.ksat.no/cweb/schema/geoweb/vessel/wfsvd.xsd) with gt 2.4.1 > with a test file, when i launch my code i get a null poi

Re: [Geotools-gt2-users] Transform from WritableRaster coordinates(pixels) to Envelope2D coordinates

2008-05-13 Thread Anaxa Gore
Hello, I am back with my problem... I am always trying to put some information into my raster, but it seems that my MathTransform does not give me the good tranformation... I am doing this : int rasterSizeY = gc2d.getRenderedImage().getHeight(); int rasterSizeX = gc2d.getRenderedImage().getWidth(

[Geotools-gt2-users] using swt for designing a viewer for feature

2008-05-13 Thread aymen83
hi, i still the problem of incompatibility between swing and swt. Any idea of about to use geotools's components with geotools thanks -- View this message in context: http://www.nabble.com/using-swt-for-designing-a-viewer-for-feature-tp17205624p17205624.html Sent from the geotools-gt2-users m

Re: [Geotools-gt2-users] Shapefile query

2008-05-13 Thread Gabriel Roldán
use a Filter: cheers, Gabriel On Monday 12 May 2008 06:20:10 am Steven Fines wrote: > Dear users, > > I'm a skilled java developer, but a novice to Spatial development, so > this may be quite noobish. I have a DBF file with land parcels >