[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
Wed Jun 17 01:00:58 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):

 You are probably right that there's no test starting
 with pgsql2shp, but the so called "loader tests"
 (passing a .shp filename or base filename to run_test.pl)
 uses both shp2pgsql and pgsql2shp, doing a round-trip
 and comparing the original shapefile with the expected
 output shapefile.

 This is really driven by what "expected" files exist.
 In this case, shapefile-to-shapefile comparison is
 only performed if a file called <input>.shp.expected
 exists, see subroutine run_dumper_and_check_output

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4705#comment:4>
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