tile4ms query problem

Ed McNierney ed at TOPOZONE.COM
Tue Dec 6 14:29:41 EST 2005


Steve -

Yes, I think maybe you're right - I haven't checked lately, since the older versions forced me to clean up my act!

	- 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 Stephen Woodbridge
Sent: Tuesday, December 06, 2005 2:23 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] tile4ms query problem

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