[mapguide-users] Postgis Selection Problem (additional)

J Manafi jonathan.manafi at cctechnol.com
Mon Feb 18 10:31:47 EST 2008


No, the selection tool produces no results for our selection. We don't have
any objects with that many points, but MGOS 2.0 doesn't render any selection
from selection tool.  When I use the it and try to make a selection, the
Firefox extension FireBug reports the following error message from POST
http://localhost:8018/mapguide/fusion/MapGuide/php/Query.php

Object not foundERROR: The specified object was not found.

The specified object was not found.

Exception occurred in method GetItem at line 117 in file
d:\buildforgeprojects\mapguide_open_source_v2

.0\build_21.9\mgdev\common\foundation\Data/NamedCollection.cpp

- GetItem line 117 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_21.9\mgdev\common\foundation

\Data/NamedCollection.cpp

{"hasSelection":false}

ary sucaya wrote:
> 
> Did MGOS 2.0 renders your selection (especially for objects consists of
> thousand points) from selection tool? 
> 
> 
> ----- Original Message ----
> From: J Manafi 
> To: mapguide-users at lists.osgeo.org
> Sent: Friday, February 15, 2008 5:51:24 PM
> Subject: Re: [mapguide-users] Postgis Selection Problem (additional)
> 
> I have a similar problem to this one. We have a script that allows us to
> search for specific regions on our map, and once we select the one we
> want, we click the name to zoom to that region and it is selected on the
> map. In MG 1.2, once selected, the properties of that region would be
> output for us; but in 2.0.x, the region is highlighted as if selected, but
> no properties are available. Just for the sake of argument, I changed our
> image renderer to GD and experienced the same results. Any updates on
> this?
> 
> ary sucaya wrote:
> I tried to change renderer into GD but problem remain the the same. Just
> to be clear, this is how i select feature programatically $layer =
> $map->GetLayers()->GetItem($layerName); $featureReader =
> $layer->SelectFeatures($queryOptions); $selection = new MgSelection($map);
> $selection->AddFeatures($layer, $featureReader, 0); $selectionXml =
> $selection->ToXml(); and works fine.. but selection tool does not. Thx,
> Ary Sucaya ----- Original Message ---- From: Jason Birch To: MapGuide
> Users Mail List Sent: Wednesday, February 13, 2008 8:59:18 PM Subject: RE:
> [mapguide-users] Postgis Selection Problem (additional) Oh wait, I don’t
> know if that makes any sense. You say that the selection renders when you
> select it programmatically, not when using the MapGuide selection tool. I
> wonder what the difference between these approaches is. Jason From: Jason
> Birch Subject: RE: [mapguide-users] Postgis Selection Problem (additional)
> I’d be interested in knowing if this
>  problem persists when you change your rendering engine from AGG to GD.
> -----Inline Attachment Follows-----
> _______________________________________________ mapguide-users mailing
> list mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> ____________________________________________________________________________________
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________ mapguide-users mailing
> list mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users 
> 
> 
> 
> View this message in context: Re: Postgis Selection Problem (additional)
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
>      
> ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Postgis-Selection-Problem-%28additional%29-tp15466067s16610p15546856.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080218/f179d389/attachment.html


More information about the mapguide-users mailing list