[mapserver-users] tileindex query
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Sat Nov 19 00:39:32 PST 2011
Hi,
Polygon layer defined like this works for me
TILEINDEX "D:\data\tindex\tindex_1.shp,0"
Also in my mapfile I have a commented line
#CONNECTIONTYPE OGR
#Don't use, breaks classification and GetFeatureInfo
I do not remember exactly what was the Mapserver version which gave to troubles with GetFeatureInfo and tileindex layer. Data referred by tileindex are shapefiles and they do have .qix indexes.
-Jukka Rahkonen-
________________________________
Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] käyttäjän Eric Weisbender [Weisbend at wapa.gov] puolesta
Lähetetty: 18. marraskuuta 2011 22:55
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] tileindex query
Hello,
After two weeks of working on querying vector layers displayed by a tileindex I have still not made any progress. I have tried every variation of layer definition including connectiontype ogr. I have updated my gdal, ogr libraries and have tested on MapServer 565 and 601 both. I have tried different shapefiles and different shapefile combinations both with and with .qix files. I've done this in the past with great success on MapServer 410 running on a red hat box. We are now running in production, MapServer 565 on SUSE 10 and I'm starting to wonder if that isn't the problem. As I said before the query results seem to be random. Sometimes successful but most of the time I get an "Internal Server Error". Below is the MapServer Error Log file for both. I am out of ideas and any help or insight is much appreciated.
Internal Server Error
[Tue Nov 15 15:21:23 2011].248360 msDrawMap(): Layer 0 (fotest), 0.007s
[Tue Nov 15 15:21:23 2011].248891 msDrawMap(): Layer 1 (fotest), 0.000s
[Tue Nov 15 15:21:23 2011].270075 msDrawMap(): Drawing Label Cache, 0.003s
[Tue Nov 15 15:21:23 2011].270088 msDrawMap() total time: 0.030s
[Tue Nov 15 15:21:23 2011].331671 msSaveImage() total time: 0.062s
[Tue Nov 15 15:21:23 2011].335688 msSaveImage() total time: 0.002s
[Tue Nov 15 15:21:23 2011].360078 msSaveImage() total time: 0.021s
[Tue Nov 15 15:21:23 2011].361651 mapserv request processing time (loadmap not incl.): 0.122s
[Tue Nov 15 15:21:23 2011].361661 msFreeMap(): freeing map at 0x668900.
[Tue Nov 15 15:21:23 2011].362122 freeLayer(): freeing layer at 0x670e10.
[Tue Nov 15 15:21:28 2011].104416 freeLayer(): freeing layer at 0x7fff030e0ad0.
Successful Query
[Tue Nov 15 15:22:22 2011].104410 msDrawMap(): Layer 0 (fotest), 0.007s
[Tue Nov 15 15:22:22 2011].104949 msDrawMap(): Layer 1 (fotest), 0.000s
[Tue Nov 15 15:22:22 2011].125857 msDrawMap(): Drawing Label Cache, 0.003s
[Tue Nov 15 15:22:22 2011].125869 msDrawMap() total time: 0.031s
[Tue Nov 15 15:22:22 2011].184217 msSaveImage() total time: 0.058s
[Tue Nov 15 15:22:22 2011].188075 msSaveImage() total time: 0.002s
[Tue Nov 15 15:22:22 2011].212534 msSaveImage() total time: 0.022s
[Tue Nov 15 15:22:22 2011].214087 mapserv request processing time (loadmap not incl.): 0.119s
[Tue Nov 15 15:22:22 2011].214097 msFreeMap(): freeing map at 0x668900.
[Tue Nov 15 15:22:22 2011].214668 freeLayer(): freeing layer at 0x670e10.
[Tue Nov 15 15:22:25 2011].736672 freeLayer(): freeing layer at 0x7fff3e289d90.
[Tue Nov 15 15:22:25 2011].737327 msDrawMap(): Layer 0 (fotest), 0.005s
[Tue Nov 15 15:22:25 2011].737607 msDrawMap(): Layer 1 (fotest), 0.000s
[Tue Nov 15 15:22:25 2011].758983 msDrawMap(): Drawing Label Cache, 0.003s
[Tue Nov 15 15:22:25 2011].758996 msDrawMap() total time: 0.028s
[Tue Nov 15 15:22:25 2011].778785 msSaveImage() total time: 0.020s
[Tue Nov 15 15:22:25 2011].782604 msSaveImage() total time: 0.002s
[Tue Nov 15 15:22:25 2011].806905 msSaveImage() total time: 0.021s
[Tue Nov 15 15:22:25 2011].807766 mapserv request processing time (loadmap not incl.): 0.077s
[Tue Nov 15 15:22:25 2011].807777 msFreeMap(): freeing map at 0x668e00.
[Tue Nov 15 15:22:25 2011].808246 freeLayer(): freeing layer at 0x671310.
Thanks
EW
More information about the MapServer-users
mailing list