Hi,
I've tried to use the code from
http://freeopengis.blogspot.com/2016/02/importing-esri-shapefiles-into-dbs.html
(shapeToPostgis example)
But I can't get it to work getting the following message :
INFO: ALTER TABLE "public"."ED_ENR_5_4_Saarland_en_2018-10-11" ADD CONSTRAINT
enforce_dims_the_geom CHECK (ndims("the_geom") = 2);
ERROR:java.io.IOException: ERROR: function ndims(geometry) does not exist
Hint: No function matches the given name and argument types. You might need
to add explicit type casts.
When The program executes this command:
dataStore.createSchema(newSchema);
I've tried to read about and understand the exposed hint but I can't.
Can anyone please help?
Using geoTools 2.7 - jar files
Kind regards,
Paul
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users