[Geoserver-devel] [JIRA] (GEOS-7646) Importing shapefile with spaces in attributes fails for postgis

Justin Deoliveira created an issue

GeoServer / BugGEOS-7646

Importing shapefile with spaces in attributes fails for postgis

Issue Type:

BugBug

Affects Versions:

2.9.0

Assignee:

Justin Deoliveira

Components:

Importer

Created:

19/Jul/16 2:28 PM

Priority:

MediumMedium

Reporter:

Justin Deoliveira

On import into Postgis the importer runs both the feature type and all of the features from the shapefile through a converter before it sends it down to the postgis datastore. The feature type conversion leaves attribute names with spaces in tact, however the feature conversion does not and it converts them to the XML safe version (ie replacing the space with an underscore).

As far as I know it was decided that in general all names should be made XML safe so that we can use the types with WFS / GML output.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.148.3#100005-sha1:53b5f3f)

Atlassian logo