[Geomoose-users] Buffer Tool

Adam Feidt afeidt at edenprairie.org
Tue Oct 28 12:22:29 EDT 2008


Yeah I've been playing around with this in the buffer tool, but it runs a php script, which also needs to be modified.  It keeps saying it must be a poly.  The select tool is probably ok as a box, but the buffer tool really doesn't do any good on roads if it is a box select.

My graphic drawing tools don't work in the county demo either.

Adam M. Feidt
GIS Coordinator
City of Eden Prairie
8080 Mitchell Rd
Eden Prairie, MN 55344
phone# 952-949-8443
fax# 952-949-8334

From: Jay Kapalczynski [mailto:jkapalczynski at ci.maple-grove.mn.us]
Sent: Tuesday, October 28, 2008 10:20 AM
To: Adam Feidt
Subject: RE: Buffer Tool


Line, Box, Polygon....respectively (see red highlight)



<service title="Select Feature Testing Line" default="true" locked="true" cursor="url(cursors/select.cur), auto" shape="line" type="inspect-search



<service title="Select Feature Testing Box" default="true" locked="true" cursor="url(cursors/select.cur), auto" shape="box"



<service title="Select Feature Testing Measurearea" default="true" locked="true" cursor="url(cursors/select.cur), auto" shape="measurearea" ty





Think that should do it











-----Original Message-----
From: Adam Feidt [mailto:afeidt at edenprairie.org]
Sent: Tuesday, October 28, 2008 9:08 AM
To: geomoose-developers at lists.sourceforge.net
Subject: [Geomoose-developers] Buffer Tool



First and foremost, I just wanted to thank you guys for the new release of GeoMoose.  It is much better than GeoMoose 1.0, which I had been using.  You guys did a great job.  Secondly, I was wondering if the buffer tool could function more like the draw line tool.  As it currently stands you can only select by drawing a square box.  This makes it impossible to select or buffer a stretch of curvy road.  For example I want to buffer only Highway 101; if you could draw a line down the center of Highway 101 then you could buffer it.  You can't draw a square around Highway 101 and get only the roads you want.  You could additionally add in a shortcut key to get the tool to draw a square box.



Adam M. Feidt

GIS Coordinator

City of Eden Prairie

8080 Mitchell Rd

Eden Prairie, MN 55344

phone# 952-949-8443

fax# 952-949-8334





-----Original Message-----

From: geomoose-developers-request at lists.sourceforge.net [mailto:geomoose-developers-request at lists.sourceforge.net]

Sent: Friday, October 24, 2008 9:29 AM

To: geomoose-developers at lists.sourceforge.net

Subject: Geomoose-developers Digest, Vol 12, Issue 25



Send Geomoose-developers mailing list submissions to

        geomoose-developers at lists.sourceforge.net



To subscribe or unsubscribe via the World Wide Web, visit

        https://lists.sourceforge.net/lists/listinfo/geomoose-developers

or, via email, send a message with subject or body 'help' to

        geomoose-developers-request at lists.sourceforge.net



You can reach the person managing the list at

        geomoose-developers-owner at lists.sourceforge.net



When replying, please edit your Subject line so it is more specific

than "Re: Contents of Geomoose-developers digest..."





Today's Topics:



   1. Mailing Labels From the Select Tool Fixed (Jay Kapalczynski)

   2. Re: [Geomoose-users] Service Types XML (Nelson Soto)

   3. Re: [Geomoose-users] Service Types XML (Dan Little)





----------------------------------------------------------------------



Message: 1

Date: Thu, 23 Oct 2008 13:36:19 -0500

From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>

Subject: [Geomoose-developers] Mailing Labels From the Select Tool

        Fixed

To: "geomoose-developers at lists.sourceforge.net"

        <geomoose-developers at lists.sourceforge.net>,

        "geomoose-users at lists.sourceforge.net"

        <geomoose-users at lists.sourceforge.net>

Cc: 'Nelson Soto' <NSoto at plotplans.com>, 'Nelson Soto'

        <nellyfromma at gmail.com>

Message-ID:

        <D7A5EAC385604446AB1DD24BF4F5A91807FC7F47E4 at MG-Mail.ci.maple-grove.mn.us>



Content-Type: text/plain; charset="us-ascii"



Just thought I would pass this along to anyone interested...



I asked the question to get the select tools mailing labels to work like the buffer tool....The buffer tool was not specific enough...with the select tool I can select with Polygons, Lines, and Points...these means are far more specific and make more sense for my application.  Sometimes you need random selections.....

GeoMOOSE was not designed for this....... I got this code from Mike Hamby....Thanks Mike!



Anyways....the code is below....its basically the SELECT BUFFER code ...just replace you select code with this....and replace the blue code with your specifics....



The main line allowing this is the negative buffer.... <input type="hidden" name="buffer" value="-5"/>



Then you can change the shape="box" to allow a box, polygon, ,line etc



<service title="Select Feature" default="true" locked="true" cursor="url(cursors/select.cur), auto" shape="box" type="inspect-search" icon="shared/images/toolbar/draw_polygon.jpg" highlight="shared/images/toolbar/draw_polygon_selected.jpg">

<url>php/buffer_select.php</url>

                    <input type="hidden" name="buffer" value="-5"/>

                    <input type="multipoint" name="coords"/>

                    <input type="hidden" name="shape" value="poly"/>



                    <input type="hidden" name="map" value="/ms4w/apps/GeoMOOSE/maps_Crawford_UTM/select.map"/>

                    <input type="hidden" name="select" value="/ms4w/apps/GeoMOOSE/maps_Crawford_UTM/select.map"/>



                    <input type="hidden" name="select_layer" value="Parcels:PIN">Parcels></input>

                    <input type="hidden" name="query_layer" value="Parcels:PIN">Parcels></input>

                    <input type="hidden" name="output" value="html"/>

 </service>



-------------- next part --------------

An HTML attachment was scrubbed...



------------------------------



Message: 2

Date: Fri, 24 Oct 2008 09:58:35 -0400

From: "Nelson Soto" <NSoto at plotplans.com>

Subject: Re: [Geomoose-developers] [Geomoose-users] Service Types XML

To: "Nelson Soto" <NSoto at plotplans.com>,

        <geomoose-users at lists.sourceforge.net>,

        <geomoose-developers at lists.sourceforge.net>

Message-ID:

        <7BA6F57E003ADF4EA12DAA3043BB13D43B11E1 at geoexchange.DesLauriers.local>

Content-Type: text/plain; charset="us-ascii"



Ok, well if it seems there is no up-to-date information regarding this

then how about the moose: tags returned from services?







________________________________



From: Nelson Soto [mailto:NSoto at plotplans.com]

Sent: Wednesday, October 22, 2008 2:52 PM

To: geomoose-users at lists.sourceforge.net;

geomoose-developers at lists.sourceforge.net

Subject: Re: [Geomoose-users] Service Types XML







Is there an up-to-date Mapbook Reference guide? I would like to see all

of the acceptable input types at the moment.







________________________________



From: Dan Little [mailto:danlittle at yahoo.com]

Sent: Wednesday, October 22, 2008 2:31 PM

To: Nelson Soto; geomoose-users at lists.sourceforge.net;

geomoose-developers at lists.sourceforge.net

Subject: Re: [Geomoose-users] Service Types XML







The "types" are actually deprecated.



They used to imply how the search results were called and processed.

The only type that is honoured any more is "xml-post" which you can see

an example of operation in the Print service, which actually posts XML

to print.php for output.







________________________________



From: Nelson Soto <NSoto at plotplans.com>

To: geomoose-users at lists.sourceforge.net;

geomoose-developers at lists.sourceforge.net

Sent: Wednesday, October 22, 2008 1:29:00 PM

Subject: [Geomoose-users] Service Types XML



I am looking at the service definition located at GeoMoose's website.

http://www.geomoose.org/moose/index.php?option=com_content&task=view&id=

14&Itemid=29







I am trying to investigate the different parameters; particularly

'type'. I am looking at the Select Feature Service and notice the type

is "inspect-search". What is this? Are there more types than the 3

displayed on the site? Any help is appreciated..















-------------- next part --------------

An HTML attachment was scrubbed...



------------------------------



Message: 3

Date: Fri, 24 Oct 2008 07:28:34 -0700 (PDT)

From: Dan Little <danlittle at yahoo.com>

Subject: Re: [Geomoose-developers] [Geomoose-users] Service Types XML

To: Nelson Soto <NSoto at plotplans.com>,

        geomoose-users at lists.sourceforge.net,

        geomoose-developers at lists.sourceforge.net

Message-ID: <505703.86536.qm at web51412.mail.re2.yahoo.com>

Content-Type: text/plain; charset="windows-1252"



There is an intentional lack of documentation there, and that's because it's a freakin' hack.



What happens when you return stuff from a service is this:

1) If it returns mapbook XML, then it processes it as if you've loaded another mapbook, it can turn layers on, update them, etc.



2) If it returns HTML, it displays the HTML in the DIV, and then takes commands from the <moose:mapbook>, it uses the different name space in order to get the ease of HTML templating and get the power needed to do two way communications between the Javascript client and the server-side services.









________________________________

From: Nelson Soto <NSoto at plotplans.com>

To: Nelson Soto <NSoto at plotplans.com>; geomoose-users at lists.sourceforge.net; geomoose-developers at lists.sourceforge.net

Sent: Friday, October 24, 2008 8:58:35 AM

Subject: Re: [Geomoose-users] Service Types XML





Ok, well if it seems there is no

up-to-date information regarding this then how about the moose: tags returned

from services?





________________________________



From:Nelson Soto

[mailto:NSoto at plotplans.com]

Sent: Wednesday, October 22, 2008

2:52 PM

To: geomoose-users at lists.sourceforge.net; geomoose-developers at lists.sourceforge.net

Subject: Re: [Geomoose-users]

Service Types XML



Is there an up-to-date Mapbook Reference

guide? I would like to see all of the acceptable input types at the moment.





________________________________



From:Dan Little [mailto:danlittle at yahoo.com]

Sent: Wednesday, October 22, 2008

2:31 PM

To: Nelson Soto;

geomoose-users at lists.sourceforge.net; geomoose-developers at lists.sourceforge.net

Subject: Re: [Geomoose-users]

Service Types XML



The "types" are actually deprecated.



They used to imply how the search results were called and processed.  The

only type that is honoured any more is "xml-post" which you can see

an example of operation in the Print service, which actually posts XML to

print.php for output.





________________________________



From:Nelson

Soto <NSoto at plotplans.com>

To: geomoose-users at lists.sourceforge.net; geomoose-developers at lists.sourceforge.net

Sent: Wednesday, October 22, 2008

1:29:00 PM

Subject: [Geomoose-users] Service

Types XML

I am looking at the service definition located at

GeoMoose?s website. http://www.geomoose.org/moose/index.php?option=com_content&task=view&id=14&Itemid=29



I am trying to investigate the different parameters;

particularly ?type?. I am looking at the Select Feature Service and

notice the type is ?inspect-search?. What is this? Are there more

types than the 3 displayed on the site? Any help is appreciated..







-------------- next part --------------

An HTML attachment was scrubbed...



------------------------------



-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/



------------------------------



_______________________________________________

Geomoose-developers mailing list

Geomoose-developers at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geomoose-developers





End of Geomoose-developers Digest, Vol 12, Issue 25

***************************************************



-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________

Geomoose-developers mailing list

Geomoose-developers at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geomoose-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20081028/a402294f/attachment.html


More information about the Geomoose-users mailing list