[Mapserver-users] beginner in mapserver
Sylvain Beorchia
sbeorchia at gi-lemans.fr
Wed Jun 16 09:02:24 PDT 2004
Hi,
Be careful, the MAP file is the one for Mapserver, not the one from the
Mapinfo file.
This one is a text one and u can open it.
Then u have to define a layer for your mapinfo file, like this (example):
LAYER
NAME "mapinfo_layer"
STATUS ON
CONNECTIONTYPE OGR
CONNECTION "file.TAB"
TYPE LINE
SIZEUNITS PIXELS
TOLERANCE 3
TOLERANCEUNITS PIXELS
MINSCALE 0
MAXSCALE 100000
CLASS
TEMPLATE "obj_del.html"
NAME "mapinfolevel"
TITLE "Niveau mapinfo"
SYMBOL "circle"
COLOR 0 255 0
SIZE 1
MINSIZE 1
MAXSIZE 100
LABEL
TYPE BITMAP
POSITION CC
OFFSET 0 0
SIZE SMALL
OUTLINECOLOR 0 0 0
COLOR 255 255 255
BUFFER 0
MINDISTANCE -1
MINFEATURESIZE -1
PARTIALS TRUE
FORCE FALSE
END
END
END
Sylvain.
----- Original Message -----
From: "Belenfant Eric" <eric.belenfant at ac-orleans-tours.fr>
To: <Mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, June 16, 2004 4:59 PM
Subject: [Mapserver-users] beginner in mapserver
> Hi,
>
> i'm a beginner in mapserver.
> I try to use mapserver on a W32 with PHP 4.3.3 and maps from MapInfo 6.5.
> First notice:
> I get the files from MapInfo (.DAT, .MAP, .IND, .ID)
> Then, as they say in the tutorial, i try changing the dataset in the
> .MAP mapfile
> I open the .MAP but it's a binary file impossible to understand.
>
> So what is the mystake ??
> Should i create another .map in txt format and refer to the files coming
> from MAPINFO ??
>
> I'm lost !!!!
>
> thanks a lot for your answer
>
>
> _______________________________________________
> 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