Re: [Qgis-user] Import lines from cvs
Well, Updating geometries from columns Try doing that with MapInfo Cool tips! :) Nicolas Cadieux M.Sc. On Jan 6, 2016 20:58, "Nathan Woodrow [via OSGeo.org] "wrote: Or use excel to make a WKT column and import that. Nathan On Thu, 7 Jan 2016 11:48 am Nyall Dawson < [hidden email] > wrote: On 7 January 2016 at 07:08, Joris Hintjens < [hidden email] > wrote: > Hello, > I’m lost. > I have a list of movements. A table with (among others) a column “FROM” and a column “TO” (both containing coordinates) > > How can I import this in QGIS so that I have a bunch of lines going from FROM to TO? > This is relatively straightforward in QGIS master: - import your CSV file - right click the CSV layer, and choose "Save as" - change format to "ESRI Shapefile". Choose the correct CRS for your coordinates. - expand out the "Geometry" group and change "Geometry type" from "Automatic" to "LineString" - click OK, the new LineString shapefile (with all null geometries) will be added to the project - now, you need to create the geometries. This is done through the field calculator. - tick "update existing field" - change the field to "" - enter the expression: 'make_line(make_point("x1","y1"),make_point("x2","y2"))' (but replace x1, y1, ... with the correct columns names from your original CSV file) - click OK. Done! Nyall > thanks for your comments > > Joris > > ___ > Qgis-user mailing list > [hidden email] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list [hidden email] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list [hidden email] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: 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.x6.nabble.com/Import-lines-from-cvs-tp5244005p5244032.html To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com To unsubscribe from Quantum GIS - User, click here . NAML -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Import-lines-from-cvs-tp5244005p5244038.html Sent from the Quantum GIS - User mailing list archive at Nabble.com.___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Import lines from cvs
Or use excel to make a WKT column and import that. Nathan On Thu, 7 Jan 2016 11:48 am Nyall Dawson wrote: > On 7 January 2016 at 07:08, Joris Hintjens wrote: > > Hello, > > I’m lost. > > I have a list of movements. A table with (among others) a column “FROM” > and a column “TO” (both containing coordinates) > > > > How can I import this in QGIS so that I have a bunch of lines going from > FROM to TO? > > > > This is relatively straightforward in QGIS master: > > - import your CSV file > - right click the CSV layer, and choose "Save as" > - change format to "ESRI Shapefile". Choose the correct CRS for your > coordinates. > - expand out the "Geometry" group and change "Geometry type" from > "Automatic" to "LineString" > - click OK, the new LineString shapefile (with all null geometries) > will be added to the project > - now, you need to create the geometries. This is done through the > field calculator. > - tick "update existing field" > - change the field to "" > - enter the expression: > 'make_line(make_point("x1","y1"),make_point("x2","y2"))' (but replace > x1, y1, ... with the correct columns names from your original CSV > file) > - click OK. Done! > > Nyall > > > > thanks for your comments > > > > Joris > > > > ___ > > Qgis-user mailing list > > Qgis-user@lists.osgeo.org > > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Import lines from cvs
On 7 January 2016 at 07:08, Joris Hintjens wrote: > Hello, > I’m lost. > I have a list of movements. A table with (among others) a column “FROM” and > a column “TO” (both containing coordinates) > > How can I import this in QGIS so that I have a bunch of lines going from FROM > to TO? > This is relatively straightforward in QGIS master: - import your CSV file - right click the CSV layer, and choose "Save as" - change format to "ESRI Shapefile". Choose the correct CRS for your coordinates. - expand out the "Geometry" group and change "Geometry type" from "Automatic" to "LineString" - click OK, the new LineString shapefile (with all null geometries) will be added to the project - now, you need to create the geometries. This is done through the field calculator. - tick "update existing field" - change the field to "" - enter the expression: 'make_line(make_point("x1","y1"),make_point("x2","y2"))' (but replace x1, y1, ... with the correct columns names from your original CSV file) - click OK. Done! Nyall > thanks for your comments > > Joris > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Import lines from cvs
Hi, I think you will need to use the python console to do the job. I have no direct experience but if you look in the pyqgis developer cookbook and look for "Geometry Construction" you will find a reference to "gLine". With that, you can create a line with two or more points. Before doing that, look at the plugin (activate experimental plugin and Search for " line". There seems to be po plugins that can do it like PointConnector or Points2One... Good luck. Nicolas Cadieux M.Sc. Les Entreprises Archéotec inc. 8548, rue Saint-Denis Montréal H2P 2H2 Téléphone: 514.381.5112 Fax: 514.381.4995 www.archeotec.ca On Jan 6, 2016 2:58 PM, "Joris Hintjens [via OSGeo.org]"wrote: Hello, I’m lost. I have a list of movements. A table with (among others) a column “FROM” and a column “TO” (both containing coordinates) How can I import this in QGIS so that I have a bunch of lines going from FROM to TO? thanks for your comments Joris ___ Qgis-user mailing list [hidden email] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: 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.x6.nabble.com/Import-lines-from-cvs-tp5244005.html To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com To unsubscribe from Quantum GIS - User, click here . NAML -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Import-lines-from-cvs-tp5244005p5244012.html Sent from the Quantum GIS - User mailing list archive at Nabble.com.___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Import lines from cvs
Hello, I’m lost. I have a list of movements. A table with (among others) a column “FROM” and a column “TO” (both containing coordinates) DON’T WORRY ABOUT SPLITTING THE COLUMNS IN 2 SETS OF X AND Y , THAT’S NOT MY PROBLEM How can I import this in QGIS so that I have a bunch of lines going from FROM to TO? thanks for your comments Joris ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Import lines from cvs
Hello, I’m lost. I have a list of movements. A table with (among others) a column “FROM” and a column “TO” (both containing coordinates) How can I import this in QGIS so that I have a bunch of lines going from FROM to TO? thanks for your comments Joris ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] SAGA Add Grid Value to point
Hi, I do not use Saga for that type of operation as QGIS has an excellent point sampling plugin that you can install. However, I imagine that you are using Saga via the QGIS processing plugin? If so, I recommend you try the tool directly in Saga. This way, you can have a better idea of the error you are getting and do the trouble shooting there. It's a good idea to make sure that all layers are in the same CRS before you launch this type of tools especially in "mission critical" situation. I can check more on my end if you are still stuck. Nicolas Cadieux M.Sc. Les Entreprises Archéotec inc. 8548, rue Saint-Denis Montréal H2P 2H2 Téléphone: 514.381.5112 Fax: 514.381.4995 www.archeotec.ca On Jan 6, 2016 06:53, "Lene Fischer [via OSGeo.org]"wrote: Hi, I´m writing this mail on behalf of a student, who encountered a problem today during lecture. Hope to get help with this issue. Regards Lene Fischer Hello 1. I´m trying to use “SAGA - Add grid values to points” in QGIS 2.12.0 Lyon /Windows 64 bit 2. I have opened two raster layers with DSM and DTM 3. I have made a new scratch layer where I have digitized 10 points 4. In Grid>Multiple selection I choose the 2 layers 5. When I press “run” I´m told the input layers do not have the same grid extent and stop calculating. 6. This problem comes from the two layers that does not have the exact same extend Can any help with this problem Regards Søren Børsting ___ Qgis-user mailing list [hidden email] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: 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.x6.nabble.com/SAGA-Add-Grid-Value-to-point-tp5243933.html To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com To unsubscribe from Quantum GIS - User, click here . NAML -- View this message in context: http://osgeo-org.1560.x6.nabble.com/SAGA-Add-Grid-Value-to-point-tp5243933p5243965.html Sent from the Quantum GIS - User mailing list archive at Nabble.com.___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] SAGA Add Grid Value to point
Hi, I´m writing this mail on behalf of a student, who encountered a problem today during lecture. Hope to get help with this issue. Regards Lene Fischer Hello 1. I´m trying to use “SAGA - Add grid values to points” in QGIS 2.12.0 Lyon /Windows 64 bit 2. I have opened two raster layers with DSM and DTM 3. I have made a new scratch layer where I have digitized 10 points 4. In Grid>Multiple selection I choose the 2 layers 5. When I press “run” I´m told the input layers do not have the same grid extent and stop calculating. 6. This problem comes from the two layers that does not have the exact same extend Can any help with this problem Regards Søren Børsting ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GeoServer online
Hi Sebastian, perhaps the question is better on the GeoServer user list. For me it's not clear at all, what exactly you are looking for. If you successfully installed GeoServer on your WebServer (see here: http://docs.geoserver.org/stable/en/user/installation/) you have to call your WebServer's URL or IP address, normally GeoServer appears here: http://<:8080>/geoserver/ Whether you need the ":8080" depends on where and how you installed your Java Application Server (Jetty, Tomcat or whatever...) Till Am 04.01.2016 12:33, schrieb "Sebastian Teßmer": Hello everybody, and a Happy New Year! I have a question for GeoServer. I use it as a Web server for my geodata. With "localhost" everything works great, but does anyone know how I the data online can call? I need an explanation on how I publish a Web server on the web? Thank you for your help! Sebastian ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GeoServer online
What Alex says. Recently I had to do the same and host my data online using PostGIS & Geoserver. Depending on your needs there are a lot of options to do so. As my requirements were not that high, I have chosen to host a server on a VPS-cloud based service. The most tricky part is actually to set up and securing your webhosting environment. This requires some knowledge of web/hosting beyond the field of Geoserver and PostGIS. As Alex mentions there are a lot of great step by step guides which will help you to setup your web/geoserver host. I for instance have followed this guide which was of great help: http://www.negengec.com/2014/09/run-geoserver-ubuntu-tomcat7/ 2016-01-04 17:56 GMT+01:00 Alex Mandel : > On 01/04/2016 03:33 AM, "Sebastian Teßmer" wrote: > > Hello everybody, > > > > and a Happy New Year! > > > > I have a question for GeoServer. I use it as a Web server for my geodata. > > With "localhost" everything works great, but does anyone know how I > > the data online can call? I need an explanation on how I publish a Web > server on > > the web? > > > > Thank you for your help! > > Sebastian > > > > > > 1. If this is about Geoserver, please ask on the Geoserver mailing list > http://geoserver.org/comm/ > 2. You need a Domain/Domain Name Server/Service (DNS) so that a url > points to your computer from the web (complicated if you don't have a > static ip for your computer, or your internet provide prevents hosting > on personal accounts). This is a general topic with lots of examples on > the internet to learn from. The basics are you pay for a domain, and > tell it the ip of your machine. > > Enjoy, > Alex > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user