[mapserver-users] Allowing users to draw polygons on MapServer maps

David Jantzen djantzen at ql2.com
Thu Jul 8 15:11:02 EDT 2010


Thank you for the suggestions everybody!  I'm glad to see there are plenty of options.  So far OpenLayers seems like a good choice, but I'll definitely take a look at these others.

On Jul 8, 2010, at 2:31 AM, Jan Hartmann wrote:

> There is GeoMajas, but I have never looked at it:
> 
> http://geomajas.org/
> 
> And there is the "Canvas" HTML element 
> (http://en.wikipedia.org/wiki/Canvas_element), something I am definitely 
> going to look into when I have time. See a few GIS-demos at
> 
> http://www.canvasdemos.com/type/applications/maps-applications/
> 
> and the GnuPlot library, implemented in Canvas:
> 
> http://skuld.bmsc.washington.edu/~merritt/gnuplot/canvas_demos/
> 
> Perhaps an idea for 3D-MapServer: 
> http://www.canvasdemos.com/type/applications/3d-applications/
> or from the 3D section of the GnuPlot library above.
> 
> Jan
> 
> On 07/08/10 04:53, Bob Basques wrote:
>> David,
>> 
>> You could go with something in GeoMoose as well.  There is a demo 
>> available that includes drawing tools, you would need to set up your 
>> backend storage though on your own, with your tool of choice, but 
>> these get you half way there.  You can see a couple of demo sites with 
>> drawing/edit tools already configured here:
>> 
>> http://geomoose.org/info/demo.html
>> 
>> Both of these demos are available as downloads as well.
>> 
>> bobb
>> 
>> 
>> 
>> On 7/7/2010 8:50 PM, David Jantzen wrote:
>>> Thanks Steve, I'll check out those projects.  I just did a proof of 
>>> concept using the approach you describe with OpenLayers and WKT.  
>>> Very nifty stuff.  Any gotchas to that approach?
>>> 
>>> On Jul 7, 2010, at 6:34 PM, Lime, Steve D (DNR) wrote:
>>> 
>>>> Take a look at FeatureServer (or perhaps the WFS-T support in 
>>>> GeoServer or Tiny WFS). Such tools would facilitate the writing of 
>>>> geometries
>>>> to a data store (e.g. PostGIS) that MapServer could read from. Of 
>>>> course you could write your own tool to do that. We've used rails 
>>>> and serialized
>>>> geometries to/from OpenLayers as WKT easy enough.
>>>> 
>>>> Steve
>>>> ________________________________________
>>>> From: mapserver-users-bounces at lists.osgeo.org 
>>>> [mapserver-users-bounces at lists.osgeo.org] On Behalf Of David Jantzen 
>>>> [djantzen at ql2.com]
>>>> Sent: Wednesday, July 07, 2010 6:13 PM
>>>> To: mapserver-users at lists.osgeo.org
>>>> Subject: Re: [mapserver-users] Allowing users to draw polygons on 
>>>> MapServer     maps
>>>> 
>>>> Hmm, this looks close to what I want:
>>>> 
>>>> http://openlayers.org/dev/examples/draw-feature.html
>>>> 
>>>> Any idea how I would export the polygons to a shapefile/database? 
>>>> What about loading them from a previous session?
>>>> 
>>>> Thanks,
>>>> David
>>>> 
>>>> On Jul 7, 2010, at 2:50 PM,<christopher.schmidt at nokia.com> 
>>>> <christopher.schmidt at nokia.com>  wrote:
>>>> 
>>>>> On Jul 7, 2010, at 5:19 PM, ext David Jantzen wrote:
>>>>> 
>>>>>> Hi All,
>>>>>> 
>>>>>> I've never used MapServer before, so this is definitely a newbie 
>>>>>> question.  I've read a bunch of the documentation and FAQ, but I 
>>>>>> haven't yet found a clear answer to this question:
>>>>>> 
>>>>>> Can I use MapServer to host a map, on which my clients can draw 
>>>>>> polygons and export them as shapefiles or into a database?  If 
>>>>>> not, is there another (open source) product that can?
>>>>>> 
>>>>>> Seems like one of the scripting toolkits could do this, but not 
>>>>>> without significant custom front end work.
>>>>> I think this is approximately accurate. Personally, I would 
>>>>> probably use
>>>>> GeoDjango/OpenLayers for this kind of task.
>>>>> 
>>>>> Regards,
>>>>> -- 
>>>>> Christopher Schmidt
>>>>> Nokia
>>>>> 
>>>> _______________________________________________
>>>> mapserver-users mailing list
>>>> mapserver-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>> 
>>> 
>> 
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list