Hi,

> I've some questions about Geotools. Please beĀ forgiven with me.

Everyone is nice here :)

> 1) How can I show data which are coming from PostGIS?
> 2) How can I write queries to extract geometrical data from PostGIS?

Have a look at this example app (note to self: create a postgis lab web page !)

http://svn.osgeo.org/geotools/branches/2.6.x/demo/example/src/main/java/org/geotools/demo/PostGIS2Example.java

It doesn't draw a map but it shows you how to connect to PostGIS and
query feature data.

> 3) I want add a menu to my application to change features style. For this, I
> saw StyleLab class, but I didn't find on which moment "Simple style maker"
> JFrame has been created!

Oops - sounds like the example text is out of date, sorry about that.

Have a look here:
http://geotools.org/javadocs/org/geotools/swing/styling/JSimpleStyleDialog.html

Hope this helps,
Michael

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to