[fdo-trac] #737: SHP provider: Allow ':' characters in property name

FDO trac_fdo at osgeo.org
Mon Jan 10 16:50:44 EST 2011


#737: SHP provider: Allow ':' characters in property name
----------------------------+-----------------------------------------------
   Reporter:  danstoica     |       Owner:  Dan Stoica
       Type:  enhancement   |      Status:  new       
   Priority:  major         |   Milestone:  3.6.0     
  Component:  SHP Provider  |     Version:  3.5.0     
   Severity:  2             |    Keywords:            
External_id:                |  
----------------------------+-----------------------------------------------
 http://downloads.cloudmade.com/

 Download the Victoria, Australia OSM SHP data from:

 http://downloads.cloudmade.com/oceania/australia/victoria/victoria.shapefiles.zip

 Extract the SHP files and attempt to load the Location data from
 victoria_location.shp

 Expected result: File is loadable in Map
 Actual Result: Failure with the following error message.

  Error: An exception occurred in FDO component.
         Invalid Feature schema element name 'ADDR:CITY'; must not contain
 ':'

 This is because the underlying SHP table has a column that uses ":" as a
 character in its column name.

 As OSM data is pretty common and getting more and more popular, it may be
 necessary to remap those : characters to something else ie "_" rather than
 just throwing an error and failing,

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/737>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list