<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C7EFBC.9072C800">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";}
span.EmailFormatvorlage17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'>Hallo <span class=SpellE>Mapbender</span>-Users,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ich habe beim Digitalisieren von Polygonen und dem anschließenden
Speichern folgendes Problem. Im Statusfenster von Geoserver wird folgende
Fehlermeldung gezeigt &#8220;<span class=SpellE>Caused</span> <span
class=SpellE>by</span>: <span class=SpellE>java.lang.IllegalArgumentException</span>:
<span class=SpellE>com.vividsolution.jts.geom.Multipolygon</span> <span
class=SpellE>is</span> <span class=SpellE>not</span> an <span class=SpellE>acceptable</span>
<span class=SpellE>class</span> <span class=SpellE>for</span> <span
class=SpellE>geom</span> as <span class=SpellE>it</span> <span
style='mso-spacerun:yes'> </span><span class=SpellE>is</span> <span
class=SpellE>not</span> <span class=SpellE>assignable</span> <span
class=SpellE>from</span> <span class=SpellE>class</span> <span class=SpellE>com.vividsolution.jts.geom.Polygon</span>
&#8230;.&#8221;. Der <span class=SpellE>geom-type</span> des <span
class=SpellE>Postgis-Layers</span> ist &#8218;Polygon&#8217;, welche auch bei der
<span class=SpellE>FeatureType-Konfiguration</span> im Geoserver und beim Laden
des WFS im <span class=SpellE>Mapbender</span> angezeigt wird. Wenn ich
anstelle eines <span class=SpellE>Postgis-Layers</span> vom <span class=SpellE>geomtype</span>
&#8218;Polygon&#8217; einen <span class=SpellE>Punktlayer</span> (&#8218;Point&#8217;)
nehme funktioniert alles super und die Daten werden in der Datenbank
gespeichert. Weiß jemand, wie man das Problem lösen kann? Kann Geoserver
vielleicht nur mit <span class=SpellE>Postgis-Layern</span> vom Type &#8218;Multipolygon&#8217;
arbeiten?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Danke! Michael Schwarz <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hallo,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'>I have the problem that when I
want to save digitized polygons via <span class=SpellE>Geoserver</span> to the
database I get in the <span class=SpellE>Geoserver</span>-Window the following error-notice:
&#8220;Caused by: <span class=SpellE>java.lang.IllegalArgumentException</span>:
<span class=SpellE>com.vividsolution.jts.geom.Multipolygon</span> is not an
acceptable class for <span class=SpellE>geom</span> as <span class=GramE>it <span
style='mso-spacerun:yes'> </span>is</span> not assignable from class <span
class=SpellE>com.vividsolution.jts.geom.Polygon</span> &#8230;.&#8221; . The <span
class=SpellE>geom</span>-type of the <span class=SpellE>postgis</span>-layer is
Polygon and also in the <span class=SpellE>featuretype</span>-configuration of
the layer in <span class=SpellE>Geoserver</span> the <span class=SpellE>geom</span>
is from type <span class=SpellE>PolygonProperty</span>. Instead when I use a <span
class=SpellE>postgis</span>-layer from <span class=SpellE>geom</span>-type Point
all works fine. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'>Did anybody know how I can
solve the problem?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><font size=3 face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;mso-ansi-language:EN-GB'>Greatings</span></font></span><span
lang=EN-GB style='mso-ansi-language:EN-GB'>! Michael Schwarz<o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>