[mapserver-users] Drawing points with a FGS installation

Paul Spencer pspencer at dmsolutions.ca
Tue Oct 6 05:32:29 PDT 2009


If you don't need the placing of points to be a web-based application,  
you might want to try either qgis or udig.  Both will allow you to  
create GIS data that you can then use in mapserver to display.

If you need it to be a web-based application, then your best bet is to  
use OpenLayers.  Despite the apparent learning curve, it really is not  
all that difficult to get mapserver working with OpenLayers.

Getting MapServer to work as a WMS server is actually trivial - all  
you really need is to make sure your map has a PROJECTION defined  
using an epsg code and you add some METADATA blocks with at least  
wms_title and wms_srs.  There are some excellent documents on how to  
do this at mapserver.org

Getting started with OpenLayers is even easier, there are a huge  
number of examples with clear descriptions and code and the users  
mailing list is very helpful.

Cheers

Paul

On 2009-10-06, at 6:58 AM, Alex G. wrote:

> Hi all,
>
> Apologies if this is the incorrect list but I would like to ask for  
> advice on how to implement my idea.
>
> I've been fiddling with a FGS installation of MapServer and things  
> seem to be going pretty well: I was able to display some shapefiles  
> I was sent using the Gmap example but now I need to able to draw  
> points on the map - meaning that if a user clicks on the map, a dot/ 
> pin appears on the map.
>
> The idea is to able to record that pin and the layers (that were  
> enabled at the time) and save them to a database and later show that  
> data on the map itself.
>
> But first things first, how could I go about placing points/pins? I  
> am guessing I am going to need a toolset? I was told that OpenLayers  
> might be able to do what I am asking but it looks a bit complicated  
> for me (setting MapServer as WMS etc).
> Is there something else out there that might do what I want?
>
> The second part of my application would save that data to a database  
> and then display them, but that's the second step, I am interested  
> more into getting the points/pins on the map first.
>
> Thanks in advance for any replies!
>
> ps. Apologies if the questions seem silly but I have very little  
> experience with MapServer.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://research.dmsolutions.ca/




More information about the MapServer-users mailing list