[mapserver-users] my mapscript generates blank map

Lars Schylberg lars.schylberg at blixtmail.se
Tue Nov 10 08:15:46 PST 2015


c1.setExpression(" \"yas=Eosen\" "); looks like it should be

c1.setExpression(" \"yas=Eosen"\ ");

without knowing mapscript

Lars

Den 2015-11-10 kl. 16:30, skrev Ahmet Temiz:
> with Following code, resulting map looks blank.
>
> classObj c1 = new classObj(jeo_layer);
> styleObj new_style = new styleObj(c1);
> colorObj color = new colorObj(200,0,0,20);
> new_style.setColor(color);
> c1.setName("Eosen");
> c1.setExpression(" \"yas=Eosen\" ");
> c1.insertStyle(new_style, 0);
> jeo_layer.insertClass(c1, 0);
>
> jeo_layer.setStatus(1);
>         imageObj img = map3857.draw();
>         byte[] bytes=img.getBytes();
> ---
>
> can you tell me why ?
>
> regards
>
>
> -- 
> Ahmet Temiz
> Jeoloji Müh.
> Afet ve Acil Durum Yönetimi Başkanlığı
> Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu
>
>
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151110/8ad085f6/attachment.html>


More information about the mapserver-users mailing list