[Qgis-user] New symbology: no border

2010-09-23 Thread Timmie
Hello,
I have a vector file with modelled data of regular grid cells.

I would like to display the values as graduated symbol without any border.

I set the proder to zero in the symbol properties but still get a border around
the cells.

Please help me here.

Best regards,
Timmie

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


[Qgis-user] New symbology: invert color scheme

2010-09-23 Thread Timmie
Hello,
how can I invert a colour scheme in QGIS?

I would like to have red -> yellow in stead of yellow to red.

Thanks in advance,
Timmie

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


Re: [Qgis-user] Re: Projection of Shapefile export

2010-09-23 Thread Brett Adams

 Roland,

That is brilliant. Nice work.

I get a similar result to Ken. Offset between AGD84 and GDA94 in WA is 
36m using your file.


I was even able to export shape files and reimport them into the correct 
position suggesting the CRS has stuck. (AGD84 / AGD66 prj files look 
identical to me and yet the data still imports correctly ie 5m offset)


As far as I can tell, QGIS is not recognising these projections 
labelling  them all as WGS84 on import.




--
Brett Adams
Spinifex Geophysics
0438 861 974
SKYPE:brettadams_spinifex

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


[Qgis-user] Re: Projection of Shapefile export

2010-09-23 Thread Ken Norris

Roland, 

I incorporated your srs.db but the translation falls about 30m short (in
Melbourne) and about the same distance out at a control point in southern
Tasmania. 

I see you use the National parameters that '... have an estimated accuracy
of about 1 metre.' and are most accurate around Canberra (surprise).
Geoscience recommend use of their distortion tables (xxx.gsb) for more
accurate work Australia-wide.

Can you incorporate the parameter reference to the distortion tables in the
srs.db? I, like Brett, am out of my depth here.

Regards
Ken
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Projection-of-Shapefile-export-tp5536736p5564786.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] getting values from a WMS layer

2010-09-23 Thread Giovanni Manghi
Hi,


> Is it possible to get values from a WMS layer e.g. load WMS raster
> layer from NASA or some other server then have your points overlayed
> and use the point sampling tool?  This would work if you have loaded
> your own raster layer but with WMS layers it does not seem to work is
> this only possible with certain types of WMS servers/layers?

it depends on how the server is configured, not a client option.


cheers

-- Giovanni --


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


Re: [Qgis-user] Google Layers proxy

2010-09-23 Thread Ivan Mincik
2010/9/23 Maurício de Paulo :
> Hi,
> I'm currently using google layers behind a proxy network that requires user
> authentication. Many QGIS' plugins already connect through authenticated
> proxies but googleLayers can't. I've looked at the code and found out that
> the urllib use doesn't support authenticated proxies. I've also found out
> that urllib2 supports.
> I'd be glad if the dev could change the used library. I've made a few tests
> and the proxyhandler class of the urllib2 can handle the authentication but
> it would need to be read from qgis' settings.
>
>
> As far as a workaround I've told the proxy to ignore mt*.google.com and
> maps.google.com to make the plugin work throught the proxy.
>
> Best regards,
> Mauricio

Hi Mauricio,
can You provide a patch ?

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


[Qgis-user] getting values from a WMS layer

2010-09-23 Thread M . E . Dodd
Is it possible to get values from a WMS layer e.g. load WMS raster layer from 
NASA or some other server then have your points overlayed and use the point 
sampling tool?  This would work if you have loaded your own raster layer but 
with WMS layers it does not seem to work is this only possible with certain 
types of WMS servers/layers?

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Google Layers proxy

2010-09-23 Thread Maurício de Paulo
Hi,
I'm currently using google layers behind a proxy network that requires user
authentication. Many QGIS' plugins already connect through authenticated
proxies but googleLayers can't. I've looked at the code and found out that
the urllib use doesn't support authenticated proxies. I've also found out
that urllib2 supports.
I'd be glad if the dev could change the used library. I've made a few tests
and the proxyhandler class of the urllib2 can handle the authentication but
it would need to be read from qgis' settings.


As far as a workaround I've told the proxy to ignore *mt*.google.com* and *
maps.google.com* to make the plugin work throught the proxy.

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


[Qgis-user] qgis vector editing/digitisation

2010-09-23 Thread Mohammed Rashad
Hi all,
sorry for cross posting. kindly forgive me


I would like to make a standalone vector editing application by reusing
existing qgis code ? Is it possible?
which part of code is responsible for vector editing/digitising ?
what all includes from Qgis do i need to use?
Any please help me with an example

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


Re: [Qgis-user] Re: Projection of Shapefile export

2010-09-23 Thread Roland Hill




Brett / All,

I had a go at changing the AGD66 and AGD84 definitions in the QGIS
database (srs.db) to include the towgs84 parameters and it appears to
have worked. The attached image shows the same point assigned to GDA94,
AGD66 and AGD84 with the offsets as expected. The
updated srs.db can be found at http://dl.dropbox.com/u/9546967/srs.db
if you would like to use it.

The new srs.db was generated by running the following queries on srs.db
in SQLite Database Browser

UPDATE tbl_srs set parameters=replace(parameters, '+ellps=aust_SA',
'+a=6378160 +rf=298.2555
+towgs84=-117.763,-51.51,139.061,-0.292,-0.443,-0.277,-0.191') where
description like 'AGD84%'

UPDATE tbl_srs set
parameters=replace(parameters, '+ellps=aust_SA', '+a=6378160
+rf=298.2555
+towgs84=-129.193,-41.212,130.73,-0.246,-0.374,-0.329,-2.955') where
description like 'AGD66%'

Not sure how this compares to Ken and Giovanni's method.

Cheers,

Roland


 



 
-- 
ROLAND HILL
Director
Four Winds
Technology Pty Ltd
Ph/Fax :  +61
(0)2 6366 9425
Mobile : 
+61 (0)41 880 7472
roland.h...@fourwindstechnology.com.au



Privacy and
Confidentiality Notice
The information contained
herein and any attachments are intended solely for the named
recipients. It may contain privileged confidential information. If you
are not an intended recipient, please delete the message and any
attachments then notify the sender of miss-delivery. Any use or
disclosure of the contents of either is unauthorised and may be
unlawful. All liability for viruses are excluded to the fullest extent
permitted by law.



On 23/09/10 15:47, Brett Adams wrote:
 Ken, 
That's a legendary effort if your getting sensible results with the
icsm files.  Do you think the format is suitable that it could be used
in a sponsored bug fix? 
  
I gave this a shot myself but couldn't get it run at all, but then I
have no idea what I'm doing so thats no real indication. 
  
I've had no success in getting parameters to stick (AGD66, AGD84 or
GDA94) on shape or mapinfo files. 
  
Following solution was proposed by Roland Hill (22/09/2010  8:59pm) 
  
If your Custom CRS database does not appear to be working properly (ie
you can see your custom CRS, but it isn't sticking to your data
properly), then try to find your custom CRS database (qgis.db in your
home directory on Linux, I guess it is in Application Settings or
something similar in Windows) and delete it in case you have an old one
with an incorrect format. 
  
  
Brett 
  
On 23/09/2010 12:47 PM, Ken Norris wrote: 
  As Micha suggested, the National AGD66
distortion grid at 
http://www.icsm.gov.au/icsm/gda/gdatm/national66.zip

and AGD84 distortion grid at 
http://www.icsm.gov.au/icsm/gda/gdatm/national84.zip

seem to be the way forward. 

When unzipped, put into the proj directory (for me usr/share/proj) and 
coupled via the +nadgrids= parameter in a Custom CRS, it seems to yield
the 
correct transform when tested. 

+proj=utm +zone=55 +south +ellps=aust_SA +nadgrids=AGD66.gsb +units=m 
+no_defs 

(I renamed the unzipped distortion file 'A66 National (13.09.01).gsb'
file 
to 'AGD66.gsb' for convenience) 

But I can't make the parameters stick in the CRS of a vector file using
the 
override facility. Any ideas? 


  
  
  



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


[Qgis-user] Re: Projection of Shapefile export

2010-09-23 Thread Ken Norris

Correction, the AGD84 data do transform if used for areas where AGD84 was
used. I tried a sample from Victoria earlier, where AGD84 wasn't used — I
don't think the distortion table covers it.

Thus for AGD zone 53

+proj=utm +zone=53 +south +ellps=aust_SA +nadgrids=AGD84.gsb +units=m
+no_defs +wktext

where 'AGD84.gsb' is the re-badged 'National 84 (02.07.01).gsb' distortion
grid from the http://www.icsm.gov.au website
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Projection-of-Shapefile-export-tp5536736p5562452.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Projection of Shapefile export

2010-09-23 Thread Ken Norris

Bullseye Giovanni, thanks

The Custom CRS sticks and works with OTF projection of the AGD66 data to
GDA94

The parameters now:

+proj=utm +zone=55 +south +ellps=aust_SA +nadgrids=AGD66.gsb +units=m
+no_defs +wktext


But unfortunately the AGD84 data does not reproject correctly when using the
same methodology.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Projection-of-Shapefile-export-tp5536736p5562099.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Projection of Shapefile export

2010-09-23 Thread Giovanni Manghi
Hi,


> But I can't make the parameters stick in the CRS of a vector file using the
> override facility. Any ideas?


if you use the +nadgrids parameter you must also include also the
+wktext parameter

example:

+proj=tmerc +lat_0=39.66 +lon_0=-8.1319062 +k=1
+x_0=20 +y_0=30 +ellps=intl +units=m +no_defs
+nadgrids=ptLX_e89.gsb +wktext


also, if you are reprojecting to a projected crs, the target crs must
include the +towgs84 parameter

example:

+proj=tmerc +lat_0=39.668258474 +lon_0=-8.133108333465099 +k=1
+x_0=0 +y_0=0 +ellps=GRS80 +units=m +no_defs +towgs84=0,0,0


The annoying thing is that every tool that allows reproject vectors
(example "save as...") does only let choose the target crs, so you first
have to save the vector in what need to be your source crs.

On the other hand the warp tool in the "raster" menu let the user choose
the source crs, so the transformation can be done in just one step.


cheers


-- Giovanni --

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