Hi,
Is there a maximum limit of characters a layer name must have in Geoserver? 

I tried to publish a PostGIS table with a name 59 characters long (via REST 
with PHP and curl) and got the message:
"org.springframework.web.util.NestedServletException: Request processing 
failed; nested exception is org.geoserver.rest.RestException 400 BAD_REQUEST: 
Trying to create new feature type inside the store, but no attributes were 
specified”
When I truncated the table name in PostGIS to 57 characters the layer was 
published.

When I use the web interface to publish the 59 character name, no such problem 
occurs.

If the length of the name is irrelevant I should look into sth else.

Thanks in advance

Chris

_______________________________________________
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