Hi,

I am playing with the H2 datastore. Is it normal and acceptable to get the warning:

Sep 15, 2008 9:54:26 AM org.geotools.jdbc.JDBCFeatureStore buildFeatureType
WARNING: Error occured determing srid for testType.the_geom
org.h2.jdbc.JdbcSQLException: Function GETSRID not found; SQL statement: SELECT getSRID("the_geom") FROM "testType" WHERE "the_geom" is not null LIMIT 1 [90022-40]

If not what have I done wrong. I used the Datastore's createSchema to create the table. Here is the featuretype declaration:

    builder.setName("testType")
    builder.setSRS("EPSG:4326")
builder.crs(DefaultGeographicCRS.WGS84).add("the_geom", classOf[Polygon])
    builder.add("metadataId", classOf[String]

Jesse
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to