[Geomoose-users] Access data outside "data" folder

Sean Ziniker Sean.Ziniker at co.jefferson.or.us
Wed Sep 22 12:23:49 EDT 2010


Here is what my mapfile looks like:

 

LAYER

                        NAME 'HalfMeter2009'

                        STATUS ON

                        TYPE RASTER

                        PROJECTION

                                    'init=EPSG:2913'

                        END

                        TILEINDEX './data/HalfMeter2009_Index'

                        TILEITEM 'LOCATION'

            END

 

 

The TILEINDEX references a shapefile that indexes the images and has an
attribute named LOCATION that has the path to the images.  I started to
go down the DBF catalog route but everything I found on Mapserver talked
about a shapfile index.

 

Here is what the LOCATION attribute looks like: E:/New
GIS/JeffCOGISDATA/Aerials/Jefferson/HalfMeter2009/44120-D7

 

 

I finally got it to work with these settings.  I found an error in my
attribute location path string that was hanging it up.

 

 

 

Thanks for all the help, 

 

Sean

 

Sean Ziniker
GIS Analyst
Jefferson County, Oregon
66 S.E. "D" Street, Suite B
Madras, OR 97741
541.325.5083 Office
541.325.5089 Fax

________________________________

From: Len Kne [mailto:lkne at houstoneng.com] 
Sent: Wednesday, September 22, 2010 6:52 AM
To: Sean Ziniker; geomoose-users at lists.sourceforge.net
Subject: RE: Access data outside "data" folder

 

Hi Sean

 

You could put in the full path to the data tag (removing the "." )
and/or add the SHAPEPATH tag to the map file.

 

Len

 

From: Sean Ziniker [mailto:Sean.Ziniker at co.jefferson.or.us] 
Sent: Tuesday, September 21, 2010 3:18 PM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Access data outside "data" folder

 

I was just wondering if there is a way to access data outside the
'ms4w\apps\geomoose2\maps\data\' folder.  I have imagery that I would
like to access via a TILEINDEX but I can only get to work if the imagery
is within the geomoose data folder.  It would be nice to not have to
duplicate that many large files on my server.

 

Thanks,

 

Sean

 

Sean Ziniker
GIS Analyst
Jefferson County, Oregon
66 S.E. "D" Street, Suite B
Madras, OR 97741
541.325.5083 Office
541.325.5089 Fax

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20100922/4da968f7/attachment.html


More information about the Geomoose-users mailing list