[mapserver-users] Combine Layers of Different Unit Systems (FWD)
Stephen Woodbridge
woodbri at swoodbridge.com
Mon Jan 21 10:56:26 PST 2002
Make sure it is configured in via ldconfig, you can check with:
[woodbri at linus]$ /sbin/ldconfig -v | grep gdal
libgdal.1.1.so => libgdal.1.1.so
/sbin/ldconfig: can't create /etc/ld.so.cache~ (Permission denied)
if it is not listed like above then run ldconfig as root.
Also check the permissions:
[woodbri at linus]$ ls -l /usr/local/lib/libgdal.1.1.so
-rwxr-xr-x 1 root root 2532945 Dec 5 23:23
/usr/local/lib/libgdal.1.1.so
If this doesn't fix the problem then you most likely need to set the
output projection to that of the TIFF file and then specify an input
projection for the layer with the GPS shape in it, but I'm not sure of
all the details.
-Steve
teb wrote:
>
> ------------- Begin Forwarded Message -------------
>
> From: "Mike Boone" <mike at boonedocks.net>
> To: <mapserver-info at lists.gis.umn.edu>
> Subject: Combine Layers of Different Unit Systems
> Date: Mon, 21 Jan 2002 11:06:21 -0500
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> Importance: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>
> Hi all.
>
> I'm trying to accomplish what seems like a simple task with MapServer 3.5. I
> have a shapefile made up of GPS track data, in units of degrees
> (geographic?). I also have a raster USGS TIFF map which apparently has units
> of meters. All I want to do is plot the trackline correctly upon the raster
> map.
>
> I don't care whether the master .map file is in meters or degrees, I just
> want the output to look right.
>
> Should I be using the PROJECTION stuff to make this work? Or is there a tool
> that would convert my shapefile into meters from degrees?
>
> (I've been fooling with the PROJECTION route, but have so far been
> unsuccessful getting mapserver to work with GDAL. I keep getting the error
> that it can't open shared object libgdal.1.1.so, even when that file is
> readily available in /usr/local/lib)
>
> Thanks for any help and insights!
> Mike.
> http://boonedocks.net/mike
>
> ------------- End Forwarded Message -------------
More information about the MapServer-users
mailing list