[Geomoose-users] Fwd: Highlighting issue (Mapserver layer)
Matej Mailing
mailing at tam.si
Tue Oct 16 14:54:24 PDT 2012
You were right, the errors were caused due to a stupid typo that was
contained in the generated mapfile and the blank highlight output was
caused because I had no symbol defined to be shown. After changing it,
everything works as smooth as possible :-)
Thanks.
Regards,
Matej
2012/10/16 Jim Klassen <klassen.js at gmail.com>:
> On 10/16/2012 12:30 PM, Matej Mailing wrote:
>> Now when enabling logging on php/itemquery/highlight.map I see that
>> features are not added to the layer as I was thinking.
>>
>> I get
>> [Tue Oct 16 17:20:35 2012].974701 getSymbol(): Symbol definition
>> error. Parsing error near (upper):(line 220)
>> and then a number of those lines:
> This means there is a syntax error on line 220 of the mapfile. Now the
> question is, "Which mapfile?" I'm guessing the mapfile generated in
> query.php around line 428.
>
> Try looking at $mapfile (print it to stderr or dump it to a temp file
> and open it in an editor (after the processTemplate line and before the
> ms_newMapObjFromString line). My guess is there is a problem on line
> 220 of that.
>
>>
>> [Tue Oct 16 17:20:37 2012].142038 msBuildOnlineResource(): CGI error.
>> Impossible to establish server URL.
>> [Tue Oct 16 17:20:37 2012].142064 msOWSGetOnlineResource(): CGI error.
>> Impossible to establish server URL. Please set "onlineresource"
>> metadata.
>>
>> I have set 'ows_onlineresource' and 'ows_service_onlineresource' to
>> 'http://ip/cgi-bin/mapserv?' and no matter what I do (I even set wms*,
>> wfs* and wcs*). What bothers me and perhaps is the cause of the
>> errors, is the first (Symbol definition error. Parsing error near
>> (upper)) error. Could this error cause the mapserver to stop parsing
>> the mapfile and thus ignoring my multiple *onlineresource metadata?
>> Does anyone else experiences this issue?
>>
>> I really want to move forward on this one, but I seem to be lost.
>>
>> Regards,
>> Matej
>
More information about the Geomoose-users
mailing list