[Gfoss] file map

Cari miei,sarà il sole,sarà il mare,ma a me questo file map non riesce farlo andare.Con maplab mi viene visualizzato solo l’elenco dei layer nel menù di sinistra però nella finestra centrale,dove teoricamente si dovrebbe caricare la mappa,non viene visualizzato niente…dove sta l’intoppo…copio di seguito il file incrminato!!!magari è la classica cavolata,però non riesco proprio a trovarla…
Grazie a tutti…!

Matteo

Start of axsum.map file

MAP
NAME “test”
STATUS ON
EXTENT -2200000 -712631 3072800 3840000
SIZE 400 300
SHAPEPATH “./data”
SYMBOLSET “./etc/symbols.sym”
FONTSET “./etc/fonts.txt”
IMAGETYPE PNG
IMAGECOLOR 255 255 255
UNITS METERS

Start of web interface definition

WEB
MINSCALE 2e+06
MAXSCALE 5e+07

On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root

of the drive where the .MAP file resides.

IMAGEPATH “/tmp/ms_tmp/”
IMAGEURL “/ms_tmp/”
END

Start of reference object (ikonos_sharp)

REFERENCE
EXTENT 1496247 1332616 7055632 5502154 #2200000 1400000 8000000 5400000
IMAGE “library/webserver/documents/maplab/axsum/images/ikonos_sharp.png”
SIZE 199 149
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END # Reference

Start of querymap object

QUERYMAP
STATUS ON
SIZE -1 -1
COLOR 255 0 0
STYLE HILITE
END

Start of legend object

LEGEND
STATUS ON
IMAGECOLOR 255 255 255
POSITION LL
KEYSIZE 18 12
KEYSPACING 5 5
TEMPLATE “ttt”
LABEL
TYPE BITMAP
SIZE MEDIUM
OFFSET 0 0
BUFFER 0
MINDISTANCE -1
MINFEATURESIZE -1
COLOR 0 0 89
PARTIALS TRUE
FORCE FALSE
END
END

Start of scalebar object

SCALEBAR
STATUS ON
COLOR 255 255 255
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 0 0 0
IMAGECOLOR 255 255 255
UNITS KILOMETERS
INTERVALS 5
SIZE 150 5
STYLE 0
POSITION LL
LABEL
TYPE BITMAP
SIZE SMALL
OFFSET 0 0
BUFFER 0
MINDISTANCE -1
MINFEATURESIZE -1
COLOR 0 0 0
PARTIALS TRUE
FORCE FALSE
END
END

Start of OutputFormat object

OUTPUTFORMAT
NAME “png”
MIMETYPE “image/png”
DRIVER “GD/PNG”
EXTENSION “png”
IMAGEMODE PC256
TRANSPARENT FALSE
END

LAYER
NAME “ctour1”
TYPE LINE
DATA “ctour1”
TRANSPARENCY 30
CLASS
Name ‘ISOIPSE’
COLOR 200 254 199
OUTLINECOLOR 0 0 0
TEMPLATE void
END # Class
END # Layer

LAYER
NAME “Classic_Aksumite_new”
TYPE point
DATA “Classic_Aksumite_new”
TOLERANCE 10
TOLERANCEUNITS pixels
CLASS
NAME “Classic-Aksumite”
EXPRESSION ([POP_RANK] = 1)
COLOR 255 0 0
SYMBOL ‘square’
SIZE 9
LABEL
POSITION Auto
COLOR 0 0 150
BACKGROUNDCOLOR 255 255 128
BACKGROUNDSHADOWCOLOR 150 150 150
BACKGROUNDSHADOWSIZE 2 2
BUFFER 2
#TYPE truetype
#FONT verdana
#SIZE 8
#MAXSIZE 9
SIZE small
END #Label

TEMPLATE void
END # Class
END # Layer

LAYER
NAME “Early_Aksumite_new”
TYPE POINT
DATA “Early_Aksumite_new”
TOLERANCE 10
TOLERANCEUNITS pixels
CLASS
NAME “Early-Aksumite-new”
EXPRESSION ([POP_RANK] = 1)
COLOR 255 0 0
SYMBOL ‘square’
SIZE 9
LABEL
POSITION Auto
COLOR 0 0 150
BACKGROUNDCOLOR 255 255 128
BACKGROUNDSHADOWCOLOR 150 150 150
BACKGROUNDSHADOWSIZE 2 2
BUFFER 2
#TYPE truetype
#FONT verdana
#SIZE 8
#MAXSIZE 9
SIZE small
END #Label

TEMPLATE void
END # Class
END # Layer

END #Map

Matteo Lorenzini wrote:

Cari miei,sarà il sole,sarà il mare,ma a me questo file map non riesce
farlo
andare.Con maplab mi viene visualizzato solo l'elenco dei layer nel menù
di
sinistra però nella finestra centrale,dove teoricamente si dovrebbe
caricare
la mappa,non viene visualizzato niente...dove sta l'intoppo...copio di
seguito il file incrminato!!!magari è la classica cavolata,però non riesco
proprio a trovarla...
Grazie a tutti...!

Matteo

Per prima cosa controlla che la temp directory sia esatta.
Magari in shppath/symbolset/fontset scrivi il percorso assoluto!

Hai provato con shp2img!
I log cosa dicono?

Ciao!
--
View this message in context: http://www.nabble.com/file-map-tf3901379.html#a11061895
Sent from the Gfoss mailing list archive at Nabble.com.