[maplab-users] File extensions

Zak James zak-ms at hoppsan.org
Thu Jun 24 21:50:42 EDT 2004


Ken,

Can you be more explicit about what steps you are taking to add the 
tiff file? What maplab layer settings do you have and what does the 
layer look like in the saved mapfile before you edit it? Can you append 
all or part of the file?

Shape files are handled differently from other types of files and do 
not need .shp appended to them.

Mapserver can resolve both absolute and relative paths so the path in 
the DATA tag is not a problem.

zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca


On Jun 24, 2004, at 7:40 PM, Ken Sanderson wrote:

> Hello.
>
> Been having a problem with getting a raster image to work properly 
> after
> adding it to the map file via mapedit. I kept getting PHP errors on the
> top of the page.
>
> I tried a number of things and didn't get it to work until I edited the
> map file by adding .tif to the raster image listed. Mapedit isnt saving
> the extension of the selected file to the map file. This seems to work
> with shp files no problem, but apparently a problem with tif's.
>
> What is the general scoop on this? Should I be editing my map file and
> putting .shp extensions on everything as well? Is there a way to make
> mapedit save the extension always instead of me having to go edit it?
>
> Also on a somewhat related note I noticed that Mapedit stores the path
> information in the DATA attribute for each layer. I assume this isnt
> necessary since I have the path information in the shapepath attribute?
> I noticed the tutorial doesn't have paths, just the file name.
>
> Thanks,
>
> Ken
>
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>



More information about the Maplab-users mailing list