[Mapserver-users] Newbie Question
Gregory S. Williamson
gsw at globexplorer.com
Fri Jun 20 16:21:40 PDT 2003
Voila ! That was it ... added the layer projection block as suggested and it worked like a charm.
Thanks, gracias, merci, danke, etc.
Greg W.
-----Original Message-----
From: Ed McNierney [mailto:ed at topozone.com]
Sent: Fri 6/20/2003 4:07 PM
To: Gregory S. Williamson; Swaminathan, Gayathri
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Newbie Question
Greg -
Great - now back to the original problem <g>. Your MAP file has no
PROJECTION block inside your LAYER definition, which indicates that the
LAYER data is supposed to be in the same projection as the output map
image.
This seems unlikely to be the case, as you reported the extents of your
data in decimal degrees, and vector data is commonly stored in that
unprojected format.
So I think you need a PROJECTION block in your LAYER definition. If
your data is NAD83 decimal degrees (a reasonable guess) then the EPSG
code is 4269, so
PROJECTION
"init=epsg:4269"
END
Inside the LAYER block should help.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
Phone: (978) 251-4242 Fax: (978) 251-1396
ed at topozone.com
-----Original Message-----
From: Gregory S. Williamson [mailto:gsw at globexplorer.com]
Sent: Friday, June 20, 2003 6:44 PM
To: Swaminathan, Gayathri
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Newbie Question
Gayathri,
Thanks muchly for the answer ... A search of the system archives seems
to have yielded a result of putting the epsg file in C:\PROJ\NAD (where
the precompiled binary looks for it I guess).
I now have:
NAME SSF
STATUS ON
SIZE 600 600
EXTENT 542724.08 4173551.37 557476.48 4187315.33
UNITS METERS
SHAPEPATH "DATA"
IMAGECOLOR 255 255 255
PROJECTION
"init=epsg:26910"
END
...
No error messages ! (progress!)
And still no map ... a legend showing the yellow lines as streets, and a
scale bar, no errors in the log file, but still no image.
Drat.
I will continue to troll the archives, but all ideas are welcome.
Greg W.
-----Original Message-----
From: Swaminathan, Gayathri [mailto:gayathri at ou.edu]
Sent: Fri 6/20/2003 2:57 PM
To: Gregory S. Williamson
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Newbie Question
Aah! The famous
"msProcessProjection(): Projection library error. no system list, errno:
2"
error.
Query on the same on Google or mapserver list.
Ed McNierney and Frank have helped some users with that in the past.
You should be able to get tones of info on this in the list.
Thanks,
Gayathri
-----Original Message-----
From: Gregory S. Williamson [mailto:gsw at globexplorer.com]
Sent: Friday, June 20, 2003 2:52 PM
To: Swaminathan, Gayathri
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Newbie Question -- San Francisco map
isn't happening
Thanks for the tip ... I must have something amiss though as I commented
out
the "proj=..." stuff and used:
PROJECTION
"init=epsg:26910"
END
And when I run it I get:
msProcessProjection(): Projection library error. no system list, errno:
2
Perhaps this version doesn't do projections ? Or I don't have the right
files in the right places ? I did dowload a proj446_win32_bin.zip file
and
put the proj.dll into the WINDOWS/SYSTEM directory and set a couple of
DOS
environment variables. Perhaps I don't have the epsg file where it
should be
?
Thanks for your time,
Greg W.
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list