[mapguide-users] ID in SelectionXml

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Tue Nov 4 12:00:23 EST 2008


You might also want this link to the MapGuide Central:
http://ennoble.dreamhosters.com/mapguide-central/

Regards, Kenneth Skovhede, GEOGRAF A/S



Love, Bev (Capita Symonds) skrev:
>
> Excellent -- just what I was looking for.
>
>  
>
> That gets me on the right track. I'll do a hunt in the archive for the 
> PHP code, and also book mark the archive, didn't know that existed...
>
>  
>
> Thanks,
>
>  
>
> Bev
>
>  
>
> *From:* mapguide-users-bounces at lists.osgeo.org 
> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of *Kenneth 
> Skovhede, GEOGRAF A/S
> *Sent:* 04 November 2008 12:16
> *To:* MapGuide Users Mail List
> *Subject:* Re: [mapguide-users] ID in SelectionXml (was: No header)
>
>  
>
> Please see this post:
> http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg03848.html
>
> And the post mentioned there:
> http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg03308.html
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Love, Bev (Capita Symonds) skrev:
>
> Morning all,
>
>  
>
> I'm struggling with, what I imagine is, a simple problem, and would 
> appreciate any help or points in the right direction.
>
>  
>
> I've been developing a search facility which works within the task 
> frame. This has been written within JavaScript, and uses Ajax to query 
> the database to get the search results. The idea is that once the 
> search results are displayed, the user can then click on a result and 
> the map will zoom to that item (again using JavaScript). The problem 
> is, is that not all the items that are returned have an easting and 
> northing co-ordinate. Some of the items are contained within shape files.
>
>  
>
> I figured the easiest way to zoom to an item, was to select it on the 
> map, and then zoom into that selection. This is where I hit the 
> problem. I'm guessing SetSelectionXML() will be used to add the 
> selection to the map, however I'm not too sure on what format the XML 
> should take.
>
>  
>
> I've used GetSelectionXML to get the XML for a similar item that I 
> select, but it contains id's for the layer and the item. However these 
> do not match the id's that exist in the shape file. Basically what I 
> want to know is how do I generate the correct id's for the layer and 
> the items (which I wish to select)??
>
>  
>
> Thanks,
>
>  
>
> Bev
>
>
> This email and any attachment are intended solely for the addressee, 
> are strictly confidential and may be legally privileged. If you are 
> not the intended recipient any reading, dissemination, copying or any 
> other use or reliance is prohibited. If you have received this email 
> in error please notify the sender immediately by email and then 
> permanently delete the email. Copyright reserved.
>
> All communications, incoming and outgoing, may be recorded and are 
> monitored for legitimate business purposes.
>
> The security and reliability of email transmission cannot be 
> guaranteed. It is the recipient's responsibility to scan this e-mail 
> and any attachment for the presence of viruses.
>
> The Capita Group plc and its subsidiaries ("Capita") exclude all 
> liability for any loss or damage whatsoever arising or resulting from 
> the receipt, use or transmission of this email.
>
> Any views or opinions expressed in this email are those of the author 
> only.
>
>  
> ------------------------------------------------------------------------
>
>
>   
>  
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org <mailto:mapguide-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
>
>
> This email has been scanned for all viruses by the MessageLabs SkyScan 
> service.
>
>
> This email and any attachment are intended solely for the addressee, 
> are strictly confidential and may be legally privileged. If you are 
> not the intended recipient any reading, dissemination, copying or any 
> other use or reliance is prohibited. If you have received this email 
> in error please notify the sender immediately by email and then 
> permanently delete the email. Copyright reserved.
>
> All communications, incoming and outgoing, may be recorded and are 
> monitored for legitimate business purposes.
>
> The security and reliability of email transmission cannot be 
> guaranteed. It is the recipient's responsibility to scan this e-mail 
> and any attachment for the presence of viruses.
>
> The Capita Group plc and its subsidiaries ("Capita") exclude all 
> liability for any loss or damage whatsoever arising or resulting from 
> the receipt, use or transmission of this email.
>
> Any views or opinions expressed in this email are those of the author 
> only.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081104/7eaaedf3/attachment.html


More information about the mapguide-users mailing list