Create ONE layer with some jpeg files
Lowell Filak
lfilak at MEDINACO.ORG
Thu Sep 22 11:02:24 PDT 2005
The following message was sent by Virginie BERRE <vberre at GI-PARIS.COM>
on Thu, 22 Sep 2005 15:44:04 +0200.
> Hi all !
>
>
>
>
> I would like some help because I don't understand exactly the document
> raster-howto Rasters and Tile Indexing
>
>
> I have 32 jpeg image files with 32 jgw files and I want to create a >
unique
> layer in mapserver.
>
> Could you please give me a mapfile example?
>
>
>
> Thanks!
>
>
>
> Best regards,
>
>
>
> Virginie Berre / Ingénieur étude et développement
>
> Générale d'Infographie
>
> ZA Les Erables - Bâtiment 4
>
> 66, route de Sartrouville - F-78230 - LE PECQ
>
> Tél : (33) (0)1.30.15.40.50 - Fax : (33) (0)1.30.15.40.60
>
> <mailto:vberre at gi-paris.com> mailto:vberre at gi-paris.com
>
> <http://www.generale-infographie.fr/> >
http://www.generale-infographie.fr/
Virginie,
You will need to create the tileindex first (which I think is covered in
the howto (gdaltindex)). Following is a working mapfile and a dump of
the tileindex dbf file items. This is all covered pretty well in the
howto however so the solution to any problems you're having may lie
elsewhere.
Lowell
#
# Start of map file
#
# 5-11-2005 Original.
NAME ORTHOS
STATUS ON
SIZE 600 600
SYMBOLSET "symbols/mche.sym"
EXTENT 2083398.868201 475510.1425693 2230753.539609 594453.3396094
UNITS FEET
SHAPEPATH "."
IMAGECOLOR 255 255 255
FONTSET "./font.set"
#
# Start of layer definitions
#
LAYER
NAME orthos
TYPE RASTER
STATUS DEFAULT
TILEINDEX "maps/coverages/ten2000p"
TILEITEM "location"
END
END # Map File
dbfdump -info maps/coverages/ten2000p.dbf
Filename: maps/coverages/ten2000p.dbf
Version: 0x03 (ver. 3)
Num of records: 1856
Header length: 129
Record length: 152
Last change: 2005/7/5
Num fields: 3
Field info:
Num Name Type Len Decimal
1. TEN2000_ID N 8 0
2. LOCATION C 127 0
3. NAME C 16 0
More information about the MapServer-users
mailing list