[mapserver-users] mapserver-users Digest, Vol 90, Issue 8

sowmiya san sowmiyasan48 at gmail.com
Wed Jul 8 22:28:52 PDT 2015


Thanks for ur reply sir

On Wed, Jul 8, 2015 at 12:30 AM, <mapserver-users-request at lists.osgeo.org>
wrote:

> Send mapserver-users mailing list submissions to
>         mapserver-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/mapserver-users
> or, via email, send a message with subject or body 'help' to
>         mapserver-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         mapserver-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mapserver-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Kernel Map MapServer 7 WMS Server Bug!? (thomas bonfort)
>    2. Re: Kernel Map MapServer 7 WMS Server Bug!? (thomas bonfort)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 7 Jul 2015 17:52:49 +0200
> From: thomas bonfort <thomas.bonfort at gmail.com>
> To: Helton Nogueira Uchoa <engenheiro.uchoa at gmail.com>
> Cc: MapserverList OSGEO <mapserver-users at lists.osgeo.org>
> Subject: Re: [mapserver-users] Kernel Map MapServer 7 WMS Server Bug!?
> Message-ID:
>         <
> CAOM3y2gZiEaPfVj7JPi-KJs6OXcXP4GONnF4WcXU2AkZWHRV9A at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> https://github.com/mapserver/mapserver/issues/5114#issuecomment-119091025
>
>
> On 7 July 2015 at 17:50, Helton Nogueira Uchoa
> <engenheiro.uchoa at gmail.com> wrote:
> > Hi list,
> >
> > I'm trying to make a WMS Server with a kernel (density) map with
> MapServer
> > 7. In same situations (BBOX size, WIDTH and HEIGHT values) the image  is
> > returned with no information (white image). Is it a BUG?
> >
> > Example: image with kernel map
> >
> >
> http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=800&HEIGHT=400&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
> >
> > Example: image with white image
> >
> >
> http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=800&HEIGHT=500&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
> >
> > MAP FILE:
> >
> >   layer
> >     name "heatmap"
> >     type raster
> >     connectiontype kerneldensity
> >     connection "points"
> >     status on
> >     processing "RANGE_COLORSPACE=%color%"
> >     processing "KERNELDENSITY_RADIUS=%radius%"
> >     processing "KERNELDENSITY_COMPUTE_BORDERS=%border%"
> >     processing "KERNELDENSITY_NORMALIZATION=%norm%"
> >     offsite 0 0 0
> >     SCALETOKEN
> >       NAME "%radius%"
> >       VALUES
> >         "0" "15"
> >         "255000000" "20"
> >       END
> >     END
> >     SCALETOKEN
> >       NAME "%border%"
> >       VALUES
> >         "0" "ON"
> >         "255000000" "OFF"
> >       END
> >     END
> >     SCALETOKEN
> >       NAME "%norm%"
> >       VALUES
> >         "0" "AUTO"
> >         "255000000" "30"
> >       END
> >     END
> >     SCALETOKEN
> >       NAME "%color%"
> >       VALUES
> >         "0" "HSL"
> >         "255000000" "RGB"
> >       END
> >     END
> >     class
> >       style
> >         COLORRANGE  "#0000ff00"  "#0000ffff"
> >         DATARANGE 0 32
> >       end
> >       style
> >         COLORRANGE  "#0000ffff"  "#ff0000ff"
> >         DATARANGE 32 255
> >       end
> >     end
> >   end
> >
> >   LAYER
> >     name "points"
> >     status on
> >     type POINT
> >     CONNECTION "user=postgres password=xx dbname=yy host=localhost"
> >     CONNECTIONTYPE POSTGIS
> >     DATA 'geom FROM atividades USING UNIQUE id_atividade USING SRID=4326'
> >     CLASS
> >      #MAXSCALE 275000000
> >      STYLE
> >       SIZE 2
> >      END # style
> >     END #class
> >   END # final do layer
> >
> >
> > Uchoa
> > --
> > Helton Nogueira UCHOA :: engenheiro.uchoa at gmail.com
> > Information Technology and Geospatial Specialist - Project Manager
> > OSGeo Charter Member (www.osgeo.org)
> > +55 85 8886-3909 (OI - WhatsApp) :: +55 85 9716-7769 (TIM) :: +55 85
> > 3037-8689 (MULTIPLAY)
> > Blog: helton.uchoa.com/
> > LinkedIn: br.linkedin.com/in/heltonuchoa/
> > Facebook: www.facebook.com/HeltonNogueiraUchoa
> > Twitter: https://twitter.com/helton_uchoa (@helton_uchoa)
> > Vimeo: https://vimeo.com/channels/engenheirouchoa
> > Papers: http://pt.scribd.com/heltonuchoa
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 7 Jul 2015 17:54:46 +0200
> From: thomas bonfort <thomas.bonfort at gmail.com>
> To: Helton Nogueira Uchoa <engenheiro.uchoa at gmail.com>
> Cc: MapserverList OSGEO <mapserver-users at lists.osgeo.org>
> Subject: Re: [mapserver-users] Kernel Map MapServer 7 WMS Server Bug!?
> Message-ID:
>         <
> CAOM3y2gj7YewBm13TOd-VQUBjCh22hqt4-Pqy19oZfkpUf7YxQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Sorry, clicked on send to fast...
> Can you try explicitely setting PROJECTION blocks on your mapfile
> layers and report back. We seem to be having issues on these
> intermediate layer cases when those are not set.
>
> --
> thomas
>
> On 7 July 2015 at 17:52, thomas bonfort <thomas.bonfort at gmail.com> wrote:
> >
> https://github.com/mapserver/mapserver/issues/5114#issuecomment-119091025
> >
> >
> > On 7 July 2015 at 17:50, Helton Nogueira Uchoa
> > <engenheiro.uchoa at gmail.com> wrote:
> >> Hi list,
> >>
> >> I'm trying to make a WMS Server with a kernel (density) map with
> MapServer
> >> 7. In same situations (BBOX size, WIDTH and HEIGHT values) the image  is
> >> returned with no information (white image). Is it a BUG?
> >>
> >> Example: image with kernel map
> >>
> >>
> http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=800&HEIGHT=400&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
> >>
> >> Example: image with white image
> >>
> >>
> http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=800&HEIGHT=500&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326
> >>
> >> MAP FILE:
> >>
> >>   layer
> >>     name "heatmap"
> >>     type raster
> >>     connectiontype kerneldensity
> >>     connection "points"
> >>     status on
> >>     processing "RANGE_COLORSPACE=%color%"
> >>     processing "KERNELDENSITY_RADIUS=%radius%"
> >>     processing "KERNELDENSITY_COMPUTE_BORDERS=%border%"
> >>     processing "KERNELDENSITY_NORMALIZATION=%norm%"
> >>     offsite 0 0 0
> >>     SCALETOKEN
> >>       NAME "%radius%"
> >>       VALUES
> >>         "0" "15"
> >>         "255000000" "20"
> >>       END
> >>     END
> >>     SCALETOKEN
> >>       NAME "%border%"
> >>       VALUES
> >>         "0" "ON"
> >>         "255000000" "OFF"
> >>       END
> >>     END
> >>     SCALETOKEN
> >>       NAME "%norm%"
> >>       VALUES
> >>         "0" "AUTO"
> >>         "255000000" "30"
> >>       END
> >>     END
> >>     SCALETOKEN
> >>       NAME "%color%"
> >>       VALUES
> >>         "0" "HSL"
> >>         "255000000" "RGB"
> >>       END
> >>     END
> >>     class
> >>       style
> >>         COLORRANGE  "#0000ff00"  "#0000ffff"
> >>         DATARANGE 0 32
> >>       end
> >>       style
> >>         COLORRANGE  "#0000ffff"  "#ff0000ff"
> >>         DATARANGE 32 255
> >>       end
> >>     end
> >>   end
> >>
> >>   LAYER
> >>     name "points"
> >>     status on
> >>     type POINT
> >>     CONNECTION "user=postgres password=xx dbname=yy host=localhost"
> >>     CONNECTIONTYPE POSTGIS
> >>     DATA 'geom FROM atividades USING UNIQUE id_atividade USING
> SRID=4326'
> >>     CLASS
> >>      #MAXSCALE 275000000
> >>      STYLE
> >>       SIZE 2
> >>      END # style
> >>     END #class
> >>   END # final do layer
> >>
> >>
> >> Uchoa
> >> --
> >> Helton Nogueira UCHOA :: engenheiro.uchoa at gmail.com
> >> Information Technology and Geospatial Specialist - Project Manager
> >> OSGeo Charter Member (www.osgeo.org)
> >> +55 85 8886-3909 (OI - WhatsApp) :: +55 85 9716-7769 (TIM) :: +55 85
> >> 3037-8689 (MULTIPLAY)
> >> Blog: helton.uchoa.com/
> >> LinkedIn: br.linkedin.com/in/heltonuchoa/
> >> Facebook: www.facebook.com/HeltonNogueiraUchoa
> >> Twitter: https://twitter.com/helton_uchoa (@helton_uchoa)
> >> Vimeo: https://vimeo.com/channels/engenheirouchoa
> >> Papers: http://pt.scribd.com/heltonuchoa
> >>
> >> _______________________________________________
> >> mapserver-users mailing list
> >> mapserver-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> End of mapserver-users Digest, Vol 90, Issue 8
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150709/6b932a38/attachment-0001.html>


More information about the mapserver-users mailing list