Re: [Qgis-user] Legend orientation

2011-02-13 Thread Paolo Cavallini
> This is currently not possible. You can do it "manually" though. You can 
> use three times the same legend and manually remove the entries that are 
> in the other two columns. Not so elegant, I know, but at least a 
> workaround now.

Brett:
could you please check whether there is an open ticket on this, and if
not opening it?
Thanks.
-- 
http://www.faunalia.it/pc

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


Re: [Qgis-user] Legend orientation

2011-02-13 Thread Andreas Neumann

Hi Brett,

This is currently not possible. You can do it "manually" though. You can 
use three times the same legend and manually remove the entries that are 
in the other two columns. Not so elegant, I know, but at least a 
workaround now.


I once ran into the same issue and would like to see that problem solved 
more elegantly.


Andreas

On 2/14/11 3:24 AM, Brett Adams wrote:

Hi Folks,
Is it possible to change the layout of the Legend? I need it to 
contain 2-3 colombs so it can be stretched horizontally along the 
bottom of the page. Its just what fits.


Thanks



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


[Qgis-user] Re: Issue with map units on scale bar (wgs84 prj) (qgis 1.6, win xp)

2011-02-13 Thread percy langa
Oops, ignore this:

snip/
Also, how I do reply so that my message goes to the mailing list?
snip/

Percy

On Fri, Feb 11, 2011 at 12:27 PM, percy langa  wrote:
> Hey all,
>
> Under print composer, I can load all the other bits (map, legend,
> labels, north arrow) with a problem. The scale bar is giving me
> issues. The units only show in meters (0.01m) not kilometers (1km). I
> want to show kilometers. I must be doing something wrong somewhere.
>
> Any pointers.
>
> Cheers,
> Percy
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Issue with map units on scale bar (wgs84 prj) (qgis 1.6, win xp)

2011-02-13 Thread percy langa
Hi Howard,

Problem solved:

Segment size: 0.0100
Map units: 0.01
R Segment: 2
L Segment: 1

Also, how I do reply so that my message goes to the mailing list?

Thanks and cheers,
Percy

On Sat, Feb 12, 2011 at 2:20 AM, hayamaguchi  wrote:
>
> Hi, Percy.  If your map unit is in meters (m) but want your scale bar to
> display kilometers (km), one way to do this in Composer would be to set some
> parameters in the "Scale bar" dialogue (under the "Item" tab when you have
> the scale bar selected).
>
> Assume that you want your scale bar to show one kilometer only.  You can set
> the "Segment size (map units)" to be 1000, and the "Map units per bar unit"
> to be 1000 as well.  Set "1 Right segments" and "0 Left segments."  That
> should give you a scale bar with one tick equivalent to 1 kilometer in
> length.
>
> Finally, set the "Unit label" to "Kilometer" or "km" or something like that.
>
> I hope it works for you!
>
> Howard Yamaguchi
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Issue-with-map-units-on-scale-bar-wgs84-prj-qgis-1-6-win-xp-tp6015194p6017698.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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Legend orientation

2011-02-13 Thread Brett Adams

Hi Folks,
Is it possible to change the layout of the Legend? I need it to contain 
2-3 colombs so it can be stretched horizontally along the bottom of the 
page. Its just what fits.


Thanks

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


Re: [Qgis-user] On the fly projection

2011-02-13 Thread Siki Zoltan

Dear Richard,

thanks, I've change sqlite db.

regards,
Zoltan

On Sun, 13 Feb 2011, Richard Duivenvoorde wrote:


Siki Zoltan wrote:

I have trouble with on the fly projection from epsg:4326 to epsg:23700.
When I create a custom projection and test it in QGIS custom projection
window I get the correct values
E.g 47d 19d -> 183979.50 646390.96
parameters: +proj=somerc +lat_0=47.1443937222
+lon_0=19.0485717778 +k_0=0.3 +x_0=65 +y_0=20
+ellps=GRS67 +towgs84=52.17,-71.82,-14.9,0,0,0,0 +units=m +no_defs

But when I have the same point in a shape file and turning on on the fly
reprojection with EPSG:23700,
I get 646306.05 183949.62, and it is the same if I ommit the towgs84
parameters, more than 90 meters difference.
Where can I change the projection definition permanently in QGIS?
I changed the epsg file of proj but it doesn't help.

Trying it on QGIS 1.6 Linux and XP, I get the same result.


Hi,

the projection information / proj4-strings for qgis are stored in srs.db
(/share/qgis/resources/srs.db in my setup) which is a sqlite
database (viewable/editable with eg a firefox plugin:
https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/)
You could edit the record there for the epsg:23700 record. But this
means that with a new install you loose your proj-string edits.

The preferred way is actually to add a 'Custom CRS' (file menu Edit) and
add your definition of the proj-string and name it 'My23700' crs or
something like that.
Then the definition ends up in qgis.db (the user settings sqlite db) in
your .qgis home. And it will survive new projects and your qgis-updates
in the future.

Regards,

Richard Duivenvoorde


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


Re: [Qgis-user] QGIS compiling problem sqlite3

2011-02-13 Thread Paolo Cavallini
Why not using the usual route, via ccmake?

Il giorno dom, 13/02/2011 alle 21.30 +0100, Alessandro Sarretta ha
scritto:
> Hi QGIS list,
> I'm trying to compile QGIS from source as I did some months ago without 
> problems. I'm working in Ubuntu 10.10.
> This time after the "make" command I receive this message:

-- 
Paolo Cavallini: http://www.faunalia.it/pc

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


[Qgis-user] QGIS compiling problem sqlite3

2011-02-13 Thread Alessandro Sarretta

Hi QGIS list,
I'm trying to compile QGIS from source as I did some months ago without 
problems. I'm working in Ubuntu 10.10.

This time after the "make" command I receive this message:

Linking CXX executable qgis
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_bind_int'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_double'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_bind_double'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_text'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_free_table'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_bytes'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_last_insert_rowid'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_prepare'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_name'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_finalize'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_bind_text'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_free'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_exec'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_bind_blob'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_step'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_get_table'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_open'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_reset'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_blob'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_int'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_count'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_close'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_decltype'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_column_type'
/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: 
undefined reference to `sqlite3_errmsg'

collect2: ld returned 1 exit status
make[2]: *** [src/app/qgis] Error 1
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make: *** [all] Error 2


do you have any suggestions?
Thank you very much.
Ale
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] On the fly projection

2011-02-13 Thread Richard Duivenvoorde
Siki Zoltan wrote:
> I have trouble with on the fly projection from epsg:4326 to epsg:23700.
> When I create a custom projection and test it in QGIS custom projection
> window I get the correct values
> E.g 47d 19d -> 183979.50 646390.96
> parameters: +proj=somerc +lat_0=47.1443937222
> +lon_0=19.0485717778 +k_0=0.3 +x_0=65 +y_0=20
> +ellps=GRS67 +towgs84=52.17,-71.82,-14.9,0,0,0,0 +units=m +no_defs
> 
> But when I have the same point in a shape file and turning on on the fly
> reprojection with EPSG:23700,
> I get 646306.05 183949.62, and it is the same if I ommit the towgs84
> parameters, more than 90 meters difference.
> Where can I change the projection definition permanently in QGIS?
> I changed the epsg file of proj but it doesn't help.
> 
> Trying it on QGIS 1.6 Linux and XP, I get the same result.

Hi,

the projection information / proj4-strings for qgis are stored in srs.db
(/share/qgis/resources/srs.db in my setup) which is a sqlite
database (viewable/editable with eg a firefox plugin:
https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/)
You could edit the record there for the epsg:23700 record. But this
means that with a new install you loose your proj-string edits.

The preferred way is actually to add a 'Custom CRS' (file menu Edit) and
add your definition of the proj-string and name it 'My23700' crs or
something like that.
Then the definition ends up in qgis.db (the user settings sqlite db) in
your .qgis home. And it will survive new projects and your qgis-updates
in the future.

Regards,

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


Re: [Qgis-user] Re: Qgis-user Digest, Vol 60, Issue 17

2011-02-13 Thread Amedeo Fadini
2011/2/13 Степан Кузьмин 

> Hello, community!
>
> How can I colorize my vector layer, using data from attributive table?
>
>
Hello Stefan,
It's very easy: just select the layer open layer properties (in windows
double click) and select symbolgy tab. You can select "unique value" or
"coninuus" from the drop-down list on the top of properties window.

Haven't you fine the Qgis manual?
http://qgis.org/en/documentation/manuals.html
even in russian.

bye

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


[Qgis-user] Re: Qgis-user Digest, Vol 60, Issue 17

2011-02-13 Thread Степан Кузьмин
Hello, community!

How can I colorize my vector layer, using data from attributive table?


-- 

Stepan Kuzmin
Web developer.
«Amatei» LLC.
Russian Federation, Yekaterinburg.

tel. +7 (343) 283-04-29
skype: Stepan.Kuzmin
twitter: @StepanKuzmin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] On the fly projection

2011-02-13 Thread Siki Zoltan

Hi List,

I have trouble with on the fly projection from epsg:4326 to epsg:23700.
When I create a custom projection and test it in QGIS custom 
projection window I get the correct values

E.g 47d 19d -> 183979.50 646390.96
parameters: +proj=somerc +lat_0=47.1443937222 +lon_0=19.0485717778 
+k_0=0.3 +x_0=65 +y_0=20 +ellps=GRS67 
+towgs84=52.17,-71.82,-14.9,0,0,0,0 +units=m +no_defs


But when I have the same point in a shape file and turning on on the fly 
reprojection with EPSG:23700,
I get 646306.05 183949.62, and it is the same if I ommit the towgs84 
parameters, more than 90 meters difference.

Where can I change the projection definition permanently in QGIS?
I changed the epsg file of proj but it doesn't help.

Trying it on QGIS 1.6 Linux and XP, I get the same result.

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


Re: [Qgis-user] MMQGIS plugin - Color Map error

2011-02-13 Thread Noli Sicad
Hi Cameron,

Try to create a "tmp" directory,  then save "mmqgis.qml" file first.

'/tmp/mmqgis.qml'

Then, this error will go away, I think.

I have similar problem with mmqgis before.

Noli

On 2/13/11, Cameron Munro  wrote:
> I'm running QGIS1.6 and Win7. The mmqgis plugin package is terrific, except
> I
> get an error when I try color map (below), seems not to be able to find
> mmqgis.qml. Does anyone else experience this issue, and if so is there a
> solution/workaround? I've tried reinstalling the plugin without success, and
> have observed the same issue trying it in QGIS1.5.
>
> Cheers
>
> Cameron.
>
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File "C:/Users/Cameron/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py",
> line
> 292, in run
> int(self.highcolor.palette().color(QPalette.Normal,
> QPalette.Button).rgb()))
>   File "C:/Users/Cameron/.qgis/python/plugins\mmqgis\mmqgis_library.py",
> line
> 251, in mmqgis_set_color_map
> outfile = open(temp_filename, 'w')
> IOError: [Errno 2] No such file or directory: '/tmp/mmqgis.qml'
>
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
> 
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] MMQGIS plugin - Color Map error

2011-02-13 Thread Cameron Munro
I'm running QGIS1.6 and Win7. The mmqgis plugin package is terrific, except I 
get an error when I try color map (below), seems not to be able to find 
mmqgis.qml. Does anyone else experience this issue, and if so is there a 
solution/workaround? I've tried reinstalling the plugin without success, and 
have observed the same issue trying it in QGIS1.5.

Cheers

Cameron.


An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/Cameron/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py", line 
292, in run
int(self.highcolor.palette().color(QPalette.Normal, QPalette.Button).rgb()))
  File "C:/Users/Cameron/.qgis/python/plugins\mmqgis\mmqgis_library.py", line 
251, in mmqgis_set_color_map
outfile = open(temp_filename, 'w')
IOError: [Errno 2] No such file or directory: '/tmp/mmqgis.qml'

Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


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