[ka-Map-users] ka-Map-users Digest, Vol 66, Issue 2

Paolo Mangraviti paolo.mangraviti at katamail.com
Wed Dec 15 14:33:46 EST 2010


In the application there are other layer postgis (ie. Toponimi, quote 
ecc.), but only "Fontane" layer is queryable. The layer "Sentieri" with 
Shape file data is queryable correctly.
If i change toponimi layer to queryable, the system notify me error. 
Error only with postgis layer in query mode.
I attach the map_query_float.php

Saluti, thanks

paolo mangraviti

On 15/12/2010 10:17, Antonio García wrote:
> Can you do any query in other point layer? Is only in this layer or in 
> all the project?
>
> Send us you map_query_float.php
>
> Saludos,
> -----------
> Antonio García Benlloch
>
> *Correo:
> *angarben at hotmail.com
> angarben at aaa.upv.es <mailto:angarben at aaa.upv.es>
>
> *Web:
> *http://personales.alumno.upv.es/~angarben
>
> Antes de imprimir este mensaje, asegúrese de que es necesario. 
> Proteger el medio ambiente está en nuestra mano.
>
> Este mensaje y sus archivos adjuntos son confidenciales. No está 
> permitida su reproducción o distribución sin la autorización expresa 
> de Antonio García. Si ha recibido este mensaje por error, por favor 
> bórrelo e informe a angarben at hotmail.com <mailto:cdcom at grupocdcom.com>.
>
>
>
>
>
> > From: ka-map-users-request at lists.maptools.org
> > Subject: ka-Map-users Digest, Vol 66, Issue 2
> > To: ka-map-users at lists.maptools.org
> > Date: Tue, 14 Dec 2010 12:00:02 -0500
> >
> > Send ka-Map-users mailing list submissions to
> > ka-map-users at lists.maptools.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> > or, via email, send a message with subject or body 'help' to
> > ka-map-users-request at lists.maptools.org
> >
> > You can reach the person managing the list at
> > ka-map-users-owner at lists.maptools.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of ka-Map-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Problem to query a postgis layer (Paolo Mangraviti)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 14 Dec 2010 14:04:52 +0100
> > From: Paolo Mangraviti <paolo.mangraviti at katamail.com>
> > Subject: [ka-Map-users] Problem to query a postgis layer
> > To: ka-map-users at lists.maptools.org
> > Message-ID: <4D076B74.2050604 at katamail.com>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Hi ti all,
> > I have a problem with postgis layer in ka-map. Layer is viewed
> > correctly, but on query a point of that layer, ka-map notify me an 
> error:
> >
> > Fatal error: [MapServer Error]: msQueryByPoint(): No matching record(s)
> > found. in /var/www/webgis/ka-map/htdocs/map_query_float.php on line 234
> >
> > If I omit the TEMPLATE directive, no query is performed.
> >
> > Layer specification in map file is:
> > 
> #-------------------------------------------------------------------------------------------------------------------------------------------------------
> > LAYER # Punti di Interesse :: Fontane
> > CONNECTIONTYPE postgis
> > CONNECTION "user=webgis password=******** dbname=sentieri
> > host=127.0.0.1"
> > DATA "wpt from punto"
> > FILTER "tipologia = 'Fontana'"
> >
> > TYPE POINT
> > TOLERANCE 5
> > STATUS ON
> >
> > NAME "Fontane e Sorgenti"
> > GROUP "Fontane"
> > LABELITEM "titoloMappa"
> >
> > TEMPLATE "../sample.html"
> >
> > CLASS
> > NAME "Fontane"
> > STYLE
> > SYMBOL "fontana"
> > OUTLINECOLOR 0 0 0
> > END
> > LABEL
> > POSITION uc
> > SIZE 7
> > COLOR 0 0 0
> > BACKGROUNDCOLOR 228 253 18
> > TYPE truetype
> > FONT arial
> > END
> > END
> >
> >
> > METADATA
> > "wms_title" "Fontane e Sorgenti"
> > "imageformat" "GIF"
> > "queryable" "true"
> > "max_extents" "auto"
> > "tile_source" "redraw"
> > "fields" "denominazione:Nome,quota:mt"
> > "searchfield" "denominazione"
> > "identificativoSentiero" "none"
> > END
> > PROJECTION
> > "proj=utm"
> > "ellps=WGS84"
> > "datum=WGS84"
> > "zone=33"
> > "units=m"
> > "south"
> > "no_defs"
> > END
> > END
> > 
> #-------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > Thanks a lot for support,
> >
> > paolo mangraviti
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> >
> >
> > End of ka-Map-users Digest, Vol 66, Issue 2
> > *******************************************
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20101215/10ed9ab3/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_query_float.php
Type: application/x-httpd-php
Size: 13367 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/ka-map-users/attachments/20101215/10ed9ab3/attachment-0001.php 


More information about the ka-Map-users mailing list