[Mapserver-users] tile indexing - the same problem

Antonio Cosenza antonio.cosenza at polito.it
Mon Mar 29 04:13:05 EST 2004


This is a multi-part message in MIME format.
--------------020600020104030806010106
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi guys,
I'm always in trouble with mapserver tileindexing.....
This is my situation: shapefile and dbf (you can see the fields in the 
attached file) of rectangular polygons, representing the footprints of 
my jpeg tiles. In the "Location" field I put the absolute path to my 
tiles on my linux box...
This is also my mapfile:

    MAP
  NAME "catalogue"
  STATUS ON
  EXTENT 313376 3933747 1312118 5220507
  SIZE 500 400
  SHAPEPATH "./dati"
  SYMBOLSET "./etc/symbols.sym"
  FONTSET "./etc/fonts.txt"
  IMAGECOLOR 255 255 255
  UNITS METERS
  IMAGETYPE PNG
  WEB
    IMAGEPATH "/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
  END
  REFERENCE
    STATUS ON
    IMAGE "./dati/italia.png"
    SIZE 200 243
    EXTENT 317500 3926986 1335738 5232066
    COLOR -1 -1 -1
    OUTLINECOLOR 255 0 0
  END
  QUERYMAP
    STATUS ON
    SIZE 500 400
    COLOR 255 0 0
    STYLE HILITE
  END
  SCALEBAR
    STATUS ON
    COLOR 0 0 0
    UNITS KILOMETERS
    SIZE 200 3
    STYLE 0
    INTERLACE ON
  END
  LAYER
    NAME "capoluoghi"
    GROUP "Capoluoghi"
    STATUS ON
    DATA "./capoluoghi"
    TYPE POINT
    LABELITEM "nome"
    LABELMINSCALE 1
    LABELMAXSCALE 5000000
    CLASS
      NAME "capoluoghi"
      MINSCALE 1
      MAXSCALE 5000000
      SYMBOL 2
      COLOR 0 0 0
      SIZE 5
      LABEL
        TYPE TRUETYPE
        FONT "fritqat-bold"
        SIZE 8
        POSITION AUTO
        ANGLE AUTO
        COLOR 255 0 0
        ANTIALIAS TRUE
        PARTIALS FALSE
      END
    END
  END
  LAYER
    NAME "Raster"
    STATUS DEFAULT
    TYPE RASTER
    TILEINDEX "./Raster.shp"
    TILEITEM "Location"
    MAXSCALE 10000000
  END
END

What is going wrong?? I can't see the tiles !! I used the mapfile with 
maplab also , it seems to find the correct path trough the location 
field, but it returns me  this kind of error:

Error Parsing *catalogo_tile.map*
Description
(/var/www/maplab/htdocs/mapedit/felip/home/root/tileindex/F3-I19.jpg) in 
/maplab/htdocs/common/wrapper/drawmap.php
(/var/www/maplab/htdocs/mapedit/felip/home/root/tileindex/F3-J19.jpg) in 
/maplab/htdocs/common/wrapper/drawmap.php
(/var/www/maplab/htdocs/mapedit/felip/home/root/tileindex/F3-K19.jpg) in 
/maplab/htdocs/common/wrapper/drawmap.php
(/var/www/maplab/htdocs/mapedit/felip/home/root/tileindex/F3-P19.jpg) in 
/maplab/htdocs/common/wrapper/drawmap.php
(/var/www/maplab/htdocs/mapedit/felip/home/root/tileindex/F3-Q19.jpg) in 
/maplab/htdocs/common/wrapper/drawmap.php


I don't know what is the problem anymore at this point!!

Thanks for your help

Bye from Italy!

Toni


--------------020600020104030806010106
Content-Type: application/octet-stream;
 name="Raster.dbf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Raster.dbf"

A2gDHQIAAABhAS4BAAAAAAAAAAAAAAAAAAAAAAAAAABTT1RUTy1USVBPAEMAAAAAMgAAAAAA
AAAAAAAAAAAAAE5PTUUAAAAAAAAAQwAAAAAyAAAAAAAAAAAAAAAAAAAASUROVAAAAAAAAABO
AAAAAA8EAAAAAAAAAAAAAAAAAABOVU1FUk8AAAAAAEMAAAAADwAAAAAAAAAAAAAAAAAAACQk
IFhMTksgJCQATgAAAAAKAgAAAAAAAAAAAAAAAAAATEVHQU1FAAAAAABDAAAAADIAAAAAAAAA
AAAAAAAAAABSQVNURVIAAAAAAEMAAAAACgAAAAAAAAAAAAAAAAAAAFZFQ1RPUgAAAAAAQwAA
AAAKAAAAAAAAAAAAAAAAAAAAU0NIRVJNTyBQSQBOAAAAAAEAAAAAAAAAAAAAAAAAAABMT0NB
VElPTgAAAEMAAAAAWgAAAAAAAAAAAAAAAAAAAA0gUm91dGUgOTkgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBFMi1SMTggICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAuMDAwMDpFMi1SMTguanBnICAgICAg
ICAgIDAuMDA6UmFzdGVyX2pwZzpFMi1SMTguanBnICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgMC92YXIvd3d3L21hcGxhYi9odGRvY3MvbWFwZWRp
dC9mZWxpcC9ob21lL3Jvb3QvdGlsZWluZGV4L0UyLVIxOC5qcGcgICAgICAgICAgICAgICAg
ICAgICAgICBSb3V0ZSA5OSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIEUyLVIxNyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgMC4wMDAwOkUyLVIxNy5qcGcgICAgICAgICAgMC4wMDpSYXN0ZXJfanBnOkUy
LVIxNy5qcGcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAwL3Zhci93d3cvbWFwbGFiL2h0ZG9jcy9tYXBlZGl0L2ZlbGlwL2hvbWUvcm9vdC90aWxl
aW5kZXgvRTItUjE3LmpwZyAgICAgICAgICAgICAgICAgICAgICAgGg==
--------------020600020104030806010106--



More information about the mapserver-users mailing list