[Geoserver-users] help: problem rendering postgis multipolygon with geoserver 1.6.4

i am using geoserver 1.6.4 on windows. my database is postgresql/postgis and
there are some problems whith rendering multipolygones.

i exported several layers (shape) with qgis to my postgis database. if
featuretype=polygon, line or point everything works just fine. but i am
having problems with geoserver 1.6.4 displaying a multipolygon feature.

my problam is that of a random multipolygon feature there are only some
objects displayed, sometimes just one - doesnt matter weather im using open
layers, mapbender, export to pdf, ...! kml does not work!

zooming in would sometimes change the display -> sometimes i get more than
one feature displayed.

well, my question:
is it a known issue of geoserver, that there are problems rendering
multipolygon features or am i doing somthing wrong?

i also tried all possible rendering configurations in the administration
view.

thanks for helpng me
--
View this message in context: http://www.nabble.com/help%3A-problem-rendering-postgis-multipolygon-with-geoserver-1.6.4-tp18534632p18534632.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

bpolzer ha scritto:

i am using geoserver 1.6.4 on windows. my database is postgresql/postgis and
there are some problems whith rendering multipolygones.

i exported several layers (shape) with qgis to my postgis database. if
featuretype=polygon, line or point everything works just fine. but i am
having problems with geoserver 1.6.4 displaying a multipolygon feature.

my problam is that of a random multipolygon feature there are only some
objects displayed, sometimes just one - doesnt matter weather im using open
layers, mapbender, export to pdf, ...! kml does not work!

zooming in would sometimes change the display -> sometimes i get more than
one feature displayed.

well, my question:
is it a known issue of geoserver, that there are problems rendering
multipolygon features or am i doing somthing wrong?

i also tried all possible rendering configurations in the administration
view.0

I have a layer with countries in postgis that displays fine, those are definitely multipolygons. So, it may be that various of your geometries
are invalid? Or that you have a mix of polygons and multipolygons?
All geometries shall be the same type, and that type shall be equal
to the one declared in geometry_columns. Maybe check that, otherwise
switch logging to geotools_developer configuration and try and see if
the log gives you any clue.

Cheers
Andrea

thanks for your answer!

i dont have problems whith any multipolygone features, maybe should have
said that.

example:
1) i import germany to postgis. its a multipolygone - the polygone germany
(one poly) and some ilands. everything works!
2) i import germany to postgis. its a multipolygone - the polygone of
germany is devided in some countries (bavaria, berlin, ...), so some of the
polygons share a border! i guess i always got the problem, is some polygones
share a border!

maybe there are other ideas now.

i can load any of my multipolygon features in qgis or arcmap, no problems
than. so i think it has to be a geoserver redering thing. maybe it has to do
whith the styles, but by now i dont hav a lot of experiance whith that.

basti

aaime wrote:

bpolzer ha scritto:

i am using geoserver 1.6.4 on windows. my database is postgresql/postgis
and
there are some problems whith rendering multipolygones.

i exported several layers (shape) with qgis to my postgis database. if
featuretype=polygon, line or point everything works just fine. but i am
having problems with geoserver 1.6.4 displaying a multipolygon feature.

my problam is that of a random multipolygon feature there are only some
objects displayed, sometimes just one - doesnt matter weather im using
open
layers, mapbender, export to pdf, ...! kml does not work!

zooming in would sometimes change the display -> sometimes i get more
than
one feature displayed.

well, my question:
is it a known issue of geoserver, that there are problems rendering
multipolygon features or am i doing somthing wrong?

i also tried all possible rendering configurations in the administration
view.0

I have a layer with countries in postgis that displays fine, those are
definitely multipolygons. So, it may be that various of your geometries
are invalid? Or that you have a mix of polygons and multipolygons?
All geometries shall be the same type, and that type shall be equal
to the one declared in geometry_columns. Maybe check that, otherwise
switch logging to geotools_developer configuration and try and see if
the log gives you any clue.

Cheers
Andrea

-------------------------------------------------------------------------
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=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/help%3A-problem-rendering-postgis-multipolygon-with-geoserver-1.6.4-tp18534632p18536560.html
Sent from the GeoServer - User mailing list archive at Nabble.com.