mapcentia / geocloud2

The GC2 framework helps you build a spatial data infrastructure quickly and easily. Powered using open source components for a scalable solution focused on freedom rather than fees.
https://www.osgeo.org/projects/gc2-vidi/
GNU Affero General Public License v3.0
148 stars 67 forks source link

Load of data in Admin can cause an error #34

Closed mapcentia closed 8 years ago

mapcentia commented 8 years ago

This may be an issue regarding lack of encoding of special characters.

mapcentia commented 8 years ago

Instead of encoding field names with special characters, the fields are omitted all together. If they are encoded, it would cause errors down the line if they are updated. This is also implemented in WFS GetFeature. A good advice is to not use special characters in PostGreSQL field names. At the moment these special characters are matched:

'^£$%&*()}{@#~?><>,|=+¬