I would like to know how to create an instance of a Multipoint from a PostGIS database..

I do the query , then got the ResultSet named "area" , the column with MultiPolygon attributes is named "geom" so i do the following:

MultiPolygon m = (MultiPolygon)area.getObject("geom");

xD forced cast Doesn't work though! :\

Anyone? Thanks

  • MultiPolygon or MultiPoint? – Mapperz Aug 10 '12 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.