Re: [Qgis-user] PostGIS Query - DB Manager Not Recognizing Geom Column

2017-03-27 Thread Bernhard Ströbl

Hi,
you need to explicitly state the geometry type and SRS in you view 
definition like this:

CREATE OR REPLACE VIEW test.testbuff as
SELECT gid, area_id,
st_buffer(testshape.geom, 100)::geometry(Polygon,your_srs_code)
as geom2 FROM test.testshape where testshape.area_id=100;

could be Polygon or Multipolygon depending on the input, your_srs_code 
should be the same as testshape's


QGIS can analyze geometry columns and detect the type (and probably 
SRS), however only relations with geometry fields defined in this way 
are listed in geometry_columns.


Bernhard

Am 27.03.2017 um 23:42 schrieb Michael Treglia:

Hi All,

I'm running a PostGIS query to create a view, buffering a polygon -
viewing the result in DB Manager, the associated icon, rather than being
polygons, is a question mark, and in the info tab for the layer, I see
the warning ' There is no entry in geometry_columns!'

That said, the layer actually displays fine in QGIS, and in the list of
fields, the appropriate column is labeled as Type 'geometry'.

Thus, is this really a problem? And if so, any easy fixes? A sample
query is below:

CREATE OR REPLACE VIEW test.testbuff as
SELECT gid, area_id, st_buffer(testshape.geom, 100)
as geom2 FROM test.testshape where testshape.area_id=100;


Thanks for any suggestions!
Mike


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user





__ Information from ESET Mail Security, version of virus signature 
database 15160 (20170328) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS custom feature forms with python logic - passed in feature

2017-03-27 Thread Martin Bain
Hi Jen,
Its funny, I happened to be playing around with the same sample code from 
NathanW when I saw your post.  I meant to reply earlier but got distracted.  I 
was able to change an attribute of the passed in feature with the modified 
sample below.  (In my case I was curious about dynamically adding controls to 
the form at runtime and getting them to display attribute data.  The upshot of 
that was the data in the dynamically added control was not automatically saved 
(which is understandable), I needed to add code in the validate() routine to 
write the data.


from PyQt4.QtCore import *
from PyQt4.QtGui import *

nameField = None
myDialog = None

def formOpen(dialog,layerid,featureid):
global myDialog
myDialog = dialog
global nameField

#store a reference to the selected layer
global lyr
lyr=layerid

#store a reference to the selected feature
global fid
fid=featureid

buttonBox = dialog.findChild(QDialogButtonBox,"buttonBox")

# Disconnect the signal that QGIS has wired up for the dialog to the button 
box.
buttonBox.accepted.disconnect(myDialog.accept)

# Wire up our own signals.
buttonBox.accepted.connect(validate)
buttonBox.rejected.connect(myDialog.reject)

#dynamically add a control to the form at runtime and populate with the 
value of the "Road_Name" field
nameField = QtGui.QLineEdit(myDialog)
nameField.setObjectName("Road_Name")
myDialog.layout().addWidget(nameField)
nameField.show()
nameField.setText(featureid["Road_Name"])

def validate():
  # Make sure that the name field isn't empty.
if not len(nameField.text()) > 0:
msgBox = QMessageBox()
msgBox.setText("Name field can not be null.")
msgBox.exec_()
else:
# Return the form as accpeted to QGIS.
myDialog.accept()

#update the value of the "Road_Name" field for the selected feature
fid["Road_Name"]=nameField.text()
lyr.updateFeature(fid)

#Call commit to save the changes
#layer.commitChanges()



From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Jen 
Swiger
Sent: Thursday, 16 March 2017 8:00 AM
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] QGIS custom feature forms with python logic - passed in 
feature

Hello,
I hope I am asking this question in the right email list. I may ask in the qgis 
stack exchange as well.
I am working off this example 
https://nathanw.net/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/
 and adjusting to meet my needs.
When the formOpen function is called, the dialog, layer, and feature is passed 
in.
I want to edit the feature that is passed in but code like
mylayer.changeAttribute(myfeature.id(), 10, 1)
doesn't seem to be working because myfeature.id() returns 
0.
What code should I be using instead to edit a field in the feature?
Thanks!
Jen

This email is intended for the named recipient only.  The information it 
contains may be confidential.  If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it.  If you have received 
this email in error, please contact the sender immediately and delete the 
message.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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

2017-03-27 Thread Andreas Plesch
Hi Martin,

thanks for sharing. As it happens I submitted a (modest) grant proposal for
X3D Processing based development. I think the approaches are very
complementary and should not distract from each other.
Perhaps there are still opportunities to combine efforts in some way ?

Andreas




Date: Mon, 27 Mar 2017 17:21:11 +0800
From: Martin Dobias 
To: Paolo Cavallini 
Cc: qgis-user ,  qgis-developer

Subject: Re: [Qgis-user] [Qgis-developer]  QGIS X3D processing
Message-ID:

Content-Type: text/plain; charset=UTF-8

Hi Paolo

On Mon, Mar 27, 2017 at 2:15 PM, Paolo Cavallini 
wrote:
>>
>> What would be a good place to learn more about QGIS3 plans to use native
>> Qt5 3d facilities ?
>
> Hi Andreas,
> I do not know much. You can probably have a look to the work of Minoru
> Akagi, who started some early development on this.
> However, I think some core devs may be interested in joining the
discussion.

I have been playing with Qt 3D module recently and submitted a grant
proposal for native 3D support in QGIS. Here is my repo with a simple
3D rendering of a DEM with aerial imagery:

https://github.com/wonder-sk/qgis3d

Cheers
Martin



--
**
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] PostGIS Query - DB Manager Not Recognizing Geom Column

2017-03-27 Thread Michael Treglia
Hi All,

I'm running a PostGIS query to create a view, buffering a polygon - viewing
the result in DB Manager, the associated icon, rather than being polygons,
is a question mark, and in the info tab for the layer, I see the warning '
There is no entry in geometry_columns!'

That said, the layer actually displays fine in QGIS, and in the list of
fields, the appropriate column is labeled as Type 'geometry'.

Thus, is this really a problem? And if so, any easy fixes? A sample query
is below:

CREATE OR REPLACE VIEW test.testbuff as
SELECT gid, area_id, st_buffer(testshape.geom, 100)
as geom2 FROM test.testshape where testshape.area_id=100;


Thanks for any suggestions!
Mike
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Bug reporting - data confidentiality?

2017-03-27 Thread Nathan Woodrow
Hey Jonathan,

The QGIS bug tracker is a public resoure.  Anything that is posted there
anyone can see, download, and use..  If you need to keep data confidential
I would not post it it in ticket itself.

If a devleoper shows interests in your ticket they may ask you for the data
priviatly if you need to keep it confidential.

There are however vervioius data scrumbbing methods you can use to fudge
the data depending on what you are keeping confidential.

Rehards,
Nathan

On Tue, Mar 28, 2017 at 6:22 AM, Jonathan Webb 
wrote:

> Hi,
> I'm in the process of filing a bug report.  Before I can ask my client if
> I can submit the accompanying data, I need some confirmation of
> confidentiality - I have searched through various channels but not found
> anything.
>
> Whilst I assume confidentiality, I can't really just make that assumption
> with someone else's data.
>
> Can anyone point me to anything I could pass on to my client?
> Thanks.
> Jonathan
>
> --
> Jonathan Webb
> Freelance GIS Specialist
> 07941 921905
> http://www.jwebbgis.co.uk
> http://uk.linkedin.com/in/jwebbgis
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.18.5 got deinstalled after updating ubuntugis dependencies

2017-03-27 Thread Claas Leiner

Hi,

gdal is updatet from 2.1.2 to 2.1.3
qgis 2.18.5 Depends on: gdal 2.1.2

http://hub.qgis.org/issues/16384

Claas
--
Am 27.03.2017 um 22:27 schrieb Bernd Vogelgesang:

Hi again,

had a running 2.18.4.
Then an update to 2.18.5 came in.
A day later, some dependencies got updated, but obviously QGIS itself
got deinstalled and is conflicting with some dependencies.
Shame on me that I was again so careless to just run the updates.

Anyone knows what is going on and how to revert to a working QGIS with
ubuntugis features on Linux Mint/Ubuntu xenial

Cheers
Bernd



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.18.5 got deinstalled after updating ubuntugis dependencies

2017-03-27 Thread Angelos Tzotsos

Hi Bernd,

Yesterday, UbuntuGIS got a GDAL 2.1.3 update, so QGIS need to be rebuilt 
against that version.


Cheers,
Angelos

On 03/27/2017 11:27 PM, Bernd Vogelgesang wrote:

Hi again,

had a running 2.18.4.
Then an update to 2.18.5 came in.
A day later, some dependencies got updated, but obviously QGIS itself 
got deinstalled and is conflicting with some dependencies.

Shame on me that I was again so careless to just run the updates.

Anyone knows what is going on and how to revert to a working QGIS with 
ubuntugis features on Linux Mint/Ubuntu xenial


Cheers
Bernd




--
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Fwd: [GRASS-user] OSGeo's GSoC 2017 - only 7 days left for student applications - last chance for proactive students!

2017-03-27 Thread Werner Macho
Dear OSGeo community, students,


* according to the Google Summer of Code 2017 Timeline [1]:

 April 3 16:00 UTC  Student application deadline

there will be only 7 days left for student applications.


* @Students:

Browse the ideas page at [2] and carefully read the recommendation for
students, particularly the application instructions at [3].


* Quoting verbatim from Google Admins:

"Historically, the students with the best proposals reach out to the
orgs early to receive
feedback before submitting their final proposal."

So don't wait until it is to late to give you feedback, but instead
join the communication
channels of your chosen software community and discuss over the proposal.


*Please forward this email to your software communities*

Happy coding!

The OSGeo GSoC Team


[1] https://developers.google.com/open-source/gsoc/timeline
[2] https://wiki.osgeo.org/wiki/Google_Summer_of_Code_2017_Ideas
[3] 
https://wiki.osgeo.org/wiki/Google_Summer_of_Code_Recommendations_for_Students#Application_instructions
___
grass-user mailing list
grass-u...@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS 2.18.5 got deinstalled after updating ubuntugis dependencies

2017-03-27 Thread Bernd Vogelgesang

Hi again,

had a running 2.18.4.
Then an update to 2.18.5 came in.
A day later, some dependencies got updated, but obviously QGIS itself got  
deinstalled and is conflicting with some dependencies.

Shame on me that I was again so careless to just run the updates.

Anyone knows what is going on and how to revert to a working QGIS with  
ubuntugis features on Linux Mint/Ubuntu xenial


Cheers
Bernd

--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Bug reporting - data confidentiality?

2017-03-27 Thread Jonathan Webb

Hi,
I'm in the process of filing a bug report.  Before I can ask my client 
if I can submit the accompanying data, I need some confirmation of 
confidentiality - I have searched through various channels but not found 
anything.


Whilst I assume confidentiality, I can't really just make that 
assumption with someone else's data.


Can anyone point me to anything I could pass on to my client?
Thanks.
Jonathan

--
Jonathan Webb
Freelance GIS Specialist
07941 921905
http://www.jwebbgis.co.uk
http://uk.linkedin.com/in/jwebbgis
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Why QGIS change the SRS?

2017-03-27 Thread jratike80
Goyo wrote
> No, those are WKT and they include some data which is different (name
> and EPSG code). The proj4 strings are identical:
> 
> http://spatialreference.org/ref/epsg/etrs89-etrs-tm30/proj4/
> http://spatialreference.org/ref/epsg/etrs89-utm-zone-30n/proj4/

The real difference between these projections is in the order of coordinate
axis and it can be queried from the EPSG database:

This one is Northing-Easting system
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::3042

But this one is Easting-Northing system
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::25830

Mixing those two may cause problems for example when data are exported into
GML format.

-Jukka Rahkonen-





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Why-QGIS-change-the-SRS-tp5308203p5314438.html
Sent from the QGIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS airlines: connecting airports with lines ?

2017-03-27 Thread C Hamilton
The "XY to Line" tool in the "Shape Tools" plugin can draw the lines. Just
prepare your data so that there are starting and ending latitudes and
longitudes and "XY to Line" will do the rest. It draws the shortest path
between the two points which gives the curved appearance.

Good luck,

Calvin

On Mon, Mar 27, 2017 at 1:25 AM, Alex Mandel 
wrote:

> It's not super hard.
> 1. Download the data
> 2. Import it to GIS (probably comes in text file, so some conversion
> will be needed.)
> 3. Densify the lines, or create lines between the pairs of airports.
> Point 2 Lines plugin should help. You need to make sure to add nodes
> along the way (Densify), otherwise the lines won't curve nicely. There's
> a little trial and error to get them dense enough without making to many
> nodes.
>
> I used this data set for a cartography class 5+ years ago, it's a fun
> one. You can see a couple of examples here
> http://geography.ucdavis.edu/gallery/classes/geo-290-f10-cartography
>
> Enjoy,
> Alex
>
> On 03/25/2017 05:06 PM, Falk Huettmann wrote:
> > Hi there,
> >
> > I have a question, if I may:
> >
> > at the following website
> >
> > http://openflights.org/data.html
> >
> > there are these maps of airlines, connecting airports.
> >
> > http://openflights.org/demo/openflights-routedb-2048.png
> >
> > The actual map and code can apparently be bought,
> > but instead I am looking for a self-made solution (I do not like how
> people
> > cash in on a GIS bottleneck).
> >
> > Would you perhaps know how that map can be done, e.g.
> > in QGIS or related in an OpenGIS framework or code?
> >
> > Thanks so much; kind regards
> >  Falk
> >
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> >
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [Qgis-developer] QGIS X3D processing

2017-03-27 Thread Martin Dobias
Hi Paolo

On Mon, Mar 27, 2017 at 2:15 PM, Paolo Cavallini  wrote:
>>
>> What would be a good place to learn more about QGIS3 plans to use native
>> Qt5 3d facilities ?
>
> Hi Andreas,
> I do not know much. You can probably have a look to the work of Minoru
> Akagi, who started some early development on this.
> However, I think some core devs may be interested in joining the discussion.

I have been playing with Qt 3D module recently and submitted a grant
proposal for native 3D support in QGIS. Here is my repo with a simple
3D rendering of a DEM with aerial imagery:

https://github.com/wonder-sk/qgis3d

Cheers
Martin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Getting lon/lat

2017-03-27 Thread phi73
Hello both

many thanks. It works :)

Pat

On 27. März 2017, 10:03 +0200, g.corral , wrote:
> Sorry...
>
> start point: $x_at(0) and $y_at(0)
>
> end point: $x_at(-1) and $x_at(-1)
>
> But Jack Andersen's idea is more effective.
>
>
>  Cordialement,
>
>  Guayente CORRAL BROTO
>    Hydrogéologue / EurGeol n°1336
>
>
>  http://www.survey-groupe.fr
>
> Chemin d'Enrobert
> 32200 Gimont
>  - Tél: +33 (0)5 62 65 67 65
>  - Mob: +33 (0)6 48 74 43 67
>
>
> > -Original Message-
> > From: Jack Andersen 
> > To: ph...@gmx.de
> > Cc: QGIS User List 
> > Date: Mon, 27 Mar 2017 09:30:20 +0200
> > Subject: Re: [Qgis-user] Getting lon/lat
> >
> > Hi phi73,
> > You can get the Lat long for start and endpoints by using the field 
> > calculator in the attribute table.
> > create a new field and calculate it with the following:
> > i.g. field "longXstart"  calculate: x(start_point($geometry))
> > "latYstart" calculate: y(start_point($geometry))
> >
> > You can do the same for the endpoint by changing start_point with end_point
> >
> > Furthermore the output will be in the same projection/coordinates as your 
> > layer, but you can do a transform command on the above command with:
> > x(transform(start_point( $geometry), 'EPSG:25832', 'EPSG:4326')) where the 
> > first epsg code is the current projection and the second one is the target 
> > projection
> > I have moved the x to the front of the command because the transform 
> > function only works on coodinate sets and i therefore transform x and y and 
> > then extract x.
> >
> > _Jack Andersen
> >
> > > On Mon, Mar 27, 2017 at 8:17 AM,  wrote:
> > > > Hello
> > > >
> > > > i have map based on vector data and in it some street elements.
> > > > I would like to pick up a line segment and get the lon/lat for
> > > > the start vertex and end vertex.
> > > > How could it be done the easiest way in QGIS.
> > > >
> > > > thanks
> > > >
> > > >
> > > > ___
> > > > Qgis-user mailing list
> > > > Qgis-user@lists.osgeo.org
> > > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Getting lon/lat

2017-03-27 Thread g.corral
Sorry...





start point: $x_at(0) and $y_at(0) 





end point: $x_at(-1) and $x_at(-1)





But Jack Andersen's idea is more effective.








 Cordialement,
  

 Guayente CORRAL BROTO

   Hydrogéologue / EurGeol n°1336 






 


 http://www.survey-groupe.fr

 

Chemin d'Enrobert

32200 Gimont

 - Tél: +33 (0)5 62 65 67 65

 - Mob: +33 (0)6 48 74 43 67






-Original Message-
From: Jack Andersen 
To: ph...@gmx.de
Cc: QGIS User List 
Date: Mon, 27 Mar 2017 09:30:20 +0200
Subject: Re: [Qgis-user] Getting lon/lat


Hi phi73,
You can get the Lat long for start and endpoints by using the field 
calculator in the attribute table.

create a new field and calculate it with the following:

i.g. field "longXstart"  calculate: x(start_point($geometry))


"latYstart" calculate: y(start_point($geometry))




You can do the same for the endpoint by changing start_point with end_point

Furthermore the output will be in the same projection/coordinates as your 
layer, but you can do a transform command on the above command with:

x(transform(start_point( $geometry), 'EPSG:25832', 'EPSG:4326')) where the 
first epsg code is the current projection and the second one is the target 
projection

I have moved the x to the front of the command because the transform 
function only works on coodinate sets and i therefore transform x and y and 
then extract x.




_Jack Andersen




On Mon, Mar 27, 2017 at 8:17 AM,  wrote:


Hello



i have map based on vector data and in it some street elements.

I would like to pick up a line segment and get the lon/lat for 

the start vertex and end vertex. 

How could it be done the easiest way in QGIS.




thanks




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Getting lon/lat

2017-03-27 Thread g.corral






But i still have to click to the vertex manually with mouse cursor isn’t 
it? YES





It is not automatically done to the lat/lon provided by the map ?  You can 
get the lon/lat for 
the start vertex and end vertex witn the field calculator in the attribute 
table → $x_at(0) and $y_at(0), but you get the coordinates as your 
project.





;-)








 Cordialement,
  

 Guayente CORRAL BROTO

   Hydrogéologue / EurGeol n°1336 






 


 http://www.survey-groupe.fr

 

Chemin d'Enrobert

32200 Gimont

 - Tél: +33 (0)5 62 65 67 65

 - Mob: +33 (0)6 48 74 43 67






-Original Message-
From: ph...@gmx.de
To: QGIS User List , "g.corral" 

Date: Mon, 27 Mar 2017 08:36:15 +0200
Subject: Re: [Qgis-user] Getting lon/lat


Hello



thank you.

But i still have to click to the vertex manually with mouse cursor isn’t 
it?

It is not automatically done to the lat/lon provided by the map ?




Thank you


On 27. März 2017, 08:29 +0200, g.corral , wrote:

Hi,




Lat Lon Tools → https://plugins.qgis.org/plugins/latlontools/




Good luck!










 Cordialement,
  

 Guayente CORRAL BROTO

   Hydrogéologue / EurGeol n°1336






 


 http://www.survey-groupe.fr

 

Chemin d'Enrobert

32200 Gimont

 - Tél: +33 (0)5 62 65 67 65

 - Mob: +33 (0)6 48 74 43 67






-Original Message-
From: ph...@gmx.de
To: QGIS User List 
Date: Mon, 27 Mar 2017 08:17:00 +0200
Subject: [Qgis-user] Getting lon/lat


Hello



i have map based on vector data and in it some street elements.

I would like to pick up a line segment and get the lon/lat for 

the start vertex and end vertex. 

How could it be done the easiest way in QGIS.




thanks___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Getting lon/lat

2017-03-27 Thread Jack Andersen
Hi phi73,
You can get the Lat long for start and endpoints by using the field
calculator in the attribute table.
create a new field and calculate it with the following:
i.g. field "longXstart"  calculate: x(start_point($geometry))
"latYstart" calculate: y(start_point($geometry))

You can do the same for the endpoint by changing start_point with end_point

Furthermore the output will be in the same projection/coordinates as your
layer, but you can do a transform command on the above command with:
x(transform(start_point( $geometry), 'EPSG:25832', 'EPSG:4326')) where the
first epsg code is the current projection and the second one is the target
projection
I have moved the x to the front of the command because the transform
function only works on coodinate sets and i therefore transform x and y and
then extract x.

_Jack Andersen

On Mon, Mar 27, 2017 at 8:17 AM,  wrote:

> Hello
>
> i have map based on vector data and in it some street elements.
> I would like to pick up a line segment and get the lon/lat for
> the start vertex and end vertex.
> How could it be done the easiest way in QGIS.
>
> thanks
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Getting lon/lat

2017-03-27 Thread phi73
Hello

thank you.
But i still have to click to the vertex manually with mouse cursor isn’t it?
It is not automatically done to the lat/lon provided by the map ?

Thank you

On 27. März 2017, 08:29 +0200, g.corral , wrote:
> Hi,
>
> Lat Lon Tools → https://plugins.qgis.org/plugins/latlontools/
>
> Good luck!
>
>
>
>  Cordialement,
>
>  Guayente CORRAL BROTO
>    Hydrogéologue / EurGeol n°1336
>
>
>  http://www.survey-groupe.fr
>
> Chemin d'Enrobert
> 32200 Gimont
>  - Tél: +33 (0)5 62 65 67 65
>  - Mob: +33 (0)6 48 74 43 67
>
>
> > -Original Message-
> > From: ph...@gmx.de
> > To: QGIS User List 
> > Date: Mon, 27 Mar 2017 08:17:00 +0200
> > Subject: [Qgis-user] Getting lon/lat
> >
> > Hello
> >
> > i have map based on vector data and in it some street elements.
> > I would like to pick up a line segment and get the lon/lat for
> > the start vertex and end vertex.
> > How could it be done the easiest way in QGIS.
> >
> > thanks
> >
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Getting lon/lat

2017-03-27 Thread g.corral
Hi,





Lat Lon Tools → https://plugins.qgis.org/plugins/latlontools/





Good luck!











 Cordialement,
  

 Guayente CORRAL BROTO

   Hydrogéologue / EurGeol n°1336 






 


 http://www.survey-groupe.fr

 

Chemin d'Enrobert

32200 Gimont

 - Tél: +33 (0)5 62 65 67 65

 - Mob: +33 (0)6 48 74 43 67






-Original Message-
From: ph...@gmx.de
To: QGIS User List 
Date: Mon, 27 Mar 2017 08:17:00 +0200
Subject: [Qgis-user] Getting lon/lat


Hello



i have map based on vector data and in it some street elements.

I would like to pick up a line segment and get the lon/lat for 

the start vertex and end vertex. 

How could it be done the easiest way in QGIS.




thanks___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Getting lon/lat

2017-03-27 Thread phi73
Hello

i have map based on vector data and in it some street elements.
I would like to pick up a line segment and get the lon/lat for
the start vertex and end vertex.
How could it be done the easiest way in QGIS.

thanks

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS X3D processing

2017-03-27 Thread Paolo Cavallini
Il 27/03/2017 01:52, Andreas Plesch ha scritto:
> Hi Paolo,
>  
> 
> Date: Sun, 26 Mar 2017 20:22:06 +0200
> From: Paolo Cavallini  >
> 
> Il 26/03/2017 00:27, Andreas Plesch ha scritto:
> > I would like to share a project for 3d visualization of Qgis
> content by
> ...
> > This effort is similar to QGIS2Threejs but is just starting out
> and will
> > use quite a different approach.
> >
> > Any comment, feedback or thought is welcome,
> 
> Cool, thanks. AFAIK there are plans to use native Qt5 3D facilities,
> have you had a look to this too?
> 
> 
> I looked into using qt webkit and found that qt5 webkit supports webgl
> (and probably a modern js engine?). That would be very interesting as it
> would be possible to rely just on webkit and perhaps have some tighter
> integration with the Qgis gui.
> 
> What would be a good place to learn more about QGIS3 plans to use native
> Qt5 3d facilities ?

Hi Andreas,
I do not know much. You can probably have a look to the work of Minoru
Akagi, who started some early development on this.
However, I think some core devs may be interested in joining the discussion.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user