Alle 09:10, marted? 13 giugno 2006, Armin Burger ha scritto: Hi Armin, I try your w3v version!!! Good I try it with demodata.. on search for cities, for example 'paris' in my erro_log apache file obtain this:
[Tue Jun 13 09:15:21 2006] [error] [client 192.168.0.110] PHP Warning: getLayerByName failed for : cities_xylayer\n in path_to_pmapper/pmapper2_w3c/incphp/query/query.php on line 638, referer: http://www.faunalia.com/pmapper/pmapper2_w3c/map.phtml?&language=it [Tue Jun 13 09:15:21 2006] [error] [client 192.168.0.110] PHP Fatal error: Call to a member function on a non-object in path_to_pmapperr/pmapper2_w3c/incphp/query/query.php on line 645, referer: http://www.faunalia.com/pmapper/pmapper2_w3c/map.phtml?&language=it why pmapper try to find his layer? cities_xyxlayer on pmapper_demo.map? Walter > well, annotation layers are for what their name is: annotations. The search > is for layers with a geographic features, and they are displayed on the > map. You cannot add a feature from an annotation layer and therefore you > get the error. > > armin > > > Hi > > > > i tried to add a search parameter in lower menu... > > > > > > var searchList > > searchList['Roads'] > > > > and this is the layer in file .map > > > > LAYER > > NAME Roads > > TYPE ANNOTATION > > STATUS ON > > TEMPLATE "no template" > > TOLERANCE 7 > > DATA "gf_roads_sp83.shp" > > LABELITEM "street" > > > > METADATA > > "DESCRIPTION" "Streets Search" > > "RESULT_FIELDS" "street" > > "RESULT_HEADERS" "STREET" > > "RESULT_HYPERLINK" "storitto" > > END > > > > CLASS > > LABEL > > SIZE TINY #tinysmallmediumlargegiant > > POSITION UC > > ANGLE AUTO > > BUFFER 1 #40 how close label are to each other > > MINDISTANCE 50 > > MINFEATURESIZE 30 > > #FONT arial-bold > > #SIZE 12 > > COLOR 0 0 0 > > SHADOWCOLOR 218 218 218 > > SHADOWSIZE 2 2 > > > > END > > END > > > > END > > > > > > the query seems to work (a popup windows appear with a list of rows... > > even if there's no any label... that's strange) , but no results on > > map... and no more possible operation after that operation... > > > > this is the php log > > > > [13-Jun-2006 00:01:12] PHP Warning: [MapServer Error]: msDrawMap(): > > Failed to draw layer named 'reslayer'. > > in G:\sitoDVDN\maps\pmapper\incphp\map.php on line 296 > > [13-Jun-2006 00:01:12] PHP Warning: [MapServer Error]: msDrawShape(): > > Unknown layer type. > > in G:\sitoDVDN\maps\pmapper\incphp\map.php on line 296 > > [13-Jun-2006 00:01:12] PHP Warning: [MapServer Error]: > > msAddImageSymbol(): Error opening image file > > g:/sitoDVDN/maps/pmapper/config/circle. in > > G:\sitoDVDN\maps\pmapper\incphp\map.php on line 296 > > [13-Jun-2006 00:01:12] PHP Fatal error: Call to a member function > > saveWebImage() on a non-object in G:\sitoDVDN\maps\pmapper\incphp\map.php > > on line 318 > > > > > > thank you so much > > > > Davide -- Walter Lorenzetti email+jabber: walter at faunalia.it www.faunalia.it Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)347-6597931 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://faunalia.it/pipermail/pmapper-users/attachments/20060613/07119f77/attachment.htm