Title: Richland County MapServer
Hi,

 This is what my map code look like
#This is Richland County Map Server
NAME "Richland"
SIZE 800 600
IMAGECOLOR 255 255 255
IMAGETYPE JPEG
SHAPEPATH "/home/mapdata/"
EXTENT -97.502192 45.947754 -96.330315 46.826661
WEB
  TEMPLATE '/var/www/htdocs/richland.html'
  IMAGEPATH '/var/www/htdocs/tmp'
  IMAGEURL '/tmp/'
END
LAYER
    NAME "Richland"
    STATUS default
    TYPE polygon
    DATA "RICH_bndy"
    PROJECTION "init=epsq:26914"
    END
END
END

I get this error now msProcessProjection(): Projection library error. no system list, errno: 2 ?  What does that mean?  How can I fix it?

Albert


Brock Anderson <[EMAIL PROTECTED]> wrote:
Albert,

For each layer it's important to tell mapserver which projection your
data is stored in. In your case:

LAYER
...
PROJECTION
"init=epsg:26914"
END #PROJECTION
END #LAYER

The epsg code 26914 represents "NAD83 / UTM zone 14N". I think that's
what you're looking for.

Brock

Albert Anderson wrote:

> Hi,
>
> I was using a projection file UTM Zone 14n Nad_83. Then I switch to an
> unprojective file and I saw my data show up. What would be the first
> best step for setting a projection file?
>
> Thanks
> Albert
>
> */"Fawcett, David" <[EMAIL PROTECTED]>/* wrote:
>
> You may want to take a look at your extent.
> Do you really intend to show a primarily empty stretch of the
> northern Atlantic Ocean (apologies to Canary Islanders...)?
> You are telling MapServer that your map area is contained within a
> box from 50 deg. west longitude to 10 deg. west longitude and 20
> to 90 degrees north latitude. If the name of your mapfile relates
> to the data, I am guessing that Richland County isn't in this box.
> Use ogrinfo or a desktop GIS app to look at the extent of your
> data. Also, the extent needs to be in the units of the spatial
> reference system that your data is in.
> David.
>
> -----Original Message-----
> *From:* UMN MapServer Users List
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Albert
> Anderson
> *Sent:* Wednesday, July 05, 2006 10:10 AM
> *To:* [email protected]
> *Subject:* [UMN_MAPSERVER-USERS] nothing shows up! no image or
> error?
>
> Hi,
>
> I am making my own map file. It looks all right but when I
> click the button it doesnt show an image or any kind of errors.
>
> Here is my map code.
> #This is Richland County Map Server
> NAME "Richland"
> SIZE 100 100
> IMAGECOLOR 255 255 255
> IMAGETYPE JPEG
> SHAPEPATH "/home/mapdata/"
> EXTENT -50.00 20.00 -10.00 90.00
> WEB
> TEMPLATE '/var/www/htdocs/richland.html'
> IMAGEPATH '/var/www/htdocs/tmp'
> IMAGEURL '/tmp/'
> END
> LAYER
> NAME "Richland"
> STATUS default
> TYPE polygon
> DATA "RICH_bndy"
> CLASS
> STYLE
> COLOR 0 0 0
> END
> END
> END
> END
>
> here is my html code
>
>
>
>
>
>
> value="/home/mapdata/richland.map">
>
> value="/var/www/htdocs/tmp/">
>
>
>
>
>
>
>

>
>

>
>
>
> I really dont know whats could be wrong. Maybe the extent of
> it? Can anyone help me?
>
> Thanks,
> Albert
> How low will we go? Check out Yahoo! Messenger’s low
> PC-to-Phone call rates.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>



Want to be your own boss? Learn how on Yahoo! Small Business.

Reply via email to