Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
MultiPolygon or MultiPoint? – Mapperz Aug 10 '12 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.