[Geotools-gt2-users] Remove a Schema for a datastore

2010-08-30 Thread Ivan Willig
Hi list, Right now its not it appears impossible to remove a schema from a datastore. While this may not make sense for a Shapefile, I believe that there are several use cases where one would want to remove a schema, ie layer. Gdal currently supports something similar

Re: [Geotools-gt2-users] [ExternalEmail] Re: What's the difference between gt-postgis and gt-jdbc-postgis

2010-08-30 Thread Yingqi Tang
Just made it work, the problem turns out to be that I didn't include gt-epsg-wkt as dependency. Once I add it, the srid 4326 is recognized as WGS84. org.geotools gt-epsg-wkt ${project.version} Thanks you all for the helpful info. On Mon, Aug 30, 2010

Re: [Geotools-gt2-users] [ExternalEmail] Re: What's the difference between gt-postgis and gt-jdbc-postgis

2010-08-30 Thread Yingqi Tang
I saw this exception in the log: org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is unknown or doesn't match the supplied hints. Maybe it is defined in an unreachable JAR file? Is there a local EPSG database GeoTools is trying to match "EPSG" to? On Fri, Aug 27, 2010 at 11

Re: [Geotools-gt2-users] MrSID Geo Points

2010-08-30 Thread Larry Reeder
Frank, I haven't worked with MrSIDIIOImageMetadata, but I have done the following for GeoTIFFs, which might work in your situation: 1. Get the upper left coordinate from the image metadata 2. Get the pixel width and height in map units. 3. Get the image width and height. 4. Assume pixel width and

Re: [Geotools-gt2-users] FeatureStore and Transaction Problem

2010-08-30 Thread Duane Zamrok
I use Geotools mostly for its CRS and geometry libraries, so I haven't been exposed to feature stores, but it seems to me that a transaction should refer to exactly one operation. For that matter, I'm not sure why closing the transaction should close the underlying connection/connection pool. It

[Geotools-gt2-users] SLD style file

2010-08-30 Thread Mondey
Hi, I am creating SLD style file using geotools api. I sets point image like this. ExternalGraphic eg = styleBuilder.createExternalGraphic("file://point.png", "image/png"); or File file = new File("point.png"); eg = sb.createExternalGraphic(file.toURI().toURL(), "image/png"); As result I receiv

Re: [Geotools-gt2-users] Plotting "com.vividsolutions.jts.geom.Geometry" in a GeoTools MapContext

2010-08-30 Thread Jan Torben Heuer
Paulo Angelo wrote: > Could you send it for us? :) Couldn't find it. Some old svn revision. Have a look at the FeatureBuilder docs in the wiki. The JTS part is easy, then. -- >From address is valid until 01.06.2011 -