[GeoNode-users] layer boundary

Eugenio Trumpy frippe12573 at hotmail.com
Tue Feb 28 07:16:14 PST 2017


The problem is that I don't know which is the value, since that strip is created reprojecting the layer. If I getinfo from geonode map no popup box appear.

Gdalinfo on that layer gives me:


Driver: GTiff/GeoTIFF
Files: raster_sic.tif
       raster_sic.tif.aux.xml
Size is 333, 358
Coordinate System is:
PROJCS["WGS 84 / UTM zone 33N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",15],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","32633"]]
Origin = (225000.000000000000000,4288000.000000000000000)
Pixel Size = (1000.000000000000000,-1000.000000000000000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=DEFLATE
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  225000.000, 4288000.000) ( 11d50'16.57"E, 38d41'52.43"N)
Lower Left  (  225000.000, 3930000.000) ( 11d58' 9.05"E, 35d28'31.81"N)
Upper Right (  558000.000, 4288000.000) ( 15d40' 2.49"E, 38d44'19.58"N)
Lower Right (  558000.000, 3930000.000) ( 15d38'22.59"E, 35d30'42.80"N)
Center      (  391500.000, 4109000.000) ( 13d46'43.17"E, 37d 7'15.81"N)
Band 1 Block=256x256 Type=Float32, ColorInterp=Gray
  Min=501.914 Max=11667.503
  Minimum=501.914, Maximum=11667.503, Mean=5905.547, StdDev=2165.422
  NoData Value=0
  Metadata:
    STATISTICS_MAXIMUM=11667.502929688
    STATISTICS_MEAN=5905.5467356278
    STATISTICS_MINIMUM=501.91409301758
    STATISTICS_STDDEV=2165.4215902549
Band 2 Block=256x256 Type=Float32, ColorInterp=Alpha
  NoData Value=0


and I set these lines in the style file:

<sld:ColorMap type="intervals">
                            <sld:ColorMapEntry color="#ffffff" label="No data" opacity="0.0" quantity="0.1" />
                            <sld:ColorMapEntry color="#f1eef6" label="< 1500" opacity="1.0" quantity="1500"/>


so I already have the rule you mention.


Other ideas?


E.



________________________________
Da: alessio.fabiani at gmail.com <alessio.fabiani at gmail.com> per conto di Alessio Fabiani <alessio.fabiani at geo-solutions.it>
Inviato: martedì 28 febbraio 2017 15.37
A: Eugenio Trumpy
Cc: geonode-users at lists.osgeo.org
Oggetto: Re: [GeoNode-users] layer boundary

By using the color map should be easy to remove the white lines.

Basically you need a rule which declares opacity=0 to all values below (or above, depending on the numbers) that values.

Best Regards,
Alessio Fabiani.

==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
GeoSolutions Enterprise Services<http://goo.gl/it488V>
goo.gl
GeoSolutions offers enterprise support services to help you building enterprise-class Spatial Data Infrastructures leveraging on best-of-breed Open Source


==

Ing. Alessio Fabiani
@alfa7691
github<https://github.com/afabiani?tab=overview>
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

---------------------------------------------------------------------

On Tue, Feb 28, 2017 at 3:15 PM, Eugenio Trumpy <frippe12573 at hotmail.com<mailto:frippe12573 at hotmail.com>> wrote:

Hi all,


I uploaded a raster layer but unfortunately I see a strange boundary in the layer info map and in the map (see the example attached). It seems to be something related to the on the fly reprojection, since the layer is on EPSG:32633 and the map use a global EPSG:4326.

I know this should be related to the raster feature settings.

Any hints on how to remove this boundary or to put in transparency?


best


Eugenio

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170228/68460f09/attachment-0001.html>


More information about the geonode-users mailing list