please - please - can anybody shed any light on what I am doing wrong?

Ethan Alpert ealpert at DIGITALGLOBE.COM
Thu Nov 11 13:08:34 PST 2004


Also do a shpdump and get the bounds in the projection of the shapefile.


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Stephen Woodbridge
Sent: Thursday, November 11, 2004 1:08 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] please - please - can anybody shed
any light on what I am doing wrong?


Joseph,

I'm not sure your extents are correct:

EXTENTS xmin ymin xmax ymax

it looks like you have xmin xmax ymin ymax. What to you get for an image
when you use shp2img utility?

-Steve


Joseph Norris wrote:

> I made a change - checked the permissions:
>
> Everything set to apache and with read/write/exec for apache
>
> This is the same as the
>
> http://mco.communityservers.com/cgi-bin/mapserv?map=/usr/local/apache/
> htdocs
> /mco.communityservers.com/htdocs/tests/test.map&mode=map
>
>
>
> This new url - simplified
>
> http://mco.communityservers.com/cgi-bin/mapserv?map=/usr/local/apache/
> htdocs
> /mco.communityservers.com/htdocs/maps/cal.map&mode=map
>
> The two directory permission structures are the exact same.
>
>
>
> #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 Stephen Woodbridge
> Sent: Thursday, November 11, 2004 11:54 AM
> To: MAPSERVER-USERS at lists.umn.edu
> Subject: Re: [UMN_MAPSERVER-USERS] please - please - can anybody shed
any
> light on what I am doing wrong?
>
> When I hit the URL you listed it says:
>
> msLoadMap(): Unable to access file.
> (/usr/local/apache/htdocs/mco.communityservers.com/htdocs/maps/cal/cal
> .map)
>
> So I would check your path and your permissions
>
> -Steve
>
> Stephen Woodbridge wrote:
>
>
>>Joseph,
>>
>>You DATAPATH is relative to your mapfile unless you specify it as an 
>>absolute path. I would start there. Also if you can load Netscape then

>>you can right click the broken image icon and select view image and it

>>will display any error messages that mapserver coughs up.
>>
>>-Steve
>>
>>Joseph Norris wrote:
>>
>>
>>>Group,
>>>
>>>Here I am again:
>>>
>>>I have this link:
>>>
>>>
>
> http://mco.communityservers.com/cgi-bin/mapserv?map=/usr/local/apache/
> htdocs
>
>>>/mco.communityservers.com/htdocs/maps/cal/cal.map&mode=map
>>>
>>>and this map file
>>>
>>>MAP
>>>  NAME TESTMAP
>>>  STATUS ON
>>>  EXTENT  -1375383.89811082 -7278971.22201064 16216802.1381132 
>>>10313214.8142134
>>>  IMAGETYPE PNG
>>>  SIZE 600 600
>>>  SHAPEPATH "data"
>>>  IMAGECOLOR 255 255 255
>>>
>>>  WEB
>>>    METADATA
>>>      "key1" "value1"
>>>      "key2" "value2"
>>>      "key3" "value3"
>>>      "key4" "value4"
>>>    END
>>>  END
>>>
>>>  LAYER
>>>    NAME "calif_co_st"
>>>    TYPE POLYGON
>>>    DATA "calif_co_st"
>>>    STATUS DEFAULT
>>>  END
>>>
>>>END
>>>
>>>I still getting nothing but this on my map ( right-click properties 
>>>):
>>>
>>>The image
>>>
>
> "http://mco.communityservers.com/cgi-bin/mapserv?map=/usr/local/apache
> /htdoc
>
>>>s/mco.communityservers.com/htdocs/maps/cal/cal.map&mode=map" cannot 
>>>be displayed, because it contains errors.
>>>
>>>And yet - when I move the tests directory into my http tree like this
>>>
>>>
>
> http://mco.communityservers.com/cgi-bin/mapserv?map=/usr/local/apache/
> htdocs
>
>>>/mco.communityservers.com/htdocs/tests/test.map&mode=map
>>>
>>>I get what the mapserver tests are supposed to give - is there 
>>>something about my shape files I should know about?
>>>
>>>Please - anything at all would be helpful.
>>>
>>
>



More information about the MapServer-users mailing list