Hi
I am having trouble querying a mapinfo layer. I am running pmapper
3.0, ms 4.8.3, php 4.4.2 on a debian server.
here is the layer
LAYER
NAME "PopulatedPlaces"
GROUP "Habitation"
STATUS ON
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION "TOPO250K_POPULATEDPLACES.tab"
MAXSCALE 400000
MINSCALE 12000
LABELITEM "NAME"
TOLERANCE 10
TOLERANCEUNITS PIXELS
TEMPLATE "void"
METADATA
"DESCRIPTION" "PopulatedPlaces"
"RESULT_FIELDS" "NAME"
"RESULT_HEADERS" "Name"
END
CLASS
NAME "Populated Place"
LABEL
TYPE truetype
FONT "Vera"
SIZE 6
POSITION AUTO
OFFSET 0 0
MINDISTANCE 400
COLOR 0 0 0
OUTLINECOLOR 255 255 255
PARTIALS FALSE
END
STYLE
SYMBOL 10
COLOR 0 0 0
END
END
END
here is my searchList entry:
searchList['PopulatedPlaces'] = new Array('<?php echo
_p("Location")?>', '#*NAME', '<?php echo _p("Location") ?>','');
The layer displays properly but when i search I get no results - that
is i get the message 'No records found'.
the php error log reports only a cryptic message that i tracked down
to line 724 of query.php that just logs the fieldname and querystring
- which look like they should.
NAME ---- ('[NAME]' =~ /^(A|a) ... $/)
any help will be appreciated.
Gabe
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users