[Qgis-user] Re: measure angle tool

2010-08-24 Thread ALT SHN
 don't know the answer but I have another question related to these one.

Why is it when I use the aspect tool of GRASS (r.slope.aspect) the results
are given from the East in a counterclockwise?! (i.e East is 0º, North is
90º and so on...)

I only realized this because I always check the results, but I bet there are
many people out there who assume that 360º/0º is North and are having
inconsistent results

regards,

Andre

2010/8/24 Tom mtnbiketr...@zzz.com

 Why is it when I use the Measure angle tool(grouped with the info
 tool), if I draw a line from 0 and then run the cursor around it a clockwise
 circle, the measured value goes  0 to 180 and  -179 to -1 to 0, I want to
 measure the obtuse angle like a compass, 0-360. nothing in the help files. I
 have no clue if this is a built in plugin or add-in.

 Also, I can't seem to get the Azimuth and distance plugin tool(0.8.5) to
 work.  I want to draw a line that is true North. NO instructions on their
 website.

 And I'm using these to compare true north to magnetic north as
 georeferenced raster files. The raster files are drawn to magnetic north,
 with lines going to the 4 cardinal points as magnetic, but my base map
 projection is in True North(+proj=utm +zone=10 +ellps=WGS84 +datum=WGS84
 +units=m +no_defs). I want to georeference using magnetic bearings.  I know
 the declination and the base map(geotiff) is correct.

 thanks,
 Tom



 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
---
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do
Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org



-- 
---
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do
Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] WMS through https and basic auth for QGIS

2010-08-24 Thread Vincent Hussey
Hi,

I am trying to connect to a remote wms server from QGIS using https with
basic authentication.  QGIS version is 1.5.0-4.3 for x86_64 on opensuse 11.3
(rpm from Application:Geo repo).

I have not been successful using the Layer  Add WMS Layer tool in QGIS.
Ticket #2892 appears to refer to this issue. It looks like this will be
fixed in QGIS 1.6.0.  This is a show-stopper for me, in encouraging
colleagues to use this software.

I have come up with a workaround for a **secure** internal network, using
mapserver wms client.  It might be useful to others.

URL: http://localhost/cgi-bin/mapserv?map=myproxy.map

Mapfile: /srv/www/cgi-bin/myproxy.map

MAP
NAME MyProxy

PROJECTION
  init=epsg:1234
END

WEB
  METADATA
wms_title Proxy for external https server
  END
  IMAGEPATH /tmp/ms_tmp/ # check that this is writeable by mapserver
  IMAGEURL /ms_tmp
END

LAYER
  NAME MyRemoteLayer
  TYPE RASTER
  STATUS ON
  CONNECTION https://path/to/server?;
  CONNECTIONTYPE WMS
  METADATA
wms_title MyRemoteLayer
wms_extent  418829.9650 511786.6808 786046.9273 964701.5937 #
extents from http://spatialreference.org/ref/epsg/1234/
wms_auth_type basic
wms_auth_username XX # username here
wms_auth_password YY # password here
wms_srs EPSG:1234
wms_nameRemote LayerNameFromCapabilities
wms_server_version  1.1.1
wms_format  image/jpeg
  END
END
END

Vincent Hussey
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] WMS through https and basic auth for QGIS

2010-08-24 Thread Jürgen E . Fischer
Hi Vincent,

On Tue, 24. Aug 2010 at 20:18:36 +0100, Vincent Hussey wrote:
I have not been successful using the Layer  Add WMS Layer tool in QGIS.
Ticket #2892 appears to refer to this issue. It looks like this will be
fixed in QGIS 1.6.0.  This is a show-stopper for me, in encouraging
colleagues to use this software.

The ticket is about WFS.  WMS should work using https.  Do you have a public
wms server to verify the problem?

Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Shapefile structure viewer and editor plugin

2010-08-24 Thread Benoit de Cabissole
Hello List,

I've created a simple plugin that allows to view the structure of a
shapefile (X-, Y-coords alongside its attributes) and while at it I've also
added the capability to edit the geometry and attributes and save back to
the shapefile.

A corollary is that if you want to add a point by typing its coords you can
do it with the plugin (as André aka ALT SHN has suggested). You can even
create a new shapefile in QGIS and use the plugin to type in coords and
attributes or paste them from the clipboard.

Points, lines and polygons shapefiles can be manipulated.

BUT, I feel it is a quite dangerous plugin to release in a public repo
because of the potential damages bad edits can do on a shapefile!

I would thus be very grateful if the most intrepid amongst you could test it
and give comments on its usefulness...

The plugin is available at the address below:
http://www.bc-consult.com/free/bccshpv.html

Cheers,
Benoit
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Shapefile structure viewer and editor plugin

2010-08-24 Thread ALT SHN
Hi Benoit!


This is a great plugin! I tested it on one point shapefile (8003 objects)
and all went fine!

Although I understand your concern about making it public, I think it's
extremely usefull (at least for me it is) and it would be a shame not to put
it on a public repository... Besides it even has a fair documentation, so I
think newbies would be ok.

Anyway, great tool! Thanks!

Best Regards,

André

2010/8/24 Benoit de Cabissole ben...@exigesa.com

  Hello List,

 I've created a simple plugin that allows to view the structure of a
 shapefile (X-, Y-coords alongside its attributes) and while at it I've also
 added the capability to edit the geometry and attributes and save back to
 the shapefile.

 A corollary is that if you want to add a point by typing its coords you can
 do it with the plugin (as André aka ALT SHN has suggested). You can even
 create a new shapefile in QGIS and use the plugin to type in coords and
 attributes or paste them from the clipboard.

 Points, lines and polygons shapefiles can be manipulated.

 BUT, I feel it is a quite dangerous plugin to release in a public repo
 because of the potential damages bad edits can do on a shapefile!

 I would thus be very grateful if the most intrepid amongst you could test
 it and give comments on its usefulness...

 The plugin is available at the address below:
 http://www.bc-consult.com/free/bccshpv.html

 Cheers,
 Benoit


 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
---
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do
Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user