<div dir="ltr"><div><div>Hi BBorie,<br><br></div>Out-db rasters referenced with network path do register on postgis tables ! I use it every day.<br><br></div><div>It was, like you suggested it, an escaping issue :<br><br></div><div>I have tried the command<br><br>raster2pgsql -R -a -F  \\serveur-ad/\raster/\419/\napoleonien/\*.tif testraster  | psql -U postgres -p 5434 test<br><br></div><div>and it works. Thanks for the hint !<br><br></div><div>It is the '\419' part wich causes troubles, I renamed the directory and it worked with the non-escaped. I think it is because the directory is only made of numbers.<br>raster2pgsql might interpret \419 as a single character or something like that.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-29 15:45 GMT+01:00 Bborie Park <span dir="ltr"><<a href="mailto:dustymugs@gmail.com" target="_blank">dustymugs@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm not aware that loading out-db rasters using Windows network path names will work. What happens if you add that network path as a network drive?<div><br></div><div>Can you try something like the following? All I've done is replace the backslash with a forward slash...</div><div><br></div><div><div><span style="font-size:13px">raster2pgsql -R -a -F  \\\\fileserver/raster/419/</span><span style="font-size:13px">napoleonien/*.tif catalog</span></div></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">I'm wondering if some escaping rules are getting in the way.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Jan 29, 2015 at 4:42 AM, Tumasgiu Rossini <span dir="ltr"><<a href="mailto:rossini.t@gmail.com" target="_blank">rossini.t@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi List,<br><br></div>I am experiencing a problem with outdb geotiff importation.<br><br></div>I am using the raster2pgsql utility :<br><br>raster2pgsql -R -a -F  \\fileserver\raster\419\napoleonien\*.tif catalog<br><br></div>On a particular set of geotiff ( wich are generated with the same routine as the others ), the command seems to work fine<br></div>but St_BandPath() output null when I'm trying to register the tiffs on a local server, and it output the character  'ô' on the production server.<br><br></div><div>On others set of raster, the band path is correctly stored.<br><br></div><div>What am I doing wrong ?<br></div><div><br><br><br></div>My configuration is the following :<br></div>Both Local and server -><br></div>   PostgreSQL 9.3.5 installed with EntrepriseDB<br></div>   Postgis "2.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"<br></div>   Win 7 64bit<br>"French_France.1252"<br></div></div>
<br></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>