Re: [Qgis-user] QGIS farm application

2012-03-15 Thread Antonello Lobianco (not reply)
You may want to consider also this: http://www.regmas.org
It calculates optimal decisions for farmers using the open source glpk
optimisation library taking GIS and space explicitelly into  account.
It is for research models, not for a single farm, but you may be interested
in the code..

Antonello

Il giorno 13 marzo 2012 17:17, Walter Ludwick wludw...@mac.com ha scritto:

 I am trying to manage operations on my farm in a more scientific way,
 using QGIS as a tool for making more informed decisions.

 This involves mapping of points (e.g. fencepost) lines (e.g. irrigation
 tube) and polygons (e.g. grazing paddock) and all related data across time,
 to show in a graphic way how present configuration of resources compares to
 a snapshot at any point in time past (i.e. historical facts) or future
 (i.e. planning scenarios).

 I am using a spreadsheet (OpenOffice Calc) to record actual data values,
 build history,, and project what-if scenarios. Presuming that QGIS is the
 best tool for managing vectorial data about how these facts map onto the
 ground, then what is the best way of integrating data from these two
 applications, i wonder?

 Being not so technically inclined, i am quite apprehensive about
 introducing a RDBMS into the mix (i see the PostGIS layer option available,
 and gather that this enables connection to a Postgres db, which i know can
 host our spreadsheet data, but…)  Well: if this means there will be less
 hassle about keeping data integrated between our GIS and our spreadsheets,
 then i might bite the bullet and do it.  What do you think?

 If anyone here has anything to recommend, or any relevant experience to
 share, i would be very grateful to hear about it. Thanks for listening!

 Yours, Walt


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




-- 
Antonello Lobianco
Spedito da un indirizzo non presenziato
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Saving layer CRS in GML file

2012-03-15 Thread Luís de Sousa
bump

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Saving-layer-CRS-in-GML-file-tp4520824p4620532.html
Sent from the Quantum GIS - 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] Landsat TM from TNTMips and ArcGIS to qgis

2012-03-15 Thread dan laurentiu stoica









--

Message: 7
Date: Thu, 15 Mar 2012 07:54:35 +0100
From: Antonello Lobianco (not reply) blackh...@lobianco.org
Subject: Re: [Qgis-user] QGIS farm application
To: Walter Ludwick wludw...@mac.com, qgis-user
    qgis-user@lists.osgeo.org
Message-ID:
    caoibvjfyemwgwkfr8zpnm1jr2tsbiugksvz4dhvxe8wcu2t...@mail.gmail.com
Content-Type: text/plain; charset=windows-1252

You may want to consider also this: http://www.regmas.org
It calculates optimal decisions for farmers using the open source glpk
optimisation library taking GIS and space explicitelly into  account.
It is for research models, not for a single farm, but you may be interested
in the code..

Antonello

Il giorno 13 marzo 2012 17:17, Walter Ludwick wludw...@mac.com ha scritto:

 I am trying to manage operations on my farm in a more scientific way,
 using QGIS as a tool for making more informed decisions.

 This involves mapping of points (e.g. fencepost) lines (e.g. irrigation
 tube) and polygons (e.g. grazing paddock) and all related data across time,
 to show in a graphic way how present configuration of resources compares to
 a snapshot at any point in time past (i.e. historical facts) or future
 (i.e. planning scenarios).

 I am using a spreadsheet (OpenOffice Calc) to record actual data values,
 build history,, and project what-if scenarios. Presuming that QGIS is the
 best tool for managing vectorial data about how these facts map onto the
 ground, then what is the best way of integrating data from these two
 applications, i wonder?

 Being not so technically inclined, i am quite apprehensive about
 introducing a RDBMS into the mix (i see the PostGIS layer option available,
 and gather that this enables connection to a Postgres db, which i know can
 host our spreadsheet data, but…)  Well: if this means there will be less
 hassle about keeping data integrated between our GIS and our spreadsheets,
 then i might bite the bullet and do it.  What do you think?

 If anyone here has anything to recommend, or any relevant experience to
 share, i would be very grateful to hear about it. Thanks for listening!

 Yours, Walt


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




-- 
Antonello Lobianco
Spedito da un indirizzo non presenziato
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.osgeo.org/pipermail/qgis-user/attachments/20120315/3da972c2/attachment-0001.html

--

Message: 8
Date: Thu, 15 Mar 2012 01:52:03 -0700 (PDT)
From: Lu?s de Sousa luis.a.de.so...@gmail.com
Subject: [Qgis-user] Re: Saving layer CRS in GML file
To: qgis-user@lists.osgeo.org
Message-ID: 1331801523484-4620532.p...@n6.nabble.com
Content-Type: text/plain; charset=us-ascii

bump

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Saving-layer-CRS-in-GML-file-tp4520824p4620532.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.


--

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


End of Qgis-user Digest, Vol 73, Issue 50
*___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS farm application

2012-03-15 Thread Viktor Kalén
Hi,

Must say this sounds very intresting! I like youre idea!

I have som experience of using PostGIS to QGIS and must say I'm
impressed (comming from an ESRI environment).
I don't hav any experience in SpatialLite, but maybye this is the way
to go for an easier start.


For PostGIS there are some really useful plugins for QGIS wich helps
in managing the database (maybye there are similar plugins for Spatial
Lite?)

The one I use the most is called PostGIS manager. Here you can upload
dbf tables to your database. I guess you can easaly export from
OpenOffice to dbf?


Good luck!

Viktor

Den 15 mars 2012 07:54 skrev Antonello Lobianco (not reply)
blackh...@lobianco.org:
 You may want to consider also this: http://www.regmas.org
 It calculates optimal decisions for farmers using the open source glpk
 optimisation library taking GIS and space explicitelly into  account.
 It is for research models, not for a single farm, but you may be interested
 in the code..

 Antonello

 Il giorno 13 marzo 2012 17:17, Walter Ludwick wludw...@mac.com ha scritto:

 I am trying to manage operations on my farm in a more scientific way,
 using QGIS as a tool for making more informed decisions.

 This involves mapping of points (e.g. fencepost) lines (e.g. irrigation
 tube) and polygons (e.g. grazing paddock) and all related data across time,
 to show in a graphic way how present configuration of resources compares to
 a snapshot at any point in time past (i.e. historical facts) or future (i.e.
 planning scenarios).

 I am using a spreadsheet (OpenOffice Calc) to record actual data values,
 build history,, and project what-if scenarios. Presuming that QGIS is the
 best tool for managing vectorial data about how these facts map onto the
 ground, then what is the best way of integrating data from these two
 applications, i wonder?

 Being not so technically inclined, i am quite apprehensive about
 introducing a RDBMS into the mix (i see the PostGIS layer option available,
 and gather that this enables connection to a Postgres db, which i know can
 host our spreadsheet data, but…)  Well: if this means there will be less
 hassle about keeping data integrated between our GIS and our spreadsheets,
 then i might bite the bullet and do it.  What do you think?

 If anyone here has anything to recommend, or any relevant experience to
 share, i would be very grateful to hear about it. Thanks for listening!

 Yours, Walt


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




 --
 Antonello Lobianco
 Spedito da un indirizzo non presenziato


 ___
 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] Plugin to add a layer for each unique value in a column

2012-03-15 Thread James Stott
I would like to add a layer for each unique value of a text column in a
table.

For example, if I have a column called type, and the values in it were
tree, stone and plant I would like to add a layer for each type. So in
this example I would have 3 layers.

I know there is a plugin called Shapefile Splitter that splits out to a
shapefile for each unique value, but I just want it to split to layers
in QGIS.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Plugin to add a layer for each unique value in a column

2012-03-15 Thread Zirneklitis

Add the same layer three times.

James Stott wrote:

..
For example, if I have a column called type, and the values in it were
tree, stone and plant I would like to add a layer for each type. So in
this example I would have 3 layers.
..

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


RE: [Qgis-user] Plugin to add a layer for each unique value in acolumn

2012-03-15 Thread James Stott
Thanks for the reply. This is the approach I am using at the moment.

I was hoping to find a tool that did it in a more automated fashion, as my data 
would require me to add the layer 20 times, and query each of these 20 layers.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Zirneklitis
Sent: 15 March 2012 11:19
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Plugin to add a layer for each unique value in acolumn

Add the same layer three times.

James Stott wrote:
 ..
 For example, if I have a column called type, and the values in it were
 tree, stone and plant I would like to add a layer for each type. So in
 this example I would have 3 layers.
..
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] Plugin to add a layer for each unique value in acolumn

2012-03-15 Thread Nathan Woodrow
James,

Can I ask what use case you have for splitting the layers up like this.

Just interested.

- Nathan
From: James Stott
Sent: 15/03/2012 9:33 PM
To: Zirneklitis
Cc: qgis-user@lists.osgeo.org
Subject: RE: [Qgis-user] Plugin to add a layer for each unique value in
acolumn
Thanks for the reply. This is the approach I am using at the moment.

I was hoping to find a tool that did it in a more automated fashion,
as my data would require me to add the layer 20 times, and query each
of these 20 layers.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Zirneklitis
Sent: 15 March 2012 11:19
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Plugin to add a layer for each unique value in acolumn

Add the same layer three times.

James Stott wrote:
 ..
 For example, if I have a column called type, and the values in it were
 tree, stone and plant I would like to add a layer for each type. So in
 this example I would have 3 layers.
..
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the
addressee. It may contain privileged and confidential information. If
you are not the person for whom it is intended, you must not copy,
distribute or take any action in reliance on it. If you have received
this electronic transmission in error please notify us immediately by
telephone, delete the transmission and destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44
(0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
http://www.npaconsult.co.uk/
___
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


Re: [Qgis-user] Plugin to add a layer for each unique value in a column

2012-03-15 Thread Andreas Neumann

Hi James,

And why would you need that? Maybe there is another solution to your 
problem with just one or fewer layers.


Andreas

On Thu, 15 Mar 2012 11:08:04 -, James Stott wrote:
I would like to add a layer for each unique value of a text column in 
a

table.

For example, if I have a column called type, and the values in it 
were
tree, stone and plant I would like to add a layer for each type. So 
in

this example I would have 3 layers.

I know there is a plugin called Shapefile Splitter that splits out to 
a
shapefile for each unique value, but I just want it to split to 
layers

in QGIS.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/



http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of
the addressee. It may contain privileged and confidential 
information.

If you are not the person for whom it is intended, you must not copy,
distribute or take any action in reliance on it. If you have received
this electronic transmission in error please notify us immediately by
telephone, delete the transmission and destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel:
+44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
http://www.npaconsult.co.uk/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Spatialite data portability

2012-03-15 Thread Walter Ludwick
Following the consensus opinion of all those who kindly answered my inquiry 
(Re: QGIS Farm Application), i have installed Spatialite and managed to export 
all the data from a layer to a .SQLITE file, and then view it from several 
different SQLite browsers, which confirms integrity of data  database 
structure. This already is a constructive step forward (thanks to all those who 
helped, too numerous already to mention :). 

Moreover, i have managed to create a database in LibreOffice based upon that 
.sqlite file (after (re)learning more than i really wanted to know about ODBC 
drivers!), which displays all the data as it should. This is another good step 
forward, because -tho the business of my farm is predicated on geo-located 
resources (e.g. a paddock on the ground) having certain attributes that are 
best defined in QGIS (e.g. perimeter, area, etc.)- i will still be working with 
that data in spreadsheets on a much more dynamic basis. 

However: When i try to edit those .sqlite files from QGIS in another tool, i'm 
running into an error message that varies slightly, depending on the editor i 
use (anything but OO at this point: ODBC is too much pain, until i get these 
other mechanics worked out), but the message is essentially this (from 
SQLiteStudio): 
  Error while updating cell value; no such function: RTreeAlign.

Presuming that what i am trying to do is in fact possible*;  then i am left 
scratching my head as to why all these SQL tools are having this trouble, and 
where that problematic function is coming from. Does that error message suggest 
anything to you? 

* (Of course, if what i am trying to do with such round-trip editing is in fact 
not possible, i would sure appreciate if someone could let me know :)

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


Re: [Qgis-user] Spatialite data portability

2012-03-15 Thread Andreas Neumann

Hi Walter,

Unfortunately I can't help. But I suggest that you ask the SpatiaLite 
cracks at their mailinglist:

http://groups.google.com/group/spatialite-users

I am pretty sure they can help you better than we here.

Good luck!

Andreas

On Thu, 15 Mar 2012 12:09:57 +, Walter Ludwick wrote:

Following the consensus opinion of all those who kindly answered my
inquiry (Re: QGIS Farm Application), i have installed Spatialite and
managed to export all the data from a layer to a .SQLITE file, and
then view it from several different SQLite browsers, which confirms
integrity of data  database structure. This already is a 
constructive

step forward (thanks to all those who helped, too numerous already to
mention :).

Moreover, i have managed to create a database in LibreOffice based
upon that .sqlite file (after (re)learning more than i really wanted
to know about ODBC drivers!), which displays all the data as it
should. This is another good step forward, because -tho the business
of my farm is predicated on geo-located resources (e.g. a paddock on
the ground) having certain attributes that are best defined in QGIS
(e.g. perimeter, area, etc.)- i will still be working with that data
in spreadsheets on a much more dynamic basis.

However: When i try to edit those .sqlite files from QGIS in another
tool, i'm running into an error message that varies slightly,
depending on the editor i use (anything but OO at this point: ODBC is
too much pain, until i get these other mechanics worked out), but the
message is essentially this (from SQLiteStudio):
  Error while updating cell value; no such function: 
RTreeAlign.


Presuming that what i am trying to do is in fact possible*;  then i
am left scratching my head as to why all these SQL tools are having
this trouble, and where that problematic function is coming from. 
Does

that error message suggest anything to you?

* (Of course, if what i am trying to do with such round-trip editing
is in fact not possible, i would sure appreciate if someone could let
me know :)

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


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] Plugin to add a layer for each unique value in acolumn

2012-03-15 Thread James Stott
Hi Nathan/Andreas,

I would happily use another method to deal with this but I haven’t managed to 
come up with one.

My layer has site boundaries (20 of them) on it. I also have a layer with 
buffers for my sites in it. I have a buffer per site (20 sites) and these are 
from a PostGIS view as these alter whenever I change the site boundary. I would 
like to then add each site boundary and each buffer onto a map as a separate 
layer because:

1) I add the site boundary and the buffer to a group, then the users can then 
turn each one on and off as needed when looking at the project file in QGIS.

2) For map production (using composers) I have a composer per site. I lock the 
layers in the composer map item and then jpg all my maps at the end. To do this 
I need to have each buffer on a separate layer as otherwise it would show the 
other sites as they are quite close together.

The only way I can think to do this at the moment is to add each layer 20 
times, and then query it by each individual site.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: 15 March 2012 12:10
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Plugin to add a layer for each unique value in acolumn

 Hi James,

 And why would you need that? Maybe there is another solution to your
 problem with just one or fewer layers.

 Andreas

 On Thu, 15 Mar 2012 11:08:04 -, James Stott wrote:
 I would like to add a layer for each unique value of a text column in
 a
 table.

 For example, if I have a column called type, and the values in it
 were
 tree, stone and plant I would like to add a layer for each type. So
 in
 this example I would have 3 layers.

 I know there is a plugin called Shapefile Splitter that splits out to
 a
 shapefile for each unique value, but I just want it to split to
 layers
 in QGIS.

 James


 James Stott BSc (Hons) MSc | Senior Professional
 Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
 T: 01225 445548 | M: -
 http://www.npaconsult.co.uk/



 http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
 http://www.npaconsult.co.uk/terms.asp
 This Electronic Transmission is intended only for the attention of
 the addressee. It may contain privileged and confidential
 information.
 If you are not the person for whom it is intended, you must not copy,
 distribute or take any action in reliance on it. If you have received
 this electronic transmission in error please notify us immediately by
 telephone, delete the transmission and destroy any hard copies.
 Nicholas Pearson Associates has used all reasonable efforts to ensure
 that this message and any attachments are free from viruses.
 Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel:
 +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
 http://www.npaconsult.co.uk/
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS access via shellscript

2012-03-15 Thread TheGeographer
Hi,

is there a chance to access QGIS via shellscript to automate GIS operations?
With GRASS i can do it, but i need an automated TIN generation and under
GRASS there's actually no module available which can create TINs.

Greetings 

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QGIS-access-via-shellscript-tp4621383p4621383.html
Sent from the Quantum GIS - 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] Spatialite data portability

2012-03-15 Thread David Fawcett
I second Andreas.  The Spatialite list is great.

You could also use the spatialite-gui:
https://www.gaia-gis.it/fossil/spatialite_gui/index

David.

On Thu, Mar 15, 2012 at 7:16 AM, Andreas Neumann a.neum...@carto.net wrote:
 Hi Walter,

 Unfortunately I can't help. But I suggest that you ask the SpatiaLite cracks
 at their mailinglist:
 http://groups.google.com/group/spatialite-users

 I am pretty sure they can help you better than we here.

 Good luck!

 Andreas


 On Thu, 15 Mar 2012 12:09:57 +, Walter Ludwick wrote:

 Following the consensus opinion of all those who kindly answered my
 inquiry (Re: QGIS Farm Application), i have installed Spatialite and
 managed to export all the data from a layer to a .SQLITE file, and
 then view it from several different SQLite browsers, which confirms
 integrity of data  database structure. This already is a constructive
 step forward (thanks to all those who helped, too numerous already to
 mention :).

 Moreover, i have managed to create a database in LibreOffice based
 upon that .sqlite file (after (re)learning more than i really wanted
 to know about ODBC drivers!), which displays all the data as it
 should. This is another good step forward, because -tho the business
 of my farm is predicated on geo-located resources (e.g. a paddock on
 the ground) having certain attributes that are best defined in QGIS
 (e.g. perimeter, area, etc.)- i will still be working with that data
 in spreadsheets on a much more dynamic basis.

 However: When i try to edit those .sqlite files from QGIS in another
 tool, i'm running into an error message that varies slightly,
 depending on the editor i use (anything but OO at this point: ODBC is
 too much pain, until i get these other mechanics worked out), but the
 message is essentially this (from SQLiteStudio):
      Error while updating cell value; no such function: RTreeAlign.

 Presuming that what i am trying to do is in fact possible*;  then i
 am left scratching my head as to why all these SQL tools are having
 this trouble, and where that problematic function is coming from. Does
 that error message suggest anything to you?

 * (Of course, if what i am trying to do with such round-trip editing
 is in fact not possible, i would sure appreciate if someone could let
 me know :)

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


 --
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland

 ___
 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


RE: [Qgis-user] Plugin to add a layer for each unique value in acolumn

2012-03-15 Thread Andreas Neumann

Ok - so it seems like a reporting / map production problem.

I am not sure if the EasyPrint or Atlas Plugin can help. EasyPrint 
allows to print each feature on a separate map. But it sounds like for 
your problem easy print would have to be extended to allow for maps per 
filter or using a group attribute.


I am not sure if there is an out of the box solution for your problem 
with QGIS.


For my own similar projects I set up a printing process using Apache 
FOP with XSL-FO and then use QGIS-server to print the map extents. I 
understand that this would be overkill/too much work to setup for you.


Andreas

On Thu, 15 Mar 2012 12:50:00 -, James Stott wrote:

Hi Nathan/Andreas,

I would happily use another method to deal with this but I haven’t
managed to come up with one.

My layer has site boundaries (20 of them) on it. I also have a layer
with buffers for my sites in it. I have a buffer per site (20 sites)
and these are from a PostGIS view as these alter whenever I change 
the

site boundary. I would like to then add each site boundary and each
buffer onto a map as a separate layer because:

1) I add the site boundary and the buffer to a group, then the users
can then turn each one on and off as needed when looking at the
project file in QGIS.

2) For map production (using composers) I have a composer per site. I
lock the layers in the composer map item and then jpg all my maps at
the end. To do this I need to have each buffer on a separate layer as
otherwise it would show the other sites as they are quite close
together.

The only way I can think to do this at the moment is to add each
layer 20 times, and then query it by each individual site.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas
Neumann
Sent: 15 March 2012 12:10
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Plugin to add a layer for each unique value
in acolumn

 Hi James,

 And why would you need that? Maybe there is another solution to your
 problem with just one or fewer layers.

 Andreas

 On Thu, 15 Mar 2012 11:08:04 -, James Stott wrote:
I would like to add a layer for each unique value of a text column 
in

a
table.

For example, if I have a column called type, and the values in it
were
tree, stone and plant I would like to add a layer for each type. So
in
this example I would have 3 layers.

I know there is a plugin called Shapefile Splitter that splits out 
to

a
shapefile for each unique value, but I just want it to split to
layers
in QGIS.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/




http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of
the addressee. It may contain privileged and confidential
information.
If you are not the person for whom it is intended, you must not 
copy,
distribute or take any action in reliance on it. If you have 
received
this electronic transmission in error please notify us immediately 
by

telephone, delete the transmission and destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to 
ensure

that this message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel:
+44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
http://www.npaconsult.co.uk/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of
the addressee. It may contain privileged and confidential 
information.

If you are not the person for whom it is intended, you must not copy,
distribute or take any action in reliance on it. If you have received
this electronic transmission in error please notify us immediately by
telephone, delete the transmission and destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel:
+44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
http://www.npaconsult.co.uk/
___
Qgis-user mailing list

RE: [Qgis-user] Plugin to add a layer for each unique value in acolumn

2012-03-15 Thread James Stott
I may have a look at seeing if I can use the shapefile splitter plugin and 
change it so it adds the layers as queries to the QGIS map canvas rather than 
saving out shapefiles.

How would you add a selection of an existing layer as a new layer to the map 
using python(without saving the selection to a file and then adding that files 
to the map)? The spatial query plugin seems to do this but I cannot find the 
code to see how it does it.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: 15 March 2012 14:33
To: qgis-user@lists.osgeo.org
Subject: RE: [Qgis-user] Plugin to add a layer for each unique value in acolumn

 Ok - so it seems like a reporting / map production problem.

 I am not sure if the EasyPrint or Atlas Plugin can help. EasyPrint
 allows to print each feature on a separate map. But it sounds like for
 your problem easy print would have to be extended to allow for maps per
 filter or using a group attribute.

 I am not sure if there is an out of the box solution for your problem
 with QGIS.

 For my own similar projects I set up a printing process using Apache
 FOP with XSL-FO and then use QGIS-server to print the map extents. I
 understand that this would be overkill/too much work to setup for you.

 Andreas

 On Thu, 15 Mar 2012 12:50:00 -, James Stott wrote:
 Hi Nathan/Andreas,

 I would happily use another method to deal with this but I haven’t
 managed to come up with one.

 My layer has site boundaries (20 of them) on it. I also have a layer
 with buffers for my sites in it. I have a buffer per site (20 sites)
 and these are from a PostGIS view as these alter whenever I change
 the
 site boundary. I would like to then add each site boundary and each
 buffer onto a map as a separate layer because:

 1) I add the site boundary and the buffer to a group, then the users
 can then turn each one on and off as needed when looking at the
 project file in QGIS.

 2) For map production (using composers) I have a composer per site. I
 lock the layers in the composer map item and then jpg all my maps at
 the end. To do this I need to have each buffer on a separate layer as
 otherwise it would show the other sites as they are quite close
 together.

 The only way I can think to do this at the moment is to add each
 layer 20 times, and then query it by each individual site.

 James


 James Stott BSc (Hons) MSc | Senior Professional
 Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
 T: 01225 445548 | M: -
 http://www.npaconsult.co.uk/

 -Original Message-
 From: qgis-user-boun...@lists.osgeo.org
 [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas
 Neumann
 Sent: 15 March 2012 12:10
 To: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] Plugin to add a layer for each unique value
 in acolumn

  Hi James,

  And why would you need that? Maybe there is another solution to your
  problem with just one or fewer layers.

  Andreas

  On Thu, 15 Mar 2012 11:08:04 -, James Stott wrote:
 I would like to add a layer for each unique value of a text column
 in
 a
 table.

 For example, if I have a column called type, and the values in it
 were
 tree, stone and plant I would like to add a layer for each type. So
 in
 this example I would have 3 layers.

 I know there is a plugin called Shapefile Splitter that splits out
 to
 a
 shapefile for each unique value, but I just want it to split to
 layers
 in QGIS.

 James


 James Stott BSc (Hons) MSc | Senior Professional
 Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
 T: 01225 445548 | M: -
 http://www.npaconsult.co.uk/




 http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
 http://www.npaconsult.co.uk/terms.asp
 This Electronic Transmission is intended only for the attention of
 the addressee. It may contain privileged and confidential
 information.
 If you are not the person for whom it is intended, you must not
 copy,
 distribute or take any action in reliance on it. If you have
 received
 this electronic transmission in error please notify us immediately
 by
 telephone, delete the transmission and destroy any hard copies.
 Nicholas Pearson Associates has used all reasonable efforts to
 ensure
 that this message and any attachments are free from viruses.
 Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel:
 +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
 http://www.npaconsult.co.uk/
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

 --
  --
  Andreas Neumann
  Böschacherstrasse 10A
  8624 Grüt (Gossau ZH)
  Switzerland
 ___
 Qgis-user mailing list
 

[Qgis-user] position locator

2012-03-15 Thread Giacomo Fontanelli
Hi everybody
I'm Giacomo
I'm looking in Qgis for a tool that allow me to insert the coordinate of a
point and then the software will place cursor on the right position.

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


Re: [Qgis-user] position locator

2012-03-15 Thread Zirneklitis

Zoom To Point plug-in?

Karlis

Giacomo Fontanelli wrote:

..
I'm looking in Qgis for a tool that allow me to insert the coordinate of
a point and then the software will place cursor on the right position.
..

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


Re: [Qgis-user] position locator

2012-03-15 Thread Stephane Goldstein
I used the coordinate capture plug-in, but i'm not finding it on the 
repositories anymore.

- Original Message -
From: Giacomo Fontanelli
Sent: 03/15/12 03:16 PM
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] position locator

 Hi everybody
 I'm Giacomo
 I'm looking in Qgis for a tool that allow me to insert the coordinate of a 
point and then the software will place cursor on the right position.

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


[Qgis-user] Mac OS X and Matplotlib - problem with pluguns

2012-03-15 Thread Carlos Grohmann
Hello all.

I am facing problems with plugins and AMtplotlib on Mac OS X Lion.
I do have matplotlib installed and use it for my apps and from the python
terminal,
but when I try to install/run a plugin that needs it, I get the error
saying that I don't have
it installed.

anywhere I can fix the search path or simething like that?

tks

Carlos



-- 
Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
---
http://www.igc.usp.br/pessoais/guano
http://www.igc.usp.br/openstereohttp://www.igc.usp.br/index.php?id=openstereo
http://lattes.cnpq.br/5846052449613692 (CV)
---
Twitter: @CarlosGrohmann
http://carlosgrohmann.tumblr.com/

Can’t stop the signal.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Combined Layer Opacity

2012-03-15 Thread Charlie Crowther
Hi,

I will try and explain my query as simplistically as possible.

Basically, I have some landscape data split into 5 aspects (e.g.
cultural heritage, visual and sensory etc) with each aspect being shown
as a separate layer. Within each aspect/layer there are areas (of
differing sizes) that have been scored based on set criteria. What I am
hoping to show is a map with all five aspects/layers which overlay one
another and in effect add the scores so that areas of high combined
scores are darker and lower scores lighter. Using a graduated styling
(of scores calculated) with a 50% transparency seemed to work but when I
changed the Layer order the colouring/opacity kept changing.

I think the following explains what I'm trying to
achieve...http://www.georeference.org/doc/layer_opacity.htm (see
paragraph headed 'Combined Layer Opacity').

A friend recommends using the MCE Lite plugin as he believes I am trying
to carry out a multi-criteria analysis or the raster calculator to
basically add different raster to each other to come up with a score to
reflect all of the combined aspects. 

Any suggestions welcomed. Would appreciate a step by step guide on any
suggestions.

Many thanks.

Charlie  



 

Charles Crowther  BSc (Hons) MSc
Environmentalist


Energyline Ltd, York House, 9 York Place, Knaresborough, North Yorkshire
HG5 0AD

Tel: 01423 799950

Fax: 01423 799958

This email and any attachments contain proprietary information some or
all of which may be legally privileged, commercially confidential or
protected by copyright.  It is for the intended recipient only.  If you
are not the addressee, any dissemination of this communication is
strictly prohibited.   Energyline is a limited company registered in
England and Wales, registration number 4362423.

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


Re: [Qgis-user] trouble with projections

2012-03-15 Thread Lee
Do you know what EPSG these files are supposed to be in as obtained? I
realize you would like to use them or reproject them to 3174, but what is
their native EPSG or CRS name?

--
all the best,
Lee Mueller
ISA Certified Arborist
Registered Forester #46043





On Thu, Mar 15, 2012 at 1:10 PM, Kirk Wythers kirk.wyth...@gmail.comwrote:

 I am having trouble with the crs of a particular project which contains 3
 shape file layers. I have two layers with display properly relative to each
 other, however, I am dubious that the crs is correct, since they are lat
 long yet the scale bar is displaying meters. I have another shape file,
 that when read into qgis, does not display properly at all.

 I have tried turning off on the fly projections, loading one layer, then
 turning on on the fly for the other layers. I have also tried manually
 setting the project crs with to one of the layers. I have also tried
 manually setting the crs of each layer to EPSG 3174 (Great Lakes Albers).
 None of these approaches seems to have any effect on the problem.

 Ideally I would like all files to be EPSG 3174 with units of degrees as
 Lat Long. Any suggestions on how I should be approaching this? Thanks in
 advance.

 Here is the crs metadata for each file:

 FILE 1:
 Storage type of this layer: ESRI Shapefile
  Source for this layer:
 /Users/kirkw/Desktop/latlong/meanNH4_2002.2006CLIP.shp
  Geometry type of the features in this layer: Polygon
  The number of features in this layer: 2093
  Editing capabilities of this layer: Add Features, Delete Features,
 Change Attribute Values, Add Attributes, Create Spatial Index, Fast Access
 to Features at ID, Change Geometries
  Extents:
  In layer spatial reference system units : xMin,yMin -95.917,43.0309 :
 xMax,yMax -83.2767,49.3746
  Layer Spatial Reference System:
  +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977
 +lon_0=-84.455955 +x_0=100 +y_0=100 +ellps=GRS80
 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

 FILE 2:
  Storage type of this layer: ESRI Shapefile
  Source for this layer:
 /Users/kirkw/Desktop/disturbance/reservelands/national_parks_boundaries_BTS_2006/national_parks_boundaries_BTS_2006.shp
  Geometry type of the features in this layer: Polygon
  The number of features in this layer: 555
  Editing capabilities of this layer: Add Features, Delete Features,
 Change Attribute Values, Add Attributes, Create Spatial Index, Fast Access
 to Features at ID, Change Geometries
  Extents:
  In layer spatial reference system units : xMin,yMin -167.535,18.4641 :
 xMax,yMax -66.1064,68.6554
  Layer Spatial Reference System:
  +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977
 +lon_0=-84.455955 +x_0=100 +y_0=100 +ellps=GRS80
 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

 FILE 3:
 Storage type of this layer: ESRI Shapefile
  Source for this layer:
 /Users/kirkw/Desktop/disturbance/reservelands/Wilderness_Areas/Wilderness_Areas_12.1.11.shp
  Geometry type of the features in this layer: Polygon
  The number of features in this layer: 794
  Editing capabilities of this layer: Add Features, Delete Features,
 Change Attribute Values, Add Attributes, Create Spatial Index, Fast Access
 to Features at ID, Change Geometries
  Extents:
  In layer spatial reference system units : xMin,yMin
 -19942895.95,2066644.91 : xMax,yMax 20012095.73,11022781.37
  Layer Spatial Reference System:
  +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977
 +lon_0=-84.455955 +x_0=100 +y_0=100 +ellps=GRS80
 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs



 ___
 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


Re: [Qgis-user] Spatialite data portability

2012-03-15 Thread Tyler Mitchell
 
  Error while updating cell value; no such function: RTreeAlign.
 


Sounds like the other SQLite apps you are using can't find the spatial (rtree) 
libraries.  So, effectively, you are trying to open a db with a different 
version of SQLite.
I'll be curious to know your solution to the problem :)

Tyler



-
Tyler Mitchell, Publisher
Locate Press, i...@locatepress.com
Open Source geo Books
http://www.locatepress.com





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


Re: [Qgis-user] trouble with projections

2012-03-15 Thread Kirk Wythers

On Mar 15, 2012, at 12:14 PM, Lee wrote:

 Do you know what EPSG these files are supposed to be in as obtained? I 
 realize you would like to use them or reproject them to 3174, but what is 
 their native EPSG or CRS name?
 

I got the shape files from a colleague and am not sure. Here are the text 
descriptions from the .prj files:

File 1
GEOGCS[GCS_WGS_1984,DATUM[D_WGS_1984,SPHEROID[WGS_1984,6378137.0,298.257223563]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.0174532925199433]]

File2
GEOGCS[GCS_North_American_1983,DATUM[D_North_American_1983,SPHEROID[GRS_1980,6378137.0,298.257222101]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.0174532925199433]]

File3
PROJCS[WGS_1984_Web_Mercator,GEOGCS[GCS_WGS_1984_Major_Auxiliary_Sphere,DATUM[D_WGS_1984_Major_Auxiliary_Sphere,SPHEROID[WGS_1984_Major_Auxiliary_Sphere,6378137.0,0.0]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.0174532925199433]],PROJECTION[Mercator],PARAMETER[False_Easting,0.0],PARAMETER[False_Northing,0.0],PARAMETER[Central_Meridian,0.0],PARAMETER[Standard_Parallel_1,0.0],UNIT[Meter,1.0]]


  
  
 
 
 
 On Thu, Mar 15, 2012 at 1:10 PM, Kirk Wythers kirk.wyth...@gmail.com wrote:
 I am having trouble with the crs of a particular project which contains 3 
 shape file layers. I have two layers with display properly relative to each 
 other, however, I am dubious that the crs is correct, since they are lat long 
 yet the scale bar is displaying meters. I have another shape file, that when 
 read into qgis, does not display properly at all. 
 
 I have tried turning off on the fly projections, loading one layer, then 
 turning on on the fly for the other layers. I have also tried manually 
 setting the project crs with to one of the layers. I have also tried manually 
 setting the crs of each layer to EPSG 3174 (Great Lakes Albers). None of 
 these approaches seems to have any effect on the problem. 
 
 Ideally I would like all files to be EPSG 3174 with units of degrees as Lat 
 Long. Any suggestions on how I should be approaching this? Thanks in advance.
 
 Here is the crs metadata for each file:
 
 FILE 1:
 Storage type of this layer: ESRI Shapefile
 Source for this layer: /Users/kirkw/Desktop/latlong/meanNH4_2002.2006CLIP.shp
 Geometry type of the features in this layer: Polygon
 The number of features in this layer: 2093
 Editing capabilities of this layer: Add Features, Delete Features, Change 
 Attribute Values, Add Attributes, Create Spatial Index, Fast Access to 
 Features at ID, Change Geometries
 Extents:
 In layer spatial reference system units : xMin,yMin -95.917,43.0309 : 
 xMax,yMax -83.2767,49.3746
 Layer Spatial Reference System:
 +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977 +lon_0=-84.455955 
 +x_0=100 +y_0=100 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m 
 +no_defs
 
 FILE 2:
 Storage type of this layer: ESRI Shapefile
 Source for this layer: 
 /Users/kirkw/Desktop/disturbance/reservelands/national_parks_boundaries_BTS_2006/national_parks_boundaries_BTS_2006.shp
 Geometry type of the features in this layer: Polygon
 The number of features in this layer: 555
 Editing capabilities of this layer: Add Features, Delete Features, Change 
 Attribute Values, Add Attributes, Create Spatial Index, Fast Access to 
 Features at ID, Change Geometries
 Extents:
 In layer spatial reference system units : xMin,yMin -167.535,18.4641 : 
 xMax,yMax -66.1064,68.6554
 Layer Spatial Reference System:
 +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977 +lon_0=-84.455955 
 +x_0=100 +y_0=100 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m 
 +no_defs
 
 FILE 3:
 Storage type of this layer: ESRI Shapefile
 Source for this layer: 
 /Users/kirkw/Desktop/disturbance/reservelands/Wilderness_Areas/Wilderness_Areas_12.1.11.shp
 Geometry type of the features in this layer: Polygon
 The number of features in this layer: 794
 Editing capabilities of this layer: Add Features, Delete Features, Change 
 Attribute Values, Add Attributes, Create Spatial Index, Fast Access to 
 Features at ID, Change Geometries
 Extents:
 In layer spatial reference system units : xMin,yMin -19942895.95,2066644.91 : 
 xMax,yMax 20012095.73,11022781.37
 Layer Spatial Reference System:
 +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977 +lon_0=-84.455955 
 +x_0=100 +y_0=100 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m 
 +no_defs
 
 
 
 ___
 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


Re: [Qgis-user] Clipping 60 shape layers

2012-03-15 Thread Zirneklitis

Use ogr2ogr:

ogr2ogr -f ESRI Shapefile -clipsrc mask.shp output.shp input.shp

Karlis

Bis Nulama wrote:

..
I have 60 shape layers and I would like to cut them on a poligon shape
(region boundary).
Is there a way to do this selecting all the 60 layers at once (and not
repeating the clip command 60 times)?
..

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


Re: [Qgis-user] position locator

2012-03-15 Thread Zirneklitis

It's C based plug-in and must be already in the system.

K.

Stephane Goldstein wrote:

I used the coordinate capture plug-in, but i'm not finding it on the
repositories anymore.
..

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


Re: [Qgis-user] Spatialite data portability

2012-03-15 Thread Noli Sicad
Most of  SQLite editors, if not could not read the spatial aspect of
the spatailite database file.

Use spatialite-gui, spatialite CLI, and QGIS spatialite plugins, if
you want to manage the spatial aspect of your spatialite database.

Noli

On 3/16/12, Tyler Mitchell i...@locatepress.com wrote:

  Error while updating cell value; no such function: RTreeAlign.



 Sounds like the other SQLite apps you are using can't find the spatial
 (rtree) libraries.  So, effectively, you are trying to open a db with a
 different version of SQLite.
 I'll be curious to know your solution to the problem :)

 Tyler



 -
 Tyler Mitchell, Publisher
 Locate Press, i...@locatepress.com
 Open Source geo Books
 http://www.locatepress.com






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


Re: [Qgis-user] Spatialite data portability

2012-03-15 Thread Noli Sicad
Most of  SQLite editors, if not all could not read...

Noli

On 3/16/12, Noli Sicad nsi...@gmail.com wrote:
 Most of  SQLite editors, if not could not read the spatial aspect of
 the spatailite database file.

 Use spatialite-gui, spatialite CLI, and QGIS spatialite plugins, if
 you want to manage the spatial aspect of your spatialite database.

 Noli

 On 3/16/12, Tyler Mitchell i...@locatepress.com wrote:

  Error while updating cell value; no such function: RTreeAlign.



 Sounds like the other SQLite apps you are using can't find the spatial
 (rtree) libraries.  So, effectively, you are trying to open a db with a
 different version of SQLite.
 I'll be curious to know your solution to the problem :)

 Tyler



 -
 Tyler Mitchell, Publisher
 Locate Press, i...@locatepress.com
 Open Source geo Books
 http://www.locatepress.com







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


[Qgis-user] Spatial adjustment

2012-03-15 Thread Robin Tolochko
Hi all,
I have two vector shapefiles - one has a projection and the other doesn't.
I want to georeference (spatially adjust?) the one without a projection to
the one that does. Any thoughts on how to do this?

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


Re: [Qgis-user] Saving layer CRS in GML file

2012-03-15 Thread Alex Mandel

On 02/28/2012 12:34 AM, Luís de Sousa wrote:

Dear all,

I'd like to save the CRS of a layer in its GML file. So far I've been
trying with the menu Layer  Set CRS of Layer(s); but this way no
changes are saved to the GML, not even if I save it as a new file. How
can this be done?

I'm using version 1.7.4, btw. Thank you and regards,

Luís


The menu item you're referring to only sets the CRS for the current 
session. In the Vector menu under data management there is a Define 
Projection tool but I think that might only save .prj files for use with 
shapefiles, no idea if it works with GML. If you can try it and report 
back that would be useful, as it might be a feature we should consider 
adding.


If you try right click on layer- Save as, then in the dialog pick the 
input and output CRS you want and save a new file I believe the new GML 
file will contain the CRS.


Thanks,
Alex
PS: Bumping an email thread with no new information is a good way to 
annoy subscribers, I suggest refraining from the practice in the future.


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


Re: [Qgis-user] Mac OS X and Matplotlib - problem with pluguns

2012-03-15 Thread William Kyngesburye
Which python do you have matplotlib installed for?  The system v2.6 or 2.7, or 
maybe the python.org python distribution?

And is it 64bit?

QGIS uses the system python, on Lion that's v2.7.  And QGIS is 64bit.  If it 
can't load a 64bit matplotlib from the system python path (a standard user 
install would be /Library/Python/2.7/site-packages) it won't work.

On Mar 15, 2012, at 11:07 AM, Carlos Grohmann wrote:

 Hello all.
 
 I am facing problems with plugins and AMtplotlib on Mac OS X Lion.
 I do have matplotlib installed and use it for my apps and from the python 
 terminal,
 but when I try to install/run a plugin that needs it, I get the error saying 
 that I don't have
 it installed.
 
 anywhere I can fix the search path or simething like that?
 
 tks
 
 Carlos
 
 
 
 -- 
 Prof. Carlos Henrique Grohmann - Geologist D.Sc.
 Institute of Geosciences - Univ. of São Paulo, Brazil
 ---
 http://www.igc.usp.br/pessoais/guano
 http://www.igc.usp.br/openstereo
 http://lattes.cnpq.br/5846052449613692 (CV)
 ---
 Twitter: @CarlosGrohmann
 http://carlosgrohmann.tumblr.com/
 
 Can’t stop the signal.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

Time is an illusion - lunchtime doubly so.

- Ford Prefect


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


Re: [Qgis-user] trouble with projections

2012-03-15 Thread Lee
Kirk,

I am by no means an expert, so take any advice I give with a grain of salt.

First, you need to determine if QGIS is setting the right CRS. If it's not,
setting the appropriate CRS may help you.

I was having issues getting QGIS to project Michigan georef correctly.
Apparently QGIS is unable to recognize a specific projection type of which
Michigan Georef is. I was given a work-around (props to Howard Yamaguchi)
which involves loading the file into uDIG (another open-source software)
and performing a reprojection in the CRS I need.

Therefore, it might be useful to import your shapefiles in uDIG. If they
project correctly there, you could perform the operation (with the correct
EPSG you want) that can be found here:
http://www.townshipgis.com/resources/problems-and-workarounds/converting-michigan-georef-to-state-plane-using-open-source-tools

Perhaps someone with a higher degree of familiarity can offer a more
elegant solution.

--
all the best,
Lee Mueller
ISA Certified Arborist
Registered Forester #46043





On Thu, Mar 15, 2012 at 1:58 PM, Kirk Wythers kirk.wyth...@gmail.comwrote:


 On Mar 15, 2012, at 12:14 PM, Lee wrote:

 Do you know what EPSG these files are supposed to be in as obtained? I
 realize you would like to use them or reproject them to 3174, but what is
 their native EPSG or CRS name?


 I got the shape files from a colleague and am not sure. Here are the text
 descriptions from the .prj files:

 File 1

 GEOGCS[GCS_WGS_1984,DATUM[D_WGS_1984,SPHEROID[WGS_1984,6378137.0,298.257223563]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.0174532925199433]]

 File2

 GEOGCS[GCS_North_American_1983,DATUM[D_North_American_1983,SPHEROID[GRS_1980,6378137.0,298.257222101]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.0174532925199433]]

 File3

 PROJCS[WGS_1984_Web_Mercator,GEOGCS[GCS_WGS_1984_Major_Auxiliary_Sphere,DATUM[D_WGS_1984_Major_Auxiliary_Sphere,SPHEROID[WGS_1984_Major_Auxiliary_Sphere,6378137.0,0.0]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.0174532925199433]],PROJECTION[Mercator],PARAMETER[False_Easting,0.0],PARAMETER[False_Northing,0.0],PARAMETER[Central_Meridian,0.0],PARAMETER[Standard_Parallel_1,0.0],UNIT[Meter,1.0]]







 On Thu, Mar 15, 2012 at 1:10 PM, Kirk Wythers kirk.wyth...@gmail.comwrote:

 I am having trouble with the crs of a particular project which contains 3
 shape file layers. I have two layers with display properly relative to each
 other, however, I am dubious that the crs is correct, since they are lat
 long yet the scale bar is displaying meters. I have another shape file,
 that when read into qgis, does not display properly at all.

 I have tried turning off on the fly projections, loading one layer,
 then turning on on the fly for the other layers. I have also tried
 manually setting the project crs with to one of the layers. I have also
 tried manually setting the crs of each layer to EPSG 3174 (Great Lakes
 Albers). None of these approaches seems to have any effect on the problem.

 Ideally I would like all files to be EPSG 3174 with units of degrees as
 Lat Long. Any suggestions on how I should be approaching this? Thanks in
 advance.

 Here is the crs metadata for each file:

 FILE 1:
  Storage type of this layer: ESRI Shapefile
  Source for this layer:
 /Users/kirkw/Desktop/latlong/meanNH4_2002.2006CLIP.shp
  Geometry type of the features in this layer: Polygon
  The number of features in this layer: 2093
  Editing capabilities of this layer: Add Features, Delete Features,
 Change Attribute Values, Add Attributes, Create Spatial Index, Fast Access
 to Features at ID, Change Geometries
  Extents:
  In layer spatial reference system units : xMin,yMin -95.917,43.0309 :
 xMax,yMax -83.2767,49.3746
  Layer Spatial Reference System:
  +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977
 +lon_0=-84.455955 +x_0=100 +y_0=100 +ellps=GRS80
 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

 FILE 2:
  Storage type of this layer: ESRI Shapefile
  Source for this layer:
 /Users/kirkw/Desktop/disturbance/reservelands/national_parks_boundaries_BTS_2006/national_parks_boundaries_BTS_2006.shp
  Geometry type of the features in this layer: Polygon
  The number of features in this layer: 555
  Editing capabilities of this layer: Add Features, Delete Features,
 Change Attribute Values, Add Attributes, Create Spatial Index, Fast Access
 to Features at ID, Change Geometries
  Extents:
  In layer spatial reference system units : xMin,yMin -167.535,18.4641 :
 xMax,yMax -66.1064,68.6554
  Layer Spatial Reference System:
  +proj=aea +lat_1=42.122774 +lat_2=49.01518 +lat_0=45.568977
 +lon_0=-84.455955 +x_0=100 +y_0=100 +ellps=GRS80
 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

 FILE 3:
  Storage type of this layer: ESRI Shapefile
  Source for this layer:
 /Users/kirkw/Desktop/disturbance/reservelands/Wilderness_Areas/Wilderness_Areas_12.1.11.shp
  Geometry type of the features in this layer: Polygon
  The number of features in this layer: 794
  Editing capabilities of this layer: Add