Re: [Geotools-gt2-users] Read data from .dbf file

2010-04-14 Thread GeoSAN
Thank You Larry! I got it working pretty much the way I want using DbaseFileReader. Thanks a ton for your cut-to-the-chase code! Someone has got to update those API docs! But still, if anyone could please throw some light on this: Does DataStore object store information from the .dbf file also?

Re: [Geotools-gt2-users] Read data from .dbf file

2010-04-14 Thread Larry Reeder
I've had pretty good success with DbaseFileReader, but the javadoc is out of date. Here's an example that should work (warning, I haven't tried to compile this). The example assumes the first field has a character data type and the second has a numeric data type: FileInputStream fis = new FileIn

[Geotools-gt2-users] Problemes with WMSLab and StreamingRender

2010-04-14 Thread Didier CREST
Hello, I search to work the WMSLab examples. But an exception occured : > 14 avr. 2010 17:54:42 org.geotools.renderer.lite.StreamingRenderer paint > GRAVE: null > java.lang.NullPointerException > at > org.geotools.renderer.lite.StreamingRenderer.queryLayer(StreamingRenderer.java:768) > at > or

[Geotools-gt2-users] Read data from .dbf file

2010-04-14 Thread GeoSAN
Hello, As you are soon to realize, I am a complete n00b at Geotools still. I am working on a project to create 3D Models of a building structure using OpenGL. The building structural data is stored in shape files and I am using Geotools to read it and display using OpenGL(actually I am supposed

Re: [Geotools-gt2-users] how to get geotools to draw overlapping features?

2010-04-14 Thread Matthew Kerle
thanks Andrea! that link actually makes a lot of sense of some other things I was wrestling with in geotools (eg PointPlacement/ AnchorPoints/Displacement), I didn't realise that geoserver had such good doco that was missing from geotools (eg - what units they're in, we thought both were pixels,