Re: [mapserver-users] RE: polygon tool

2011-02-18 Thread Shorthouse, David
Bob,

This may not be what you have in mind, but you're welcome to take a
peek at: http://bsc-localities.webhop.org/. Please note however that
this is a very interim service under development and the URL will most
certainly change. This was build in pure PHP MapScript and if you
would like the code, drop me a line; I haven't yet deposited it
anywhere.

Cheers,

David P. Shorthouse

On Fri, Feb 18, 2011 at 2:37 AM, Tom van der Putte t...@vdputte.nl wrote:
 Hi Bob,

 You could also try using Fusion, it also has a polygon tool in there, but
 again its based on Open Layers. I gues you can make your own, but you'd need
 some sort of framework that converts the drawn polygon to the location,
 projection and units that your basemap is in, for which openLayers is the
 perfect framework I think.

 Tom van der Putte


 From: mapserver-users-boun...@lists.osgeo.org
 [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais,
 Bob
 Sent: Thursday, February 17, 2011 8:18 AM
 To: mapserver-users
 Subject: [mapserver-users] polygon tool


 I am trying to create a polygon tool with PHP MapScript and JavaScript.
 I
 used to select map features. This kind of thing probably has been done
 before. Can anyone direct me to some code samples?



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: polygon tool

2011-02-17 Thread Fawcett, David (MPCA)
You might want to look at OpenLayers.  
www.openlayers.orghttp://www.openlayers.org

Here is a basic example that allows you to draw some vector features and then 
select them by drawing a box.
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-feature.html

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, February 17, 2011 8:18 AM
To: mapserver-users
Subject: [mapserver-users] polygon tool

I am trying to create a polygon tool with PHP MapScript and JavaScript.  I'd 
like to allow the user to draw a polygon which will eventually be used to 
select map features.  This kind of thing probably has been done before.  Can 
anyone direct me to some code samples?

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: polygon tool

2011-02-17 Thread Bistrais, Bob
That looks like what I'm after.  But at this time we're not using Open
Layers.  Can this be adapted to a PHP/MapScript app? 

   

 



From: Fawcett, David (MPCA) [mailto:david.fawc...@state.mn.us] 
Sent: Thursday, February 17, 2011 9:41 AM
To: Bistrais, Bob; mapserver-users
Subject: RE: polygon tool

 

You might want to look at OpenLayers.  www.openlayers.org

 

Here is a basic example that allows you to draw some vector features and
then select them by drawing a box.

http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-featu
re.html

 

David.

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Thursday, February 17, 2011 8:18 AM
To: mapserver-users
Subject: [mapserver-users] polygon tool

 

I am trying to create a polygon tool with PHP MapScript and JavaScript.
I'd like to allow the user to draw a polygon which will eventually be
used to select map features.  This kind of thing probably has been done
before.  Can anyone direct me to some code samples?

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: polygon tool

2011-02-17 Thread Fawcett, David (MPCA)
I assume that with php and MapScript you still need to have some client-side 
code (javascript or flash/Silverlight) for the draw and select tool.

David.

From: Bistrais, Bob [mailto:bob.bistr...@maine.gov]
Sent: Thursday, February 17, 2011 8:58 AM
To: Fawcett, David (MPCA); mapserver-users
Subject: RE: polygon tool

That looks like what I'm after.  But at this time we're not using Open Layers.  
Can this be adapted to a PHP/MapScript app?



From: Fawcett, David (MPCA) [mailto:david.fawc...@state.mn.us]
Sent: Thursday, February 17, 2011 9:41 AM
To: Bistrais, Bob; mapserver-users
Subject: RE: polygon tool

You might want to look at OpenLayers.  
www.openlayers.orghttp://www.openlayers.org

Here is a basic example that allows you to draw some vector features and then 
select them by drawing a box.
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-feature.html

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, February 17, 2011 8:18 AM
To: mapserver-users
Subject: [mapserver-users] polygon tool

I am trying to create a polygon tool with PHP MapScript and JavaScript.  I'd 
like to allow the user to draw a polygon which will eventually be used to 
select map features.  This kind of thing probably has been done before.  Can 
anyone direct me to some code samples?

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: polygon tool

2011-02-17 Thread Bob Basques

Geomoose (http://www.geomoose.org/) which is built on top of the
OpenLayers LIBs, can also handle the drawing functions.  This demo
:http://www.geomoose.org/demo/geomoose2-webmercator/geomoose.html


Look in the Sketch Tools pulldown list. 

bobb 





 Fawcett, David (MPCA) david.fawc...@state.mn.us wrote:


You might want to look at OpenLayers.  www.openlayers.org 
   
Here is a basic example that allows you to draw some vector features
and then select them by drawing a box. 
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-feature.html

   
David. 
   

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Thursday, February 17, 2011 8:18 AM
To: mapserver-users
Subject: [mapserver-users] polygon tool 

  
I am trying to create a polygon tool with PHP MapScript and JavaScript.
 I’d like to allow the user to draw a polygon which will eventually be
used to select map features.  This kind of thing probably has been done
before.  Can anyone direct me to some code samples? 
  
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: polygon tool

2011-02-17 Thread Tom van der Putte
Hi
Bob,
 You could also try using Fusion, it also has a polygon tool in
there, but again its based on Open Layers. I gues you can make your
own, but you'd need some sort of framework that converts the drawn
polygon to the location, projection and units that your basemap is in,
for which openLayers is the perfect framework I think. 
 Tom van der Putte
  From: mapserver-users-boun...@lists.osgeo.org [1]
 [mapserver-users-boun...@lists.osgeo.org [2]] On Behalf Of Bistrais,
 Bob
 Sent: Thursday, February 17, 2011 8:18 AM
 To: mapserver-users
 Subject: [mapserver-users] polygon tool 
 I am trying to create a polygon tool with PHP MapScript and
JavaScript.
  I
 used to select map features.  This kind of thing probably has been
done
 before.  Can anyone direct me to some code samples? 
 

Links:
--
[1] mailto:mapserver-users-boun...@lists.osgeo.org
[2] mailto:mapserver-users-boun...@lists.osgeo.org
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users