tile4ms query problem

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Tue Dec 6 11:22:41 PST 2005


Actually, I believe the newer versions of tile4ms do enforce the order 
and type now, unless it was relaxed again.

Does pmapper support querying tileindexed layers? I have never used 
pmapper so I'm not sure I can help there.

-Steve W.

Ed McNierney wrote:
> Carlos -
> 
> 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.
> 
> 	- Ed
> 
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA  01863
> ed at topozone.com
> (978) 251-4242 
> 
> -----Original Message-----
> 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 mailing list