[mapguide-users] Issues selecting a feature with custom coding

nclayton nclayton at gmail.com
Wed Jan 9 08:28:38 EST 2008

Hi everyone,
Here is my situation:

I am hacking up the mapviewerphp files to fit the needs of the company I
work for. One piece of functionality that is requried is that after a user
queries our database for owner information, it is displayed in a new frame.
Along with this information, there is a 'Zoom to Parcel' link. When the user
clicks this, it should zoom to that parcel and select it without affecting
the owner data list.

My issue right now is in the selection of the parcel. I'm folling the code
given in the dev guide, but my $selection->ToXml() always comes out as:

<?xml version="1.0" encoding="UTF-8"?><FeatureSet

I am creating and passing in a query filter of "PARCEL_ID_ = '12345'" (with
the appropriate parcel number supplied of course). I know that this
PARCEL_ID_ value exists.

I have tried manually creating the featureset query, since I can get the
feature id of the selected parcel. The problem with that is that mgos uses a
base64 encoding that doesn't match php's base64_encode() output, so that's a
no-go as well.

Any help and suggestions are appreciated

View this message in context: http://www.nabble.com/Issues-selecting-a-feature-with-custom-coding-tp14694817s16610p14694817.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list