Problems with 4.0 tutorial on XP
Todd Birkenholtz
toddbirkey at YAHOO.COM
Fri Oct 22 12:47:47 PDT 2004
Andrea
I think so.
I copied all 12 DLL's to my c:\winnt\system32 folder
from c:\mapserver\lib
I also have in my path c:\mapserver\bin
I can however run shp2img -m example1-1.map -o
test.png and it works.
--- andrea <aborruso at tin.it> wrote:
---------------------------------
Hi todd,
do you have extracted all the dlls in a folder of the
windows PATH(i.e. c:\windows\system32)
Regards,
Andrea
Todd Birkenholtz wrote:
I am new to Mapserver and the concept of GIS
ingeneral.I think I followed the install procedure and
checkedthe FAQ but must have overlooked something.Here
is my setup..Windows XP with IISInstalled ms42pg.zip
(Mapserver Windows Binary Build)My IIS
foldersC:\Inetpub\tmp\ Temp
folderC:\Inetpub\wwwroot\tutorial\ tutorial
locationC:\Inetpub\wwwroot\tutorial\data data
folderC:\Inetpub\scripts\mapserver.exe and
mapserv.exeURLhttp://localhost/tutorial/http://localhost/tmp/
temp folderhttp://localhost/scripts/mapserv.exe or
mapserver.exeWhen I go to
http://localhost/scripts/mapserv.exe Iget the correct
result ofNo query information to decode. QUERY_STRING
not set.I installed the MapServer Itasca demo and as
far as Ican tell it is working.I get an image and PNG
files are placed in my tmpfolder.Here is my problem..I
can not get the 4.0 Tutorial to work.I edited my
example1-1.html image src to point to
mymapfilesrc="/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=map"
The image url generated by example1-1.html
ishttp://localhost/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=mapHere
is my edited
mapfile/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\MAP
IMAGETYPE PNG EXTENT 201621.496941
-294488.2853331425518.020722 498254.511514 SIZE
400 300 SHAPEPATH
"C:\Inetpub\wwwroot\tutorial\data" DEBUG on
IMAGECOLOR 255 255 255 PROJECTION "proj=laea"
"ellps=clrk66" "lat_0=45" "lon_0=-100" # #
Alternatively, you can specify an EPSG code. #
"init=epsg:2163" # END # Start of LAYER
DEFINITIONS---------------------------------------------
LAYER # States polygon layer begins here NAME
states DATA states_ugl STATUS
DEFAULT TYPE POLYGON PROJECTION
"init=epsg:4326" END CLASS COLOR 232
232 232 OUTLINECOLOR 32 32 32 END END #
States polygon layer ends here # End of LAYER
DEFINITIONS-------------------------------END # end of
map
file/object/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\When
I access example1-1htmlI get the HTML tutorial but
only a small box with ared x in it where the image was
to be.When I go the
URLhttp://localhost/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=mapI
get this error messageCGI ErrorThe specified CGI
application misbehaved by notreturning a complete set
of HTTP headers. The headersit did return
are:#8240;PNGI am sure I forgot to install something
or overlookedsomething clearly in some documentation
but I havebeen struggling with this for several
day#8217;sCan anybody help.Thank YouTodd
Birkenholtz__________________________________Do you
Yahoo!?Yahoo! Mail Address AutoComplete - You start.
We finish.http://promotions.yahoo.com/new_mail
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
More information about the MapServer-users
mailing list