Re: [Qgis-user] QGis noobie needs help with importing Geotaging photos

2012-11-17 Thread hugh
On Sat, 17 Nov 2012 12:17:00 +0200
Micha Silver  wrote:

> On 11/17/2012 04:08 AM, h wrote:Hi,
> I'm a bit of a noobie to QGis, so please be gentle when explaining the
> obvious!!
> 
> I am wanting to display geotagged photos in QGis (1.8.0-Lisboa running
> on Open Suse)
> I have found the web site:
>   http://hub.qgis.org/projects/geotagphotos/wiki
> but cannot get the plugin to appear in the plugins / Fetch Python
> Plugins dialog box.
> 
> What is the plugin called?
> What repository is it in?
> Is it still available from a repository?
> 
> Can someone please step me through the process of installing
> software / plugins to import geotagged photos into QGis?
> 
> The plugin was called photo2shape. I also didn't have much success
> with it, so instead I do the following, manually: I use exiftool to
> grab the required tags from the photos. At least GPSLatitude,
> GPSLongitude, and Filename. I run this in a loop to create a comma
> separated text file with each photo represented by one line.
> 
> Now I use the Delimited Text plugin to create a point shapefile of
> the photo locations. In the attribute table I will have the actual
> filename of each photo.
> 
> Next define an Action on this new shapefile (Layer properties
> windows->Action tab) which will open the photo in your image viewer.
> You can see detailed instructions on setting up an action in the QGIS
> documentation:
> http://docs.qgis.org/html/en/user_manual/working_with_vector/vector_properties.html#actions-tab
> The action will be composed of the viewer binary + full path to the
> photo.
> 
> After getting that setup, a right click on each point will bring the
> info windows with the option to run the action.
> 
> HTH,
> Micha

Hi Micha,
Thanks for sharing how you do this.
It all seems clear to me.  I will give it go.
Thanks again,
H


> 
> (I use the exif for my own qt applications, so am reasonable
> familiar with it.  It is the qgis python bit that eludes me!)
> 
> With thanks,
> H
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> This mail was received via Mail-SeCure System.
> 
> 
> 
> 

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


Re: [Qgis-user] entering distance and bearing for polygon or polyline

2012-11-17 Thread Ramon Andiñach
Would either the NumericalDigitize or qgsAzimuth plugins be helpful?

-ramon.

On 18/11/2012, at 4:54, "Jake Maier"  wrote:

> Can someone please help?
> When creating a new polygon or polyline I want to enter numerical values for 
> distance and bearing instead of pointing to the location of vertices. How can 
> I do this
> I thought there was a popup window where you could enter the values but I 
> can’t find it and googling it I seem to lack the right search terms.
> Thanks for any hint.
> Jake
> ___
> 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] QGIS API class Point3D

2012-11-17 Thread Jürgen E . Fischer
Hi Etienne,

On Sat, 17. Nov 2012 at 20:02:55 -0200, Etienne Tourigny wrote:
> talking about the python api - it would be great to have some doc on what is
> exposed in the python bindings, similar to the qgis api doc.

Not exposed methods should have a note the api doc - at least I added a bunch
of notes when I restructured the sip files to make the manual sync easier.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


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


Re: [Qgis-user] entering distance and bearing for polygon or polyline

2012-11-17 Thread Bernd Vogelgesang

welcome to the show ;)

actually i had a similar problem a few days ago, and i can tell you, it  
was no fun.

I didn't find any native solution.

My use case (though i do not know yours):
I had to draw new transect lines, i knew the starting coordinate, the  
distance (50m always) and the bearing.
In addition to that, I had to draw 2*2 m polygons, each 10 meters of this  
line, starting at 5 m.


So, there is the quite useful "improved polygon capturing" plugin which  
also handles polylines.
With this, you can set a fixed length for the drawing of a line segment or  
polygon side.


BUT, unfortunately it won't show the current bearing while drawing, nor  
can you set it (I already humbly asked the creator to maybe add this  
feature if possible).


So, option #1 is to take a transparent triangle like you use in school,  
hold it to the screen and draw your lines (ughh).

Option #2 is a lot of work, but more accurate:

I entered my starting coordinates (x,y), bearing (alpha) and distance in  
excel and used sin(or cos)(radians(alpha))*distance + x(or y) (sorry, I do  
mix up sin and cos all the time, so better check yourself) to retrieve my  
end coordinates.

Then i copied the calculated coordinates in separate rows like
x,y
x1,y1
x2,y2
x1,y1
x2,y2
etc.

Then, i added an id column, to indicate which point pairs should form the  
line

id,x,y
1,x1,y1
1,x2,y2
2,x1,y1
2,x2,y2
etc.

Then, I imported this table as csv with the help of the mmqgis plugin ->  
Transfer -> Geometry Import from CSV File


Lines were done.

Polygons were designed this way:
Transect Lines: Vector -> Geometry Tools -> Densify Geometry -> Factor 9 =  
a new vertex every 5 meters


With "Cad Tools" plugin, i created a parallel line to my transect line,  
distance 2 m.


Densify Geometry with factor 24 to get 2m-segments on this line.

Snapping options the transect layer set to segment and vertex and for the  
Cad Line to vertex.
Starting to draw the polygon with the "improved polygon capturing" with 2  
meters at 5m-vertex on the transect, snapping to the segment, then  
snapping to the Cad Line vertex, right click on next vertex to finish the  
polygon.

and so on and so on and so on ...

Maybe there is an easier way for that, but i couldn't find it.

I hope sth of this may help you to find an idea for your problem.

Greetz
Bernd



Am 17.11.2012, 21:54 Uhr, schrieb Jake Maier :


Can someone please help?

When creating a new polygon or polyline I want to enter numerical values  
for

distance and bearing instead of pointing to the location of vertices. How
can I do this

I thought there was a popup window where you could enter the values but I
can't find it and googling it I seem to lack the right search terms.

Thanks for any hint.

Jake




--
Bernd Vogelgesang * Siedlerstrasse 2 * 91083 Baiersdorf * +49-9133-825374
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS API class Point3D

2012-11-17 Thread Etienne Tourigny
talking about the python api - it would be great to have some doc on
what is exposed in the python bindings, similar to the qgis api doc.

Is this easy to do with .sip files and doxygen?

Etienne

On Sat, Nov 17, 2012 at 7:55 PM, G. Allegri  wrote:
> AFAIK Point3D isn't exposed to the Python API, because it's used internally
> by the analysis module.
>
> giovanni
>
> Sent from Nexus
>
> Il giorno 17/nov/2012 10:18, "Mohammad Omayr"  ha
> scritto:
>>
>> Hi All!
>>
>> I'm new to Qgis python console and having a problem in instantiating class
>> Point3D which is in Qgis API classes.
>> When I write, lets say, p = Point3D(34, 23, 56) in console I get an error
>> "NameError: name 'Point3D' is not defined."
>>
>> what do I need to do? Help Please!
>> thanks in advance
>>
>> ___
>> 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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS API class Point3D

2012-11-17 Thread G. Allegri
AFAIK Point3D isn't exposed to the Python API, because it's used internally
by the analysis module.

giovanni

Sent from Nexus
Il giorno 17/nov/2012 10:18, "Mohammad Omayr"  ha
scritto:

> Hi All!
>
> I'm new to Qgis python console and having a problem in instantiating class
> Point3D which is in Qgis API classes.
> When I write, lets say, p = Point3D(34, 23, 56) in console I get an error
> "NameError: name 'Point3D' is not defined."
>
> what do I need to do? Help Please!
> thanks in advance
>
> ___
> 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] entering distance and bearing for polygon or polyline

2012-11-17 Thread Jake Maier
Can someone please help? 

When creating a new polygon or polyline I want to enter numerical values for
distance and bearing instead of pointing to the location of vertices. How
can I do this

I thought there was a popup window where you could enter the values but I
can't find it and googling it I seem to lack the right search terms.

Thanks for any hint.

Jake

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


Re: [Qgis-user] qgis and Large Format Print

2012-11-17 Thread Paolo Cavallini
Il 16/11/2012 17:04, Marco Hugentobler ha scritto:
> I just printed a tiff raster layer to A0 pdf with 600 dpi and with a 32bit 1.8
> qgis.exe on windows. Works without problems.
> Could it be people who encountered problems are using 1.7.4 or older (there 
> was a
> memory leak fixed before 1.8) / are printing 'as raster' / exporting to image?

Hi all.
I think the first step is to make the problem replicable: could anyone share a
project and data that consistently make QGIS crash on 32 bit?
Thanks.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Where is R in QGIS Sextante

2012-11-17 Thread Paolo Cavallini
Il 16/11/2012 18:41, Manuel Spínola ha scritto:
> Thank you very much Werner.
> 
> I wrote a very simple script to do a kernel (through adehabitatHR), how can I

Hi Manuel,
would you mind sharing it?
Thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Zonal statistics behaviour

2012-11-17 Thread jasperfs
Hi Marco,

 

Thanks for such a quick reply.  I can certainly send along a copy of the raster 
– it is a public source – but let me get approval from management before 
sending a vector layer to you (not a public source).

 

I’ll hope to hear back from them tomorrow and perhaps send both layers 
together; if not, I’ll aim for Monday to get you some samples of some sort.  
I’ll also work on getting an updated build to try (hadn’t thought of that yet – 
good to know there are improvements in the tool already).

 

Thanks for your help!


Jason

 

From: Marco Hugentobler-4 [via OSGeo.org] 
[mailto:ml-node+s1560n5017057...@n6.nabble.com] 
Sent: Friday, November 16, 2012 11:39 PM
To: jasperfs
Subject: Re: Zonal statistics behaviour

 

Hi Jason 

Can you share sample data (or send it to me privately if it is not public)? 

>(in v1.8.0) 

I've recently fixed a bug in the zonal statistics code, but I think it 
was something different (out of raster bounds problem). Also, the 
performance for large data set has improved considerably with that 
commit, so you might try a recent nightly build. 

Regards, 
Marco 

On 17.11.2012 03:20, jasperfs wrote: 


> Hi there, (first-time poster here - please excuse me if this is the wrong 
> place for this topic) 
> 
> Your posting might be an indirect confirmation of (similar?) problems we 
> have discovered in the past few days - our first experience using Zonal 
> Statistics tool (in v1.8.0). 
> 
> Our goal is to compute mean areal values over polygons from a raster layer. 
> In this first attempt with the tool, the pixels of our raster layer are 
> larger than the polygon areas (e.g, 5-10 polygons fit within a pixel).  When 
> spot checking the mean output values, most of them *seem* to be correct 
> except for occasional erroneous values that are easy to spot - that is, 
> polygons that fall within in an area of all-zero pixels but still report a 
> non-zero mean value (means such as 0.02, 0.3, 2.19, etc.).  It is not easy 
> to detect if similar errors are occurring in the non-zero areas as well. 
> 
> There is no obvious pattern to the occurrence based our initial experiments 
> except that they seem to occur primarily within basins that fall on or very 
> near the corner-intersection of four pixels.  (In case that helps someone's 
> diagnostics.) 
> 
> Because of these errors, we cannot use the tool for our intended purpose 
> (compute mean areal precipitation over subcatchments) - but it would be a 
> **HUGE** benefit to us, both in our training and operational purposes to 
> incorporate additional forecasting data sets this way; it is such a simple 
> solution, if only it produced correct results. 
> 
> We very much would like to see this tool work. 
> 
> Anyway... this report might be another "hit" to help identify the problem 
> (if there actually is one) and get it fixed.  (please, please) 
> 
> Thanks for your post, it helps to find some sort of confirmation to the 
> issue. 
> 
> Best regards, 
> 
> Jason 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Zonal-statistics-behaviour-tp4993381p5017039.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com. 
> ___ 
> Qgis-user mailing list 
> [hidden email] 
> http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Dr. Marco Hugentobler 
Sourcepole -  Linux & Open Source Solutions 
Weberstrasse 5, CH-8004 Zürich, Switzerland 
[hidden email] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee 

___ 
Qgis-user mailing list 
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/qgis-user



  _  

If you reply to this email, your message will be added to the discussion below:

http://osgeo-org.1560.n6.nabble.com/Zonal-statistics-behaviour-tp4993381p5017057.html
 

To unsubscribe from Zonal statistics behaviour, click here 

 .
 

 NAML 





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Zonal-statistics-behaviour-tp4993381p5017075.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] QGis noobie needs help with importing Geotaging photos

2012-11-17 Thread Johan Nilsson
photo2shape are a name for a plugin.

I have had success with photo2shape. The photo appears as point-shapes and
with attribute:
filepath, filename, longitude, latitude, altitude, north (empty), direction
(empty), ps_dat, img_date.

I have not find how I will activate and let an application open the photo
if i click on it, but with the filepath ans filename it should not be a
problem, I think.

Cheers


2012/11/17 Micha Silver 

>  On 11/17/2012 04:08 AM, h wrote:
>
> Hi,
> I'm a bit of a noobie to QGis, so please be gentle when explaining the
> obvious!!
>
> I am wanting to display geotagged photos in QGis (1.8.0-Lisboa running
> on Open Suse)
> I have found the web site:
>   http://hub.qgis.org/projects/geotagphotos/wiki
> but cannot get the plugin to appear in the plugins / Fetch Python
> Plugins dialog box.
>
> What is the plugin called?
> What repository is it in?
> Is it still available from a repository?
>
> Can someone please step me through the process of installing software /
> plugins to import geotagged photos into QGis?
>
>
> The plugin was called photo2shape. I also didn't have much success with
> it, so instead I do the following, manually:
> I use exiftool to grab the required tags from the photos. At least
> GPSLatitude, GPSLongitude, and Filename. I run this in a loop to create a
> comma separated text file with each photo represented by one line.
>
> Now I use the Delimited Text plugin to create a point shapefile of the
> photo locations. In the attribute table I will have the actual filename of
> each photo.
>
> Next define an Action on this new shapefile (Layer properties
> windows->Action tab) which will open the photo in your image viewer. You
> can see detailed instructions on setting up an action in the QGIS
> documentation:
>
> http://docs.qgis.org/html/en/user_manual/working_with_vector/vector_properties.html#actions-tab
> The action will be composed of the viewer binary + full path to the photo.
>
> After getting that setup, a right click on each point will bring the info
> windows with the option to run the action.
>
> HTH,
> Micha
>
>
> (I use the exif for my own qt applications, so am reasonable
> familiar with it.  It is the qgis python bit that eludes me!)
>
> With thanks,
> H
>
> ___
> Qgis-user mailing 
> listQgis-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> This mail was received via Mail-SeCure System.
>
>
>
>
>
> --
> Micha Silver
> GIS Consultant, Arava Development Co.http://www.surfaces.co.il
>
>
> ___
> 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] QGis noobie needs help with importing Geotaging photos

2012-11-17 Thread Micha Silver

  
  
On 11/17/2012 04:08 AM, h wrote:

  Hi,
I'm a bit of a noobie to QGis, so please be gentle when explaining the
obvious!!

I am wanting to display geotagged photos in QGis (1.8.0-Lisboa running
on Open Suse)
I have found the web site:
	http://hub.qgis.org/projects/geotagphotos/wiki
but cannot get the plugin to appear in the plugins / Fetch Python
Plugins dialog box.

What is the plugin called?
What repository is it in?
Is it still available from a repository?

Can someone please step me through the process of installing software /
plugins to import geotagged photos into QGis?



The plugin was called photo2shape. I also didn't have much success
with it, so instead I do the following, manually:
I use exiftool to grab the required tags from the photos. At least
GPSLatitude, GPSLongitude, and Filename. I run this in a loop to
create a comma separated text file with each photo represented by
one line.

Now I use the Delimited Text plugin to create a point shapefile of
the photo locations. In the attribute table I will have the actual
filename of each photo.

Next define an Action on this new shapefile (Layer properties
windows->Action tab) which will open the photo in your image
viewer. You can see detailed instructions on setting up an action in
the QGIS documentation:
http://docs.qgis.org/html/en/user_manual/working_with_vector/vector_properties.html#actions-tab
The action will be composed of the viewer binary + full path to the
photo.

After getting that setup, a right click on each point will bring the
info windows with the option to run the action.

HTH,
Micha 

  
(I use the exif for my own qt applications, so am reasonable
familiar with it.  It is the qgis python bit that eludes me!)

With thanks,
H

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

This mail was received via Mail-SeCure System.






-- 
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il
  

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


[Qgis-user] QGIS API class Point3D

2012-11-17 Thread Mohammad Omayr
Hi All!

I'm new to Qgis python console and having a problem in instantiating class
Point3D which is in Qgis API classes.
When I write, lets say, p = Point3D(34, 23, 56) in console I get an error
"NameError: name 'Point3D' is not defined."

what do I need to do? Help Please!
thanks in advance
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS doesn't start anymore: undefined symbol: pj_ctx_alloc

2012-11-17 Thread Luís de Sousa
Dear all,

I contacted Alan Boudreault and he identified this as an issue with the
version of proj. I should be getting 4.8 from the repo, but I'm getting 4.7.
I opened a thread at ubuntugis for this issue and will close it here for
now:

http://thread.gmane.org/gmane.comp.gis.osgeo.ubuntu/384

Thank you all for the help,

Luís



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QGIS-doesn-t-start-anymore-undefined-symbol-pj-ctx-alloc-tp5016501p5017060.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