Eric, MapServer has a great discussion list for asking questions just like this: http://lists.umn.edu/archives/mapserver-users.html

However...
You should first make sure that your version of MapServer was compiled with OGR support. Try running mapserv.exe -v from the command line. This should list all of the components that are included in your build of MapServer. Second, make sure that the gdal12.dll (or gdal13.dll) are in the path so MapServer can find them. Finally, make sure that your .map file is configured correctly. The following is taken from an example off the MapServer site:

LAYER
   NAME "My_Polygons"
   TYPE POLYGON
   CONNECTIONTYPE OGR
   CONNECTION "relative/path/to/data/my_polygons.tab"
   STATUS ON
   CLASS
      ...
   END
...
END

Consider also that you may have to specify a projection parameter for this layer definition....

Kind Regards,

- Ian Erickson

Eric Gagnon wrote:

Hi MI addicts..

I'm experimenting with Mapserver.
I downloaded the compiled archive for windows.
everything seams to be in order. Apache is running and I can access map server at http://localhost/ on a browser. The tutorial map is working fine.
But I can't get a mapinfo file working.

I'm kinda confused with the ogr thing.
So is there a special command to run with ogr before I can see my map in mapserver.
I thought that mapserver could read the files automatically.


TIA

Eric



--
Ian Erickson
AnalyGIS, LLC
Gold Canyon, AZ  85218
http:// www.analygis.com

See AnalyGIS at work: http://65.39.85.13/google/ http://65.39.85.13/virtualearth/

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to