[Geomoose-users] display the results and zoom.
Brent Fraser
bfraser at geoanalytic.com
Tue Sep 29 10:54:21 EDT 2009
Ok, now the parcels highlight on zoom-to and there's no pink screen!
Excellent!
Len Kne wrote:
> Search Parcel on the demo should now be working. There was a configuration typo in the parcels_itemquery.html - the layer read "parcels/all", but needs to be "parcels/parcels" to point to the proper layer.
>
> Len
>
>
> -----Original Message-----
> From: Brent Fraser [mailto:bfraser at geoanalytic.com]
> Sent: Tuesday, September 29, 2009 9:16 AM
> To: FRANZ OKYERE
> Cc: geomoose-users at lists.sourceforge.net
> Subject: Re: [Geomoose-users] display the results and zoom.
>
> Ahh, GM v2; I don't think I can be of much help (I's still on v1.6.1).
>
> So you've confirmed that the $shpminx,$shpminy,$shpmaxx,$shpmaxy coordinates
> values are correct for a particular test feature? How about commenting-out the
> highlight code below and seeing if the link zooms to the feature on it's layer
> with just a GeoMOOSE.zoomToExtent($shpminx,$shpminy,$shpmaxx,$shpmaxy)?
>
> I tried the v2 demo at Houston Eng
> (http://geomoose.houstoneng.com/gm2demo/geomoose.html) and it seems to have
> problems when doing a "Search Parcels" item query. I typed in "Smith " for an
> owner name and clicked ok. It highlighted all parcels with an owner=Smith (Woo
> hoo!), and I clicked the first link in the results list and it zoomed to the
> extent of that parcel (but no more highlight, bummer). So far so good. but
> when I clicked the second link it zoomed to the next parcel, show the results
> for a split second, then the map went pink! All further clicking on links
> (including the first) gave the same result with the pink map.
>
> I'm not sure which layer OpenLayers is having problems with? Possibly the
> highlight layer?
>
> Best Regards,
> Brent Fraser
>
>
>
> FRANZ OKYERE wrote:
>> Yes Brent,
>>
>> I have pasted below the basic elements of the link as shown in IE. The
>> appropriate PIN and the correct extents gets passed ($mapin[$m]) to the
>> url.
>> I hope this helps.
>>
>> changeLayerUrl('highlight','php/itemquerysq.php');
>>
>> GeoMOOSE.updateLayerParameters('highlight', {'qitem' : 'PIN', 'qstring'
>> : $mapin[$m], 'layer' : 'buildings/all'})
>>
>> GeoMOOSE.turnLayerOn('highlight/all');
>> GeoMOOSE.zoomToExtent($shpminx,$shpminy,$shpmaxx,$shpmaxy)
>>
>> Thanks a lot.
>>
>> Franz
>>
>> GIS Specialist
>>
>>> Date: Mon, 28 Sep 2009 20:36:29 -0600
>>> Subject: Re: [Geomoose-users] display the results and zoom.
>>> From: bfraser at geoanalytic.com
>>> To: franzzoa at hotmail.com
>>> CC: geomoose-users at lists.sourceforge.net
>>>
>>> Likely the link is setting the extents to somewhere invalid, do you have
>>> an example of the link URL? And the coordinates of the feature?
>>>
>>> > I mean when I click on one of the displayed results I expected the
>> map to
>>> > zoom to the particular feature, but that does not happen instead the map
>>> > comes on for 2-3 secs and disappears. Cheers Brent.
>>> >
>>> >> Date: Mon, 28 Sep 2009 15:23:24 -0600
>>> >> Subject: Re: [Geomoose-users] display the results and zoom.
>>> >> From: bfraser at geoanalytic.com
>>> >> To: franzzoa at hotmail.com
>>> >> CC: geomoose-users at lists.sourceforge.net
>>> >>
>>> >> Franz,
>>> >>
>>> >> What do you mean by "the layer does not persist"?
>>> >>
>>> >> Brent Fraser
>>> >>
>>> >> > Hi all, I quit on using processquerytemplate and processtemplate
>>> >> methods.
>>> >> > Its just not helpful. I spent too much time on it. I'm rather using
>>> >> mysql
>>> >> > to display the results- its perfect. However the layer does not
>>> >> persist
>>> >> > when i click on one of the result to zoom to it. Anyone with similar
>>> >> > experience or suggestion? Thanks very much. Franz. GIS
>>> >> > Specilist. SIT.
>>> >> >
>>> >>
>>> >>
>>> >
>>> > _________________________________________________________________
>>> >
>>> > MSN straight to your mobile - news, entertainment, videos and more.
>>> >
>>> > http://clk.atdmt.com/UKM/go/147991039/direct/01/
>>> >
>> ------------------------------------------------------------------------------
>>> > Come build with us! The BlackBerry® Developer Conference in SF, CA
>>> > is the only developer event you need to attend this year. Jumpstart your
>>> > developing skills, take BlackBerry mobile applications to market and
>> stay
>>> > ahead of the curve. Join us from November 9-12, 2009. Register
>>> > now!
>>> > http://p.sf.net/sfu/devconf
>>> > _______________________________________________
>>> > Geomoose-users mailing list
>>> > Geomoose-users at lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>> >
>>> >
>>>
>>>
>> ------------------------------------------------------------------------
>> View your Twitter and Flickr updates from one place - Learn more!
>> <http://clk.atdmt.com/UKM/go/137984870/direct/01/>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
More information about the Geomoose-users
mailing list