[Cartoweb-dev] [Bug 1078] New: ServerMapquery Class no OGR
connection
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Fri Jun 3 07:52:00 EDT 2005
http://bugzilla.maptools.org/show_bug.cgi?id=1078
Summary: ServerMapquery Class no OGR connection
Product: CartoWeb
Version: unspecified
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: major
Priority: P2
Component: Plugins
AssignedTo: cartoweb-dev at lists.maptools.org
ReportedBy: kerso68 at hotmail.com
Hi,
I would like to ask you a question concerning the ServerMapquery class.
is the OGR connection managed?
In fact I have problems with querying. First I 'll expose you the matter :
I want to show datas, trough a Query, of a layer in MapInfo(Claritas)
Format.
Here is the code in my Mapfile :
LAYER
NAME "PPE"
CONNECTIONTYPE OGR
CONNECTION "N_PPE_AEP_068.TAB"
TYPE Polygon
TEMPLATE "ttt"
PROJECTION
"init=epsg:27582"
END
METADATA
id_attribute_string "Nom_UGE|string"
query_returned_attributes "DUP"
END
CLASS
NAME "PPE"
SYMBOL "circle"
SIZE 50
COLOR 100 255 100
END
END
LAYER
NAME "PPE_hilight"
TYPE POLYGON
CONNECTIONTYPE OGR
CONNECTION "N_PPE_AEP_068.TAB"
TRANSPARENCY 50
CLASS
STYLE
COLOR 255 0 104
END
END
END
When I select once a area with the information tool, I can see the query
results.
But if I try to do another selection, I have this message on the screen :
"Layer to center on has an unsupported connection type: 4"
This message is generate by the ServerMapquery class. I saw nowhere in the
code the
Mapscript constant, MS_OGR, does it mean that the OGR connection isn't
avaible for query. Then
why does it work one time and no more after?
cheers,
Frédéric Bauer
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Cartoweb-dev
mailing list