[TinyOWS-users] Problem with using MapServer mapfile

Dejan Gambin dejan.gambin at coin.hr
Tue Jun 7 06:07:40 EST 2011


Take this for example:

SCALEBAR
  STATUS off
  TRANSPARENT off
  INTERVALS 4
  SIZE 200 3
  UNITS kilometers
  COLOR 250 250 250
  OUTLINECOLOR 0 0 0
  BACKGROUNDCOLOR 100 100 100
  STYLE 0
  POSTLABELCACHE true
  LABEL
    COLOR 0 0 90
    #OUTLINECOLOR 200 200 200
    SIZE small
  END  # Label
END  # Reference

dejan
On 7. lip. 2011., at 12:47, Olivier Courtin wrote:

> 
> On Jun 7, 2011, at 12:30 PM, Dejan Gambin wrote:
> 
> Hi Dejan,
> 
>> Yes, my mapfile is working correctly
>> 
>> In the mean time I was able to solve this by removing part by part  
>> of my mapfile. First, I was using deprecated "STYLE" instead of  
>> "PATTERN" in SYMBOL. But even after that it did not work untill I  
>> removed SCALEBAR part. Don't know why
> 
> Ok could you sent the SCALEBAR extract part of your previous mapfile ?
> To try to reproduce the problem.
> 
> 
>> regards, dejan
>> 
>> btw, I have been able to update my geometry using wfs-t/tinyows/ 
>> openlayers/mapserver. But trying to insert a new geometry (after  
>> drawing it and clicking to Save) was not successful. Log file says:
>> 
>> [Fri Jun 03 10:49:12 2011] [error] [client ::1] tinyows(31157)  
>> malloc: *** error for object 0x134ba00010d: pointer being freed was  
>> not allocated
>> [Fri Jun 03 10:49:12 2011] [error] [client ::1] *** set a breakpoint  
>> in malloc_error_break to debug
>> [Fri Jun 03 10:49:13 2011] [error] [client ::1] /Library/WebServer/ 
>> CGI-Executables/mytinyows: line 4: 31157 Abort trap              / 
>> Library/WebServer/CGI-Executables/tinyows
>> [Fri Jun 03 10:49:13 2011] [error] [client ::1] Premature end of  
>> script headers: mytinyows
>> 
>> I suppose I should debug somehow :D
> 
> Look like indeed :)
> 
> Few little things to be able to reproduce/understand:
> 
> - Could you send a tinyows --check  output
> - Could you activate the TinyOWS logs (log and log_level in tinyows  
> config file)
>   and send the HTTP query sended by your WFS client ?
> 
> Tks in advance,
> 
> --
> Olivier
> 
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users



More information about the TinyOWS-users mailing list