Dear list

after recently migrating to GeoServer 2.10.14 from 2.10.13, an
application which create empty layers in GeoServer on a PostGIS
datastore using the REST interface, and which used to work on 2.10.13
(and previous versions) has started failing.

This is the error I see in logs:

2018-10-16 15:49:25,812 WARN [catalog.impl] - Failed to load actual
store for FeatureTypeInfoImpl[test]
2018-10-16 15:49:25,872 WARN [geotools.jdbc] - No mapping for
com.vividsolutions.jts.geom.Polygon
2018-10-16 15:49:25,975 WARN [geotools.jdbc] - Could not find mapping
for 'the_geom', ignoring the column and setting the feature type read
only

After I see this warn, the layer is still created, but with no geometry.
Any hint on this?

This is the xml which the application is sending to the datastore REST
endpoint 
(http://localhost:8080/geoserver/rest/workspaces/ws_name/datastores/ds_name/featuretypes):

<featureType>
  <name>test</name>
  <nativeName>test</nativeName>
  <title>test</title>
  <srs>EPSG:4326</srs>
  <latLonBoundingBox>
    <minx>-180</minx>
    <maxx>180</maxx>
    <miny>-90</miny>
    <maxy>90</maxy>
    <crs>EPSG:4326</crs>
  </latLonBoundingBox>
  <attributes>
    <attribute>
      <name>the_geom</name>
      <binding>com.vividsolutions.jts.geom.Polygon</binding>
      <nillable>False</nillable>
    </attribute>
    <attribute>
      <name>test_field</name>
      <binding>java.lang.String</binding>
      <nillable>True</nillable>
    </attribute>
  </attributes>
</featureType>

thanks in advance
Paolo

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to