moka61 wrote:
> 
> Hi folks
> 
> I'm using 4.0-dev.
> 
> The query to identify a single feature do not return data with PostGIS
> table. The select multiple features still works properly.
> 
> the error log: 
> 
> [07-Jul-2009 16:01:11] PHP Notice:  Undefined property:  Query::$query in
> /srv/www/htdocs/pmap42b/incphp/query/query.php on line 348
> [07-Jul-2009 16:01:11] PHP Notice:  Undefined property:  Query::$query in
> /srv/www/htdocs/pmap42b/incphp/query/query.php on line 363
> [07-Jul-2009 16:01:11] PHP Notice:  Undefined property:  Query::$query in
> /srv/www/htdocs/pmap42b/incphp/query/query.php on line 278
> [07-Jul-2009 16:01:11] PHP Notice:  Undefined variable: allExtStr in
> /srv/www/htdocs/pmap42b/incphp/query/query.php on line 484
> [07-Jul-2009 16:01:11] PHP Notice:  Undefined property: 
> Query::$limitResult in /srv/www/htdocs/pmap42b/incphp/query/query.php on
> line 496
> 
> map file example in my test:
> 
> LAYER
>    NAME "comuni"
>    GROUP "limiti"
>    METADATA
>      "DESCRIPTION" "limiti amministrativi"
>      "RESULT_FIELDS" "gid, name, area_mq"
>      "RESULT_HEADERS" "id, comune, area"
>    END
>    LINE TYPE
>    STATUS ON
>    CONNECTIONTYPE PostGIS
>    CONNECTION "user = xxx password = xxx dbname = base host = localhost
> port = 5432"
>    DATA "the_geom from limiti_comunali USING UNIQUE gid USING SRID = 3004"
>    CLASS
>      NAME "municipal limits"
>      MINSCALE 61880
>      COLOR 149 149 149
>    END
>   TEMPLATE void
> END
> 
> thanks for any help
> 
> 

I think I have solved the problem (trivial...). Not happened with the shape
....
Converting shape with ogr2ogr to PostGIS the geometries stored as Polygon.
I must therefore obliged to use TYPE = POLYGON instead of TYPE = LINE in MAP
file otherwise identify query does not work.
-- 
View this message in context: 
http://www.nabble.com/4.0-dev%3A-postgis-query-identify-feature-not-return-data-tp24373878p24376348.html
Sent from the pmapper users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to