[mapserver-users] Re: annotation symbol with label and labelpoy

2012-01-09 Thread Makoto Niwa
Hello Jeff!

Thank you very much for confirming label and legend issues, and creating 
tickets.

Thanks!

makoto.

At 06 Jan 2012 12:20:36 -0400 Jeff McKenna wrote:
 I have verified Niwa-san's issue on Windows (in fact mapserv.exe crashes when 
 using a shapfile with some NULL values, and geomtransorm), and I have 
 verified that his patch solves the issue.  Follow along at: 
 http://trac.osgeo.org/mapserver/ticket/4146
 
 -jeff
 
 
 
 -- 
 Jeff McKenna
 MapServer Consulting and Training Services
 http://www.gatewaygeomatics.com/
 
 
 On 11-12-19 11:07 PM, Makoto Niwa wrote:
  Hello everyone,
 
  I have a label problem in MapServer 6.0.1
  I cannot get corrct label image in annotation layer with symbol,label
  and labelpoly - backgound color.(see attached image label_error.jpg)
 
  Layer definition in mapfile as follows.
  LAYER
 NAME RND
 DATA Road/road_rnd_13.shp
 STATUS DEFAULT
 TYPE ANNOTATION
 PROJECTION init=epsg:4612 END
 MAXSCALE 5
 LABELITEM NAME_KANJI
 CLASSITEM SIGNAL_F
 
 CLASS NAME RND EXPRESSION 1
  STYLE SYMBOL 027 END
  LABEL PRIORITY 6 TYPE TRUETYPE POSITION AUTO OFFSET -5 -5 MINDISTANCE 
  50 PARTIALS FALSE FONT gothic COLOR 255 255 255 SIZE 8 ENCODING SJIS STYLE 
  GEOMTRANSFORM 'labelpoly' COLOR 0 85 170 END END
 END
 
  I make a patch for this problem.
  Then I can get correct label image(attached image label_patched.jpg).
  But this patch is not testing for many cases.
 
  regaeds,
 
  makoto.
 
 
 
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] annotation symbol with label and labelpoy

2011-12-19 Thread Makoto Niwa
Hello everyone,

I have a label problem in MapServer 6.0.1
I cannot get corrct label image in annotation layer with symbol,label
and labelpoly - backgound color.(see attached image label_error.jpg)

Layer definition in mapfile as follows.
LAYER
  NAME RND
  DATA Road/road_rnd_13.shp
  STATUS DEFAULT
  TYPE ANNOTATION
  PROJECTION init=epsg:4612 END
  MAXSCALE 5
  LABELITEM NAME_KANJI
  CLASSITEM SIGNAL_F

  CLASS NAME RND EXPRESSION 1
   STYLE SYMBOL 027 END 
   LABEL PRIORITY 6 TYPE TRUETYPE POSITION AUTO OFFSET -5 -5 MINDISTANCE 50 
PARTIALS FALSE FONT gothic COLOR 255 255 255 SIZE 8 ENCODING SJIS STYLE 
GEOMTRANSFORM 'labelpoly' COLOR 0 85 170 END END
  END

I make a patch for this problem. 
Then I can get correct label image(attached image label_patched.jpg).
But this patch is not testing for many cases.

regaeds,

makoto.
attachment: label_patched.jpgattachment: label_error.jpg

annotation_symbol_w_label.patch
Description: Binary data
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] legend for annotation label

2011-12-19 Thread Makoto Niwa
Hello everyone,

I have a lengend problem in MapServer 6.0.1
The legned icon image is strange in annotation label layer.
see attached image legend_error.jpg
I use OFFSET in label object. 
and the Character Az is shifted by OFFSET in legend image.

I make a patch for this problem. 
see attached image legnd_patched.jpg.

regards,

makoto.
attachment: legend_error.png

legend_annotation_label.patch
Description: Binary data
attachment: legend_patched.png___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: Arrowhead in Mapserver 6.0

2011-05-10 Thread Makoto Niwa
me again,

It was resoleved.
I used negative value in vector symbol point such as -20,-10.
It was wrong. I thougt only -99 was non-continuous line value.
Use all postive value(except non-continuous value -99) in it,
I can get the same results by all 3 renderers.

thanks,

makoto.

At 06 May 2011 13:59:45 +0900 Makoto Niwa wrote:
 Hi,list
 
 I tried new MapServer 6.0(rc2).
 
 I got diffrent images GD/PNG and CAIRO renderes for arrowhead symbols.
 
 Attached images are
 ms6_gd.gif : render by GD/GIF
 ms6_aggpng8.png : render by AGG/PNG
 
 CAIRO renderer image is as same as AGG.
 CARIO/AGG renderer has incorrect ofsset for arrowhead symbols.
 I used vcetor type symbols for arrowhead symbols.
 
 But I got same results both AGG and GD in MapSever 5.6
 
 Is this behavior correct in MapServer 6 ?
 
 regards,
 
 makoto.
 
 ---
 Symbol definition:
   SYMBOL
 NAME from
 TYPE vector
 POINTS
   0 10
   -20 0
   0 -10
   -99 -99
   -40 10
   -99 -99
   -40 -10
 END
   END
 
   SYMBOL
 NAME to
 TYPE vector
 POINTS
   0 10
   20 0
   0 -10
   -99 -99
   40 10
   -99 -99
   40 -10
 END
   END
 
 Style in the layer:
   STYLE
 ANGLE AUTO
 GEOMTRANSFORM start
 SYMBOL from
 COLOR 255 20 20
 WIDTH 2
   END
   STYLE
 ANGLE AUTO
 GEOMTRANSFORM end
 SYMBOL to
 COLOR 20 20 255
 WIDTH 2
   END
 
 ---
 Makoto Niwa Orkney,Inc.
 Queen's Tower C 12F
 2-3-5 Minatomirai, Nishi, Yokohama, Japan
 TEL.81-45-228-3320  FAX.81-45-228-3321
 E-mail n...@orkney.co.jp http://www.orkney.co.jp
 
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


---
丹羽 誠  (株)オークニー
〒220-6212
横浜市西区みなとみらい2-3-5 クイーンズタワーC棟12階
Tel.045-228-3320  Fax.045-228-3321
E-mail:n...@orkney.co.jp URL:www.orkney.co.jp
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users