On Fri, Apr 29, 2011 at 5:54 AM, Joe Public <joepub1...@gmail.com> wrote:
> Hey geoserver folks!!
>
> I am using geoserver and created a layer resource directly from the
> shapefile and the map shows up in
> openlayer under the layer preview option.
>
> I then created a layer resource from the prosgres database in which I
> imported the above shapefile.
> When I attempt to display the map in openlayer under the layer preview I get
> the following error:
>
> code="internalError"Rendering process failed
>           java.io.IOException
>           null
>           ERROR: geometry requires more points''
>
> Other times I get the error:
>
> code="internal error "org.vfny.geoserver.wms.
>         WMSException: Rendering process failed
>         Rendering process failed
>         Exception rendering layer FeatureCollectionMapL:
>         Floor13, VISIBLE, UNSELECTED, Style=Stylelmpl
>         [name=polygon], data=org.vfny.geoserver.global.
>         GeoserverFeatureLocking@55e379, query=Query
>         feature type:floor13
>         filter: [Filter.INCLUDE AND FILTER.INCLUDE]
>         [properties: ALL]]
>         java.io.IOException
>         null
>         ERROR: geometry requires more points''
>
>  Can someone tell what I may have done wrong with the database version of
> the layer?

Hmmm... I guess you might have some invalid geometry in your database?
What version of GeoSErver are you using?
Also, do you have the full stack trace? Just enable "verbose exception
reporting"
in the server config and try the request again, you'll get it

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to