[UMN_MAPSERVER-USERS] need help to begin - very newbee

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Wed Nov 10 10:36:41 PST 2004


Take a closer look at your browser; maybe you have a map wich doesn't show
anything and have a white background.  Right click in your browser or try to
select something and you could see there is an image.

If this is true, your problem is your extents or your projection.

Skweda O'Bomsawin


-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Joseph Norris
Envoyé : 10 novembre 2004 13:19
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] need help to begin - very newbee

Thanks for the help David.

I am not getting anything - the browser just says done and does not show
anything.  Nothing in the error_log either.


#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
From: David Fawcett [mailto:David.Fawcett at state.mn.us]
Sent: Wednesday, November 10, 2004 10:14 AM
To: MAPSERVER-USERS at lists.umn.edu; sirronj at pacbell.net
Subject: Re: [UMN_MAPSERVER-USERS] need help to begin - very newbee

Joseph,

What do you mean by 'dump of the map'?

Is it an image of the map (as you would expect from mode=map)?

Is it a dump of the text of the map file?

Did you get any sort of error message?

David.

>>> Joseph Norris <sirronj at PACBELL.NET> 11/10/2004 11:11:39 AM >>>
I have named the executable mapserv.cgi - and it works just fine on the
demo
model that I have obtained with mapserv.  I am doing something wrong
with
the mapfile I think.


#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print
@c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu]On

Behalf Of David Fawcett
Sent: Wednesday, November 10, 2004 9:02 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] need help to begin - very newbee

Joseph,

This may not be your entire problem, but you need to modify the URL.
I
believe that you have the wrong suffix on the name of the mapserv
binary
file.

Use this if you are on Windows:
http://mco.communityservers.com/cgi-bin/mapserv.exe?map=/usr/local/apache/ht


docs/mco.communityservers.com/htdocs/maps/cal/cal.map&mode=map


Or this if you are on 'nix:
http://mco.communityservers.com/cgi-bin/mapserv?map=/usr/local/apache/ht

docs/mco.communityservers.com/htdocs/maps/cal/cal.map&mode=map

David.



David J. Fawcett
MN Office of Environmental Assistance

>>> Joseph Norris <sirronj at PACBELL.NET> 11/10/2004 10:45:52 AM >>>
Hello to all,

I have successfully installed mapserver and I have the following
files:

B_Major_Cities_2.dbf
B_Major_Cities_2.prj
B_Major_Cities_2.shp
B_Major_Cities_2.shx
Country_Boundaries_3.dbf
Country_Boundaries_3.prj
Country_Boundaries_3.shp
Country_Boundaries_3.shx
Rivers_2.dbf
Rivers_2.prj
Rivers_2.shp
Rivers_2.shx
Streets_and_Railroads_1.dbf
Streets_and_Railroads_1.prj
Streets_and_Railroads_1.shp
Streets_and_Railroads_1.shx
Water_Bodies_2.dbf
Water_Bodies_2.prj
Water_Bodies_2.shp
Water_Bodies_2.shx


I have the following map file:

MAP
  IMAGETYPE GIF
  EXTENT 201621.496941 -294488.285333 1425518.020722 498254.511514
  SIZE 500 400
  SHAPEPATH "data"
  IMAGECOLOR 255 255 255


  # Start of LAYER DEFINITIONS
---------------------------------------------
  LAYER # California polygon layer begins here
    NAME "Country_Boundaries_3"
    DATA "Country_Boundaries_3"
    STATUS DEFAULT
    TYPE POLYGON

  END # States polygon layer ends here
  # End of LAYER DEFINITIONS -------------------------------
END # end of map file/object

I then do the following:

http://mco.communityservers.com/cgi-bin/mapserv.cgi?map=/usr/local/apache/ht


docs/mco.communityservers.com/htdocs/maps/cal/cal.map&mode=map

in my browser - but I get now dump of the map.  I have been over the
tutorial ( - please - if anyone has a more simplified tutorial - let
me
know ) but I do not see where I am in error.

Thanks to all

#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print
@c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27
 



More information about the MapServer-users mailing list