Uploaded image for project: 'GeoServer'
  1. GEOS-7646

Importing shapefile with spaces in attributes fails for postgis

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.8.5, 2.9.1, 2.10-M0
    • Component/s: Importer
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jdeolive Justin Deoliveira
              Reporter:
              jdeolive Justin Deoliveira
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: