[Thuban-list] LINESTRING and PostGIS

Stephan Holl sholl at gmx.net
Thu Mar 18 19:28:53 CET 2004

Content-Type: multipart/signed; protocol="application/pgp-signature";

Content-Type: text/plain; charset=ISO-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Bernhard,

At Thu, 18 Mar 2004 18:50:00 +0100 Bernhard Herzog wrote:

> Stephan Holl <sholl at gmx.net> writes:
> >     cursor.execute("SELECT gid, AsText(%s) FROM %s"
> > ProgrammingError: ERROR:  Attribut =BBgid=AB nicht gefunden
> The code in Thuban 1.0.0 only works with tables that have a column
> called "gid".  This has been fixed in CVS last week.  You might want
> to try that.
> > My dataset does not have the "gid"-column, it is named ogc_fid (by
> > v.out.ogr).
> > After copying this column to "gid" everything is fine.
> >
> > I am not quite sure why v.out.ogr does not name a gid-column...
> It doesn't have to.  The requirement for the gid-column is (or was
> now) really a bug in Thuban.  All that's required now is that it has
> an integer column with ids.  The dialog lets you choose which one to
> use.

THanks for pointing this out. I did a CVS-update and voila,  the dialog
is present and I can choose the ID-column.

Good job folks!


Stephan Holl

Check headers for GnuPG Key!

 19:27:20 up  2:21,  1 user,  load average: 0.34, 0.17, 0.09

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (GNU/Linux)



More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)