[postgis-tickets] [PostGIS] #4705: pgsql2shp - Pg field column in mapping file incorrectly compared with the name of the dbf field name

PostGIS trac at osgeo.org
Tue Jun 16 07:36:50 PDT 2020


#4705: pgsql2shp - Pg field column in mapping file incorrectly compared with the
name of the dbf field name
----------------------------+-------------------
  Reporter:  zezzagio       |      Owner:  robe
      Type:  defect         |     Status:  new
  Priority:  medium         |  Milestone:
 Component:  loader/dumper  |    Version:  3.0.x
Resolution:                 |   Keywords:
----------------------------+-------------------

Comment (by strk):

 Hi Zez, do you think you could also help with automating
 a test to secure this bugfix ? The run_test.pl script does
 have support for testing options passed to the loader&dumper
 roundtrip and a test exists checking it (possibly not
 exhaustive to include this case).

 You can run the test with:

     cd regress
     make staged-install
     cd loader
     ../run_test.pl -v mfile

 The test will apply switches in mfile.opts which happens
 to pass -m mfile_mapping.txt having the following mapping:

     address add
     short_name short

 If I understand you correctly it would be enough to just
 add a mapping with a different beginning ?

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4705#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list