Re: [mapserver-users] mapserver-users Digest, Vol 104, Issue 3

2016-09-05 Thread Berger, Cora
Hello Jeff,
thanks for your help. It seems that QGIS requests the WCS in its full extent. 
The size of the data I'm using is quite big. That's why I'm using a Tileindex. 
When the whole Extent gets requested it comes to a timeout. 
QGIS send these 3 Requests to the Server. 

http://vbrk21nt15.bezreg-koeln.nrw.de/wms/wcs_nw_dgm?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=GTiff&COVERAGE=nw_dgm&BBOX=278000,556,536000,5828000&CRS=EPSG:25832&RESPONSE_CRS=EPSG:25832&WIDTH=10&HEIGHT=10

http://vbrk21nt15.bezreg-koeln.nrw.de/wms/wcs_nw_dgm?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=GTiff&COVERAGE=nw_dgm&BBOX=406613,5693799,407387,5694201&CRS=EPSG:25832&RESPONSE_CRS=EPSG:25832&WIDTH=6&HEIGHT=3

http://vbrk21nt15.bezreg-koeln.nrw.de/wms/wcs_nw_dgm?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=GTiff&COVERAGE=nw_dgm&BBOX=327278,5724552,331535,5729242&CRS=EPSG:25832&RESPONSE_CRS=EPSG:25832&WIDTH=33&HEIGHT=35

The first BBOX is the extent defined in the mapfile. I tried different WCs and 
the first GetCoverage request always requests the whole extent with width and 
height = 10.  
So I guess my only chance is to reduce my data volume...

Yours
Cora


>-Ursprüngliche Nachricht-
>Von: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Im
>Auftrag von mapserver-users-requ...@lists.osgeo.org
>Gesendet: Samstag, 3. September 2016 21:00
>An: mapserver-users@lists.osgeo.org
>Betreff: mapserver-users Digest, Vol 104, Issue 3
>
>Send mapserver-users mailing list submissions to
>   mapserver-users@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-requ...@lists.osgeo.org
>
>You can reach the person managing the list at
>   mapserver-users-ow...@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: WCS with elevation data (Jeff McKenna)
>
>
>--
>
>Message: 1
>Date: Sat, 3 Sep 2016 15:28:05 -0300
>From: Jeff McKenna 
>To: mapserver-users@lists.osgeo.org
>Subject: Re: [mapserver-users] WCS with elevation data
>Message-ID:
>   
>Content-Type: text/plain; charset=utf-8; format=flowed
>
>Hi Cora,
>
>I believe QGIS defaults to using VERSION=1.0.0 for WCS.
>
>A nice way to see the exact OGC request sent by QGIS, is to use Fiddler:
>
>  - download and install Fiddler (Google will help you find its current
>download)
>  - open it and leave it running
>  - in QGIS goto /Settings/Options/Network
>  - click on "Use proxy for web access"
>  - for Proxy Type select "HttpProxy"
>  - for Host enter: 127.0.0.1
>  - for Port enter: 
>  - presss "ok" button
>  - now Add a WCS layer in QGIS again, but watch the Fiddler window
>  - click on the GetCoverage request in Fiddler
>  - to see the full requested url in Fiddler, check the 'Inspector' tab,
>and then select 'Raw'
>
>This is a handy trick especially when debugging MapServer services.
>(beware that QGIS caches the service though, see previous warnings by me
>on this list for that).
>
>Have a nice weekend,
>
>-jeff
>
>
>
>--
>Jeff McKenna
>MapServer Consulting and Training Services
>http://www.gatewaygeomatics.com/
>
>
>
>
>--
>
>Subject: Digest Footer
>
>___
>mapserver-users mailing list
>mapserver-users@lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>--
>
>End of mapserver-users Digest, Vol 104, Issue 3
>***
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] couldn't make my arrows symbols parallel to the lines

2016-09-05 Thread Ahmet Temiz
Hi,
I have line layer.
I couldn't make my arrows symbols parallel to the lines

​SYMBOL
NAME 'fArrow'
TYPE vector
POINTS
4 1
3 0
-99 -99
4 1
3 2
-99 -99
4 1
0 1
END
END



STYLE
  COLOR   0 255 0
  SYMBOL "fArrow"
  offset 5 5
  SIZE 5.0
  ANGLE  AUTO
  GAP 200
END # STYLE

Doesn't  "ANGLE  AUTO" make parallel to the line ?

What am I doing wrong ?

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] couldn't make my arrows symbols parallel to the lines

2016-09-05 Thread Havard Tveite

Try a negative GAP value.

http://mapserver.org/mapfile/style.html:

GAP
"For lines, a negative GAP value will cause the symbols’ X axis to be 
aligned relative to the tangent of the line."


Håvard

On 05. sep. 2016 14:49, Ahmet Temiz wrote:

Hi,
I have line layer.
I couldn't make my arrows symbols parallel to the lines

​SYMBOL
NAME 'fArrow'
TYPE vector
POINTS
4 1
3 0
-99 -99
4 1
3 2
-99 -99
4 1
0 1
END
END



STYLE
  COLOR   0 255 0
  SYMBOL "fArrow"
  offset 5 5
  SIZE 5.0
  ANGLE  AUTO
  GAP 200
END # STYLE

Doesn't  "ANGLE  AUTO" make parallel to the line ?

What am I doing wrong ?

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@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] different stroke color for lines?

2016-09-05 Thread Ahmet Temiz
Hi,

If Outlinecolor has no effect on lines, which function can be used to Give
different stroke color for lines?

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] different stroke color for lines?

2016-09-05 Thread Rahkonen Jukka (MML)
Hi,


Have you tried COLOR

http://www.mapserver.org/mapfile/style.html?


-Jukka Rahkonen-


Lähettäjä: mapserver-users  käyttäjän 
puolestaAhmet Temiz 
Lähetetty: 5. syyskuuta 2016 20:50
Vastaanottaja: mapserver-users
Aihe: [mapserver-users] different stroke color for lines?

Hi,

If Outlinecolor has no effect on lines, which function can be used to Give 
different stroke color for lines?

Regards


--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Baskanligi
Bilgi Islem  Dairesi Baskanligi-CBS Grubu




Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency

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

Re: [mapserver-users] different stroke color for lines?

2016-09-05 Thread lars . schylberg
Ahmet,

Here is an example: just run it with: shp2img -m arrow-on-line.map -o 
arrows-on-line.png
It shows both outline and what You asked for the other day with arrows.

Have fun

Lars S.


MAP # arrows-on-line.map
    IMAGETYPE png
    EXTENT 0 0 100 100
    SIZE 250 280
    IMAGECOLOR 225 225 225

    SYMBOL 
    NAME "arrow-start"
    TYPE vector
    FILLED true
    POINTS
    0 0.4
    3 0.4
    3 0
    5 0.8
    3 1.6
    3 1.2
    0 1.2
    0 0.4
    END # POINTS
    ANCHORPOINT 0 0.5
    END
    
    LAYER  # Line
    STATUS DEFAULT
    TYPE LINE
    FEATURE
    POINTS
    20 80
    40 85
    60 85
    70 80
    END # Points
    END
    CLASS  ## Outline stroke
    STYLE
    COLOR 7 7 7
    WIDTH 4.0
    LINECAP ROUND
    LINEJOIN ROUND
    END
    STYLE  ## Inner stroke
    COLOR 255 255 255
    WIDTH 2.5
    LINECAP BUTT
    LINEJOIN ROUND
    END
    
    STYLE  ## Red arrows
    COLOR 102 0 0
    SYMBOL "arrow-start"
    SIZE 10.0
    INITIALGAP 15
    GAP -50
    OFFSET -10 -99
    END
    
    STYLE  ## Green arrows
    COLOR 0 104 0
    SYMBOL "arrow-start"
    SIZE 10.0
    INITIALGAP 15
    GAP -50
    OFFSET 10 -99
    END # STYLE
    END # CLASS
    END # LAYER
END # MAP



-Originalmeddelande-
Från: "Ahmet Temiz" 
Till: mapserver-users 
Datum: 2016-09-05 19:50
Ämne: [mapserver-users] different stroke color for lines?

Hi,


If Outlinecolor has no effect on lines, which function can be used to Give 
different stroke color for lines?


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@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