[postgis-devel] [PostGIS] #229: shp2pgsql ability to transform from one spatial ref to another

PostGIS trac at osgeo.org
Fri Mar 18 08:41:19 PDT 2011


#229: shp2pgsql ability to transform from one spatial ref to another
--------------------------+-------------------------------------------------
  Reporter:  robe         |       Owner:  jadams        
      Type:  enhancement  |      Status:  closed        
  Priority:  medium       |   Milestone:  PostGIS Future
 Component:  postgis      |     Version:  trunk         
Resolution:  fixed        |    Keywords:                
--------------------------+-------------------------------------------------
Changes (by jadams):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Resolved in trunk in revision 6922.
 The new parameter is -r <srid>, the srid to reproject from.  -s is the
 srid to reproject to, unless you use -G in which case 4326 is the srid to
 reproject to.  So the combination of -G and -r will allow you to go
 directly from a state plane shapefile to a geography table.

 -r does not work with -D.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/229#comment:7>
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-devel mailing list