[mapserver-users] No transparency for layer

Henrique Rennó henrique.renno at gmail.com
Sun Aug 26 08:32:59 PDT 2012


About the points not being displayed, I tried loading them with a mapfile
reading from the shapefiles directly and it didn't work too. But I have a
GIS application where after importing the shapefile I can see all the
points. Maybe the TYPE option in mapfile could be another. When I load the
shapefile through pgadmin it creates a geometry of point, so the geometry
is defined as point.

2012/8/26 <pcreso at pcreso.com>

> Nope,
>
> I think you are right...
>
> I'm not able to replicate the problem, all my layers from Postgis render
> fine. Points, lines & polygons (& labels).
>
> Do you get the same problem reading the shapefiles? I'd expect the data
> source to be irrelevant, but it might be worth changing the data statement
> to check.
>
>
> Brent Wood
>
>
>
> --- On *Mon, 8/27/12, Henrique Rennó <henrique.renno at gmail.com>* wrote:
>
>
> From: Henrique Rennó <henrique.renno at gmail.com>
> Subject: Re: [mapserver-users] No transparency for layer
> To: pcreso at pcreso.com
> Date: Monday, August 27, 2012, 1:53 AM
>
>
> Thanks for your advice, but it didn't work because I'm loading data from a
> postgis geometry field and that OFFSITE option seems to be related only
> when loading a raster, am I wrong?
>
> 2012/8/25 <pcreso at pcreso.com <http://mc/compose?to=pcreso@pcreso.com>>
>
> Try offsite for transparancy & background colours:
>
> http://mapserver.org/tutorial/example1-5.html
>
> Brent Wood
>
>
> --- On *Sun, 8/26/12, Henrique Rennó <henrique.renno at gmail.com<http://mc/compose?to=henrique.renno@gmail.com>
> >* wrote:
>
>
> From: Henrique Rennó <henrique.renno at gmail.com<http://mc/compose?to=henrique.renno@gmail.com>
> >
> Subject: Re: [mapserver-users] No transparency for layer
> To: "Mapserver-users (mapserver-users at lists.osgeo.org<http://mc/compose?to=mapserver-users@lists.osgeo.org>)"
> <mapserver-users at lists.osgeo.org<http://mc/compose?to=mapserver-users@lists.osgeo.org>
> >
> Date: Sunday, August 26, 2012, 12:43 PM
>
>
> By the way, it's a postgis2 database. Should I change to 1.5?
>
> 2012/8/25 Henrique Rennó <henrique.renno at gmail.com<http://mc/compose?to=henrique.renno@gmail.com>
> >
>
> Searching on google, I found that other people had the same problems with
> points, but I have set symbol to "circle" and increased size with no
> success.
>
>
> 2012/8/25 Henrique Rennó <henrique.renno at gmail.com<http://mc/compose?to=henrique.renno@gmail.com>
> >
>
> Just had another problem. It seems that point geometry from a postgis
> database are not being displayed. What could be?
>
>
> 2012/8/25 Henrique Rennó <henrique.renno at gmail.com<http://mc/compose?to=henrique.renno@gmail.com>
> >
>
> Hello,
>
> I'm using a map file with "TRANSPARENT ON" and "IMAGECOLOR 255 255 255" in
> order to make white becomes transparent for layers and it's working. The
> problem is that I have one layer for roads where background is white and
> becomes transparent but another layer for rivers where rivers are white, so
> they are not displayed. Is there a way to indicate that for the rivers'
> layer I don't want transparency to be applied? Both geometries are loaded
> from a postgis database which I imported from shapefiles and the shapefiles
> were not made by me. The strange thing is that if I set a color for the
> rivers' layer within a style then the "background" is set to that color,
> but I thought the rivers would be colored. That means the geometry is set
> for everything except the rivers? That's strange.
>
> Thanks in advance
>
> --
> Henrique
>
>
>
>
> --
> Henrique
>
>
>
>
> --
> Henrique
>
>
>
>
> --
> Henrique
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org<http://mc/compose?to=mapserver-users@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>
> --
> Henrique
>
>


-- 
Henrique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120826/46f35cbc/attachment-0001.html>


More information about the mapserver-users mailing list