Tiled datasets with OGR
Delfos, Jacob
Jacob.Delfos at MAUNSELL.COM
Mon Apr 2 18:52:59 PDT 2007
Roland / Daniel,
Sorry for adding to this a bit late.
The STYLEITEM AUTO isn't what crashes in the tileindex. The problem is
that the OGR Tileindex itself doesn't work properly in php_mapscript
(which is what I believe Roland uses, if I recall correctly).
I lodged a bug for this a while ago:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1700
OGR Tileindex works fine in the CGI, but not in php_mapscript (since at
least version 4.4).
Regards,
Jacob
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Daniel Morissette
> Sent: 30 March 2007 02:01
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] Tiled datasets with OGR
>
> Um... not sure why the STYLEITEM AUTO would not work with a tiled OGR
> layer, but anyway, a workaround for this issue would be to
> convert your
> tiled TAB files to a Seamless TAB Dataset using MapInfo.
> Seamless Tables
> are similar to tiled dataset, but the tiling is handled in
> the MapInfo
> driver inside OGR so MapServer sees the seamless table as a single
> MapInfo file. Then you'd just point to the seamless table
> (.tab file) in
> the CONNECTION string and STYLEITEM AUTO should work.
>
> Daniel
>
>
> Roland Martin wrote:
> > Hi,
> >
> > I'm having a bit of trouble with a tiled dataset - I
> suspect there's a
> > number of things at play, so I'll phrase this as a question!
> >
> > Is it possible to tile MapInfo TABs; display them as a
> single layer in
> > MapServer; and still use 'STYLEITEM AUTO'?
> >
> > I've managed the first 2 without any problems, by storing
> the tiles as a
> > shapefile, but the styling wasn't working ("not available for this
> > datasource" or somesuch). I then tried using a TAB as the
> TILEINDEX, but
> > that didn't seem to be working at all (not clear if this
> was a MapServer
> > or OGR problem though).
> >
> > So, am I missing something here, or is it not possible?
> >
> > Thanks for your help,
> > Roland.
>
>
> --
> Daniel Morissette
> http://www.mapgears.com/
>
This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.
More information about the MapServer-users
mailing list