Menu

new install

Help
2003-07-11
2013-03-13
  • Bart Elliott

    Bart Elliott - 2003-07-11

    I have just loaded mapsurfer.  The demo just says loading . Can you tell me what I have missed. 

    thanks

     
    • Anonymous

      Anonymous - 2004-03-03

      Others may have this problem.  I encountered it installing on Apache 2 running on Windows XP.  Here's a set of steps that got things working for me:

      1. Make sure the PROJ files, and particularly the epsg projection list, are in C:\Proj like Mapserver suggests in the installation instructions (Mapserver may still work if you don't, but it will cause annoying problems with the epsg projections that the demo files use).

      2. In mapper.html, the 'mapserver' variable must be a valid URL for the executable problem (e.g. "/cgi-bin/mapserv.exe").

      3. In mapper.html, the 'mapfile' variable needs to be an actual file system path; I find that in my installation only an absolute path will work reliably (e.g. "F:/apache/htdocs/mapsurfer/test.map")

      4. You also need to make sure that the IMAGEPATH and IMAGEURL are correctly set (the former is a file system path, the latter a URL) in the mapfile itself (e.g. IMAGEPATH "f:/apache/htdocs/tmp/" and IMAGEURL "/tmp/")

      5. I found that I had to tweak info.html as well though it wasn't documented.  It had paths like "/mapsurfer/mapsurfer/graphics" and I needed to change them so they simply read "/mapsurfer/graphics" (two occurrences of this)

      I hope that will help other pioneers get the demo working.

      I'm pretty new to Mapserver and brand new to Mapsurfer, so other than reporting my successful steps in getting this to work, I'm not likely to be able to offer additional help.

       
    • Hugh Barnard

      Hugh Barnard - 2005-02-26

      Hi Folks

      I also did a new install but with Redhat 9.0:

      1. Mapserv must be compiled --with-proj and with the projection library.
      2. I currently have test.map in my cgi-bin with mapserv, it doesn't seem to want to work anywhere else!
      3. data subdirectory and loader.html and printable.html also with mapserv, but that can 'probably' be sorted in test.map
      4. debug.html is very useful in case anyone missed it. Just been going progressively through the problems and reloading it.
      5. I didn't load the test data in the data subdirectory, so it couldn't find cal_filled for a while. Again, good error message for this.
      6. My installation now works, but the layout is a bit messy..
      Hope this helps, best regards Hugh

       
    • AresHalcyon

      AresHalcyon - 2006-01-08

      Hello there!

      I also had the same problem as the original poster, but none of the fixes above helped me.

      When I tried to shp2img the test.map file, I got the "msProcessProjection(): Projection library error. no system list, errno: 2" error.

      When I pointed my browser to "http://<yourdomain>/mapsurfer/debug.html" it also showed the same error on the bottom frame.

      The problem was that mapserv was not finding my projection files. They were sitting on /usr/local/share/proj. To get the test working I included the following projection file location in my test.map: (I got this fix from http://mapserver.gis.umn.edu/docs/error/proj-nosuchfile\)

      MAP
        ...
        CONFIG PROJ_LIB /usr/local/share/proj/
        ....
      END

      It worked and I was happy ... almost. I didn't want to have to add that line in all my .map files or to add the config into apache. I thought that there must be a way that mapserv could know where the files were and go fetch them automagically.

      As it turns out I had the proj-4.9.1.rpm already installed in my system when I compilled proj, and mapserv used the proj files from the rpm (they are at /usr/share/proj. The missing link was the proj-nad-4.9.1.rpm that was missing. I was missing the projection definition files!

      A quick trip to http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386
      and a download of the file http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/proj-nad-4.4.9-1.fc4.i386.rpm
      solved my problem!

      Hope this helps other with a similar problem.

       

Log in to post a comment.

MongoDB Logo MongoDB