[postgis-tickets] [PostGIS] #2347: [raster] raster2pgsql doesn't work with windows network paths or quoted paths
PostGIS
trac at osgeo.org
Tue Jun 11 18:00:20 PDT 2013
#2347: [raster] raster2pgsql doesn't work with windows network paths or quoted
paths
---------------------+------------------------------------------------------
Reporter: robe | Owner: dustymugs
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.0
Component: raster | Version: trunk
Keywords: windows |
---------------------+------------------------------------------------------
Comment(by dustymugs):
Ok. Tried the following
{{{
ECHO ON
SET PATH=%PATH%;C:\ming64\projects\pgx64\pg92\bin
SET IMGDIR="\\vmware-host\Shared
Folders\dustymugs\Documents\raster\temp\*.tif"
raster2pgsql -F %IMGDIR% foobar > foobar.sql
}}}
Output is
{{{
C:\Users\dustymugs\Desktop>raster2pgsql -F "\\vmware-host\Shared
Folders\dustymugs\Documents\raster\temp\*.tif" foobar 1>foobar.sql
Processing 1/3: \\vmware-host\Shared
Folders\dustymugs\Documents\raster\temp\TMEAN-20100101.tif
Processing 2/3: \\vmware-host\Shared
Folders\dustymugs\Documents\raster\temp\TMEAN-20100102.tif
Processing 3/3: \\vmware-host\Shared
Folders\dustymugs\Documents\raster\temp\TMEAN-20100103.tif
}}}
Works for me. The SQL looks good too. The raster2pgsql version is
2.1.0beta3dev r11540
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2347#comment:8>
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