AW: AW: [Mapserver-users] PHP/Mapscript - Mapserver 4.0 - $oLayer->queryByAttributes()

Alexander Gabriel alexander.gabriel at blubbermania.com
Wed Nov 12 03:52:20 EST 2003


Hi,

[code]
$query = '([GEMARKUNG] = 7725 AND [FLUR] = 0 AND \'[FLSTNR]\' = \'3000\')';
@$myLayer->queryByAttributes("ANYVALIDITEMINTHESHAPE", $query, MS_MULTIPLE);
[/code]

works.
But is that really the way it should be?
I'd say, this is just a workaround but i don't know C and cannot say, if it
is intent to give the method any dummy-values if they aren't needed.

perhaps someone makes a patch to fix this.

thx
Alexander Gabriel



-----Ursprungliche Nachricht-----
Von: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Gesendet: Freitag, 31. Oktober 2003 20:27
An: Alexander Gabriel
Cc: mapserver-users at lists.gis.umn.edu
Betreff: Re: AW: [Mapserver-users] PHP/Mapscript - Mapserver 4.0 -
$oLayer->queryByAttributes()


Alexander Gabriel wrote:
> Hello,
>
> thx for your reply.
> i've tried
>
> [code]
> $query = '([GEMARKUNG] = 7725 AND [FLUR] = 0 AND \'[FLSTNR]\' =
\'3000\')';
> @$myLayer->queryByAttributes("", $query, MS_MULTIPLE);
> [/code]
>
> But it didn't work :(
>

Duh!  That's the best I could suggest without digging into the code to
understand what's going on (which I don't have time to do now).
Hopefully someone else (Steve?) knows how that stuff works and can make
a better suggestion.

--
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list