[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";
 micalg="pgp-sha1";
 boundary="Signature=_Thu__18_Mar_2004_19_28_53_+0100_Yrejsc.MMNJVIpiO"

--Signature=_Thu__18_Mar_2004_19_28_53_+0100_Yrejsc.MMNJVIpiO
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:
>=20
> >     cursor.execute("SELECT gid, AsText(%s) FROM %s"
> > ProgrammingError: ERROR:  Attribut =BBgid=AB nicht gefunden
>=20
> 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.
>=20
> > 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...
>=20
> 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!

Gru=DF
  Stephan

--=20
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

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

--Signature=_Thu__18_Mar_2004_19_28_53_+0100_Yrejsc.MMNJVIpiO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAWeplEg9SKhGUagkRAjCxAJ4sPuPr2/nbV5rNTZKaOtr1hJ2EuACbBJHk
UvX2VOerxhS5p4VOqoxQjxo=
=3idg
-----END PGP SIGNATURE-----

--Signature=_Thu__18_Mar_2004_19_28_53_+0100_Yrejsc.MMNJVIpiO--



More information about the Thuban-list mailing list