Empty map with MapInfo files (Mif/Mid) and OGR
Selim Hernandez
pimpoumvlan at HOTMAIL.COM
Wed Jul 6 00:03:10 PDT 2005
Hello,
I am a beginner with Mapserver.
I set up Ms4w succesfully.
The workshop demo is working fine
I manage to begin the tutorial.
Now I'm trying to use MapInfo exchange files (mif/mid files) with MapInfo,
using OGR.
Since I have no error message, I can say that OGR and mapserver find my mif
file. But I still have an empty map.
Here are my two files :
-->test2.map :
MAP
IMAGETYPE PNG
EXTENT -97.5 41.619778 -82.122902 49.38562 # Geographic
SIZE 400 300
SHAPEPATH "data"
IMAGECOLOR 255 255 255
# Start of LAYER DEFINITIONS ---------------------------------------------
LAYER # States polygon layer begins here
NAME states
CONNECTIONTYPE OGR
CONNECTION "test.mif"
DATA "test"
STATUS DEFAULT
TYPE POINT
CLASS
COLOR 0 0 0
OUTLINECOLOR 0 0 0
END
END # States polygon layer ends here
# End of LAYER DEFINITIONS -------------------------------
END # end of map file/object
---->and my test.mif file:
VERSION 300
DELIMITER ","
COLUMNS 0
DATA
POINT 45 -85
More information about the MapServer-users
mailing list