tile4ms query problem
ed at TOPOZONE.COM
Tue Dec 6 13:41:25 EST 2005
If you use a tiled shapefile datalayer, you need to make sure all the shapefiles have the same attribute fields in the same order. Tile4ms does not enforce that, but you'll run into problems when you do things like queries.
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Carlos Timóteo
Sent: Tuesday, December 06, 2005 1:35 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] tile4ms query problem
I tried to use tile4ms to index 68 shapefiles.
Worked very well in display
when i try to query data it returns:
Fatal error: [MapServer Error]: msDBFGetItemIndex(): Invalid field index 1.
in /home/carlos/fgs/apps/pmapper-1.0.8/incphp/query/squery.php on line 84
I'm using pmapper-1.0.8 and when i try the "square query" tool, returns some results, but only in some areas.
Or returns the same error above.
The problem is in my data ??
The "Fid_1" in my data is always blank when i can get some query results (using only the "square query")
I dont use TILEITEM in my mapfile (i don't know how to use it...)
Thanks in advance.
Carlos Timóteo, Portugal
More information about the mapserver-users