Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.