[Geomoose-users] search by specific parcel on startup
Jim Klassen
klassen.js at gmail.com
Mon Jan 24 19:04:39 PST 2022
The direction I would go is to add some code in app.js to do what you need.
I don't know what that would look like off the top of my head, but it should be able to parse the URL parameters (from window.location) from there and then trigger the service (see `app.startService()`) at the end of the `app.loadMapbook().then(function() { ... } );` anonymous function.
On 1/24/22 17:49, Christopher Hughes wrote:
> Hi Mark,
>
> I have no idea how to programmatically search for a parcel, but another way of accomplishing that is to just create a direct link to each parcel.
> You could calculate the bounding box of each parcel in the format west;south;east;north and then plug that into your URL.
> See https://github.com/geomoose/gm3/pull/644 for more details. Though if the geometry of the parcel changes the URL would
> need to be updated.
>
> Hope this helps,
>
> Chris
>
>
> On Mon, Jan 24, 2022 at 11:45 AM Mark Volz <MarkVolz at co.lyon.mn.us> wrote:
>
> Hello,
>
> Is there a way to search for a specific parcel on startup. I would like to create a link from our recording application into GeoMOOSE.
>
> Example
>
> https://mygeomoosesite/desktop/#search=parcel&field=PIN&value=130220001002 <https://mygeomoosesite/desktop/#search=parcel&field=PIN&value=130220001002>
>
> Thanks!
>
> Sincerely,
>
> *Mark Volz, GISP***
>
> *Lyon County GIS Coordinator*
>
> Ph: (507) 532-8218
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
> --
> Chris Hughes
>
> GIS Analyst
> Lincoln County Surveyor Department
> 880 NE 7th St. l Newport, OR 97365
> Tel: (541) 574 1283
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20220124/f5137a88/attachment.html>
More information about the Geomoose-users
mailing list