[mapserver-users] problem with join
Frank Koormann
frank.koormann@intevation.de
Fri, 8 Mar 2002 16:34:28 +0100
--dTy3Mrz/UPE2dbVg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Mike,=20
* mikee (mike@mikee.de) [020306 22:13]:
>=20
> 1000s thanks, but i need also the temlate-files.
>=20
> my old problem:
>=20
> 1.) i have a shapfile called "test1" with an item "nr" in the dir: =3D
> /mapserver/data
>=20
> 2.) i have also a dbf called "join1.dbf" in the dir: =3D
> "c:\inetpub\wwwroot\mapserver\data\join1.dbf" also with an item "nr" and =
=3D
> "wert1" and "test2"
>=20
[MapFile and other configurations corresponding with the docs]
>=20
> but my query give me only this:
> Layer: TEST
> NR | WERT1 | TEXT2
> ----+---------+---------
> 5 | [WERT1] | [TEXT2]
>=20
>=20
> :-( - where is the mistake? where are the value for "wert1" and =3D
> "text2"??
>=20
assuming that you use MapServer 3.5 (stable) I find in=20
mapserv.c, 1346 ff:
[...]
// FIX: need to consider JOINS
// FIX: need to consider 5% shape extent expansion
void returnQuery()
{
[...]
A current snapshot from the CVS shows an entirely reworked system for
query and template processing (what I appreciate) but in=20
maptemplate.c, processLine():
// FIX: need to re-incorporate JOINS at some point
=20
still remains.
Seems as if joins are not reimplemented with the ongoing redesign of
mapserv.c=20
Maybe one of the developers can say more on this topic. However, it
doesn't seem to be an demanding feature, maybe it should be taken from
the docu?
Regards,
Frank
--=20
Frank Koormann <frank.koormann@intevation.de>
Professional Service around Free Software (http://intevation.net/)
FreeGIS Project (http://freegis.org/)
--dTy3Mrz/UPE2dbVg
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iEYEARECAAYFAjyI2gQACgkQBabJQasL9w4CCACgjn1NCCnlOhpPbyl0g5oY6Cvz
Gu0An1S3QPRCFeovwuDk+9a2fBEE+Acc
=D4JZ
-----END PGP SIGNATURE-----
--dTy3Mrz/UPE2dbVg--