[postgis-users] Size of .dbf file produced with pgsql2shp
Denis Rykov
rykovd at gmail.com
Mon Sep 13 08:58:42 PDT 2010
I've try to get exit code with my python script:
> import os
> code = os.system("pgsql2shp -f dagestan.shp -h gis-lab.info -u labinfo -P
> *** osm \"SELECT st_intersection as geom from dagestan_point_attr WHERE
> highway='bus_stop'")
> print code
>
At result I've got 256 (not 2 as expected).
On Thu, Sep 2, 2010 at 12:41 AM, Mark Cave-Ayland <
mark.cave-ayland at siriusit.co.uk> wrote:
> Denis Rykov wrote:
>
> It would be great if you can add an exit code for 0 records dbfs,
>> it'll make my life so much easier.
>>
>
> Okay done - it was quite a simple patch in the end. Can you update to SVN
> r5888 and confirm that you get an exit code of 0 on success, and 2 if 0
> records were processed?
>
>
>
> ATB,
>
> Mark.
>
> --
> Mark Cave-Ayland - Senior Technical Architect
> PostgreSQL - PostGIS
> Sirius Corporation plc - control through freedom
> http://www.siriusit.co.uk
> t: +44 870 608 0063
>
> Sirius Labs: http://www.siriusit.co.uk/labs
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100913/938119fd/attachment.html>
More information about the postgis-users
mailing list