[Mapserver-users] Map File and MapScript for MapInfo files
Lowell Filak
lfilak at medinaco.org
Wed Jun 4 05:53:27 PDT 2003
Being that you are using a version from at least a year ago I have found that it seems to work best to have the data in a directory below where the mapfile is.
I sometimes use a symbolic link to facilitate that and it works fine.
HTH
Lowell F.
The following message was sent by Robert Crossley <robert at wotzhere.com> on Wed, 04 Jun 2003 20:26:09 +1000.
> Hi all,
>
> I am revisiting a site that has worked really well for the last year, but
> now we want to make it use mapinfo files rather than shape files.
>
> We have one map file that works with shape files but it doesn't when it is
> pointed at the equivalent MapInfo files. TO make matters harder, the
> layers that are used are changed at runtime using mapscript, and it all
> runs from an activeX that also has Image Web Server controls in it. The
> bottom line is that mapserver's errors don't get through, the map just
> doesn't appear.
>
> We have got mapserver working with mapinfo files OK on another site on that
> computer, but there are no mapscript changes other than turning layers on
> or off.
>
> In the shape map file, I currently change the _data= property to the new
> name. The Shapepath definition acts as a reference point that I can change
> the data used relative to that.
>
> I think that I have to change the connection property for the mapinfo map
> file, but I'm pretty sure that the paths are the problem.
>
> Are the connection specs in the map file relative to the mapfile or should
> (can) they include absolute paths? In the one that is working they are
> stored in a subdirectory below the web site, and the connection string
> specifies a path relative to the web site (and map file). Our data is on a
> different drive.
>
> Perhaps I just need to set up a page that simply gets mapserver to serve an
> image directly from the map server and perhaps get a look at the errors. I
> liked the look of Daniel's MapEdit, but the server doesn't have php loaded.
> Any other suggestions?
>
> R
>
>
> --
>
> Robert Crossley Robert Crossley & Assoc
> 9 Short St
> New Brighton 2483
> Far Southern Queensland
> AUSTRALIA
>
> P: 02 6680 1309
> F: New Connection
> M: 0419 718 642
> E: robert at wotzhere.com
> _______________________________________________
> 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