Re: ka-Map-users Digest, Vol 66, Issue 2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ka-Map-users Digest, Vol 66, Issue 2

Antonio García
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:
[hidden email]
[hidden email]

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 [hidden email].





> From: [hidden email]
> Subject: ka-Map-users Digest, Vol 66, Issue 2
> To: [hidden email]
> Date: Tue, 14 Dec 2010 12:00:02 -0500
>
> Send ka-Map-users mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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 <[hidden email]>
> Subject: [ka-Map-users] Problem to query a postgis layer
> To: [hidden email]
> Message-ID: <[hidden email]>
> 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
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
> End of ka-Map-users Digest, Vol 66, Issue 2
> *******************************************

_______________________________________________
ka-Map-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ka-map-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ka-Map-users Digest, Vol 66, Issue 2

Paolo Mangraviti
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:
[hidden email]
[hidden email]

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 [hidden email].





> From: [hidden email]
> Subject: ka-Map-users Digest, Vol 66, Issue 2
> To: [hidden email]
> Date: Tue, 14 Dec 2010 12:00:02 -0500
>
> Send ka-Map-users mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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 [hidden email]
> Subject: [ka-Map-users] Problem to query a postgis layer
> To: [hidden email]
> Message-ID: [hidden email]
> 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
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
> End of ka-Map-users Digest, Vol 66, Issue 2
> *******************************************
_______________________________________________ ka-Map-users mailing list [hidden email] http://lists.maptools.org/mailman/listinfo/ka-map-users


_______________________________________________
ka-Map-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ka-map-users

map_query_float.php (17K) Download Attachment
Loading...