[Qgis-user] Refactoring line offset script - help
I cannot for the life of me refactor this code to get it to work for the latest version of QGIS. Has anyone successfully been able to do this or could help? The article is a few years old and I don't know if the author is still there to help. https://gis.stackexchange.com/questions/239129/shifting-display-of-overlapping-lines-in-qgis/239370#239370 -- Sincerely, Ryan ___ 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 area and centroid from vector tile
I have this xyz tile server added into qgis. It is the microsoft building footprints. https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Microsoft_Building_Footprints/VectorTileServer/tile/%7Bz%7D/%7By%7D/%7Bx%7D.pbf Is there a way to get the centroid as well as area of the features shown? I would like to create my own table from this xyz tile layer. -- Sincerely, Ryan ___ 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] scraping svg from web site to load into QGIS
I was able to download the entire svg (grey polygons)that was contained within this web-based map application. But, I cannot figure out a way to load this as a layer in QGIS. Whenever I try to open it, it just gives me an error. I suspect because it has no CRS information? Is this possible? https://secure.cecelec.com/maps/external/OutageWebMap/ -- Sincerely, Ryan ___ 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] Slooooow spatial joins
I can appreciate that but it forces to create another layer/file I think. I really don't want to have to re-import my entire table back into postgis just to get this one column. On Mon, May 17, 2021, 10:29 PM Nyall Dawson wrote: > On Tue, 18 May 2021 at 11:59, Ryan Peel wrote: > > > > I have tried using MMQGIS plugin, refFunctions geomwith function and the > aggregate function. I am using 3.18 QGIS > > > > Despite having spatial indexes on both tables, when I try to use any of > these operations to assign the value of a field in the polygon layer to one > in the point layer, it goes very slow. Like, ridiculously slow and of no > value. And, I only have 600 records in the points layer and just a few > thousand records in the polygon layer. > > > > What can I do to speed this up? > > The absolute fastest way to join is to use the Processing tool: Join > Attributes by Location -- no plugins necessary :D > > Nyall > ___ 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] Slooooow spatial joins
I have tried using MMQGIS plugin, refFunctions geomwith function and the aggregate function. I am using 3.18 QGIS Despite having spatial indexes on both tables, when I try to use any of these operations to assign the value of a field in the polygon layer to one in the point layer, it goes very slow. Like, ridiculously slow and of no value. And, I only have 600 records in the points layer and just a few thousand records in the polygon layer. What can I do to speed this up? -- Sincerely, Ryan ___ 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] Model Designer - Updating Field in Place
Hello, I have created a new Model in Model Designer and I'm using a Point Layer as Input and a Field Calculator that calls a custom function. I would like the output/result of the field calculator to update an existing field in the attribute table. I cannot get this to work. I can only get it to output a new temporary scratch table. Is my idea possible? -- Sincerely, Ryan ___ 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] Multiple rows in Map Tips
Map Tips My problem is that I want to see a Map Tip of all features that are geographically 'stacked' on top of one another on the map. Upon mouseover, it seems there is some way to use an html expression to show a table of all rows and not just the first one. Is this possible and how is this done? -- Sincerely, Ryan ___ 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] snapping polygons together
I am making a grid layer and I want to copy/move some of them to 'lock' into adjacent ones perfectly. Trying to avoid messing with the vertex editor. zooming in close to the edges never gets it exact. I don't want to drag the corner vertices and snap, I just want to move the whole polygon and snap it to the edge of another. Maybe I'm missing something. -- Sincerely, Ryan ___ 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] distance to nearest point
I want to show a label for a point feature in layer1 that is based on the distance to the nearest point feature from another layer, layer2. Additionally, I want to bring over an attribute from layer2. Last, I'd like to have the cardinal direction toward the object. Is this possible? So, my label for layer1 would look something like this. Point1: 100ft W of pole ID 123 Thanks, Ryan ___ 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] parallel, multi-colored line styles
I just want to style a line with like a ribbon effect (like 0.26mm each line) based on a value of a field. Let's say the value of the field is 4. Then, show 4 different colored lines. It is hard for me to explain. On Wed, Jan 27, 2021 at 2:51 PM Bernd Vogelgesang wrote: > a li'll more effort explaining your use-case would be appreciated > > > Am 27.01.21 um 20:40 schrieb Ryan Peel: > > Is this possible to do in qgis for a single line feature? > > > > ___ > Qgis-user mailing listqgis-u...@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] parallel, multi-colored line styles
Is this possible to do in qgis for a single line feature? ___ 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] Blurry XYZ tile layers
Wow! These vector tiles are awesome. The Qwant Map is great. Has all the driveways here in the States, and pretty darn accurate! Has someone compiled a top 10 list somewhere of great Vector Tile services? I find these kinds of discoveries lead to more problem solving and time saving. On Wed, Dec 23, 2020 at 3:23 AM Saber Razmjooei < saber.razmjo...@lutraconsulting.co.uk> wrote: > Hi Ryan, > > Did you change the tile resolution in your connection settings: > https://help.inputapp.io/images/xyz_settings.png > > Another better option is to use Vector Tiles: > https://help.inputapp.io/howto/settingup_background_map_vectortile > > Kind regards > Saber > > On Tue, 22 Dec 2020 at 22:58, Ryan Peel wrote: > >> Hello! Whenever I add the XYZ tiles for Google Maps or Open Street Map, >> etc, they are legible but it seems the more I zoom in, the worse it gets. >> It's not sharp at all. I think it's because I have my monitor set to 175% >> zoom level (my monitor is large enough to justify this - it's 3840x2160). >> >> Is there a better way to integrate these tile type services in this type >> of scenario? they seem better when I change the monitor to 100% zoom level >> but it makes everything else so small. >> >> Thanks, >> Ryan >> ___ >> 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 >> > > > -- > Saber Razmjooei > www.lutraconsulting.co.uk > +44 (0)7568 129733 > -- *Ryan Peel* *President, Vergennes Broadband LLCRural Fiber and Wireless Broadbandwww.vergennesbroadband.com <http://www.vergennesbroadband.com>**616-897-3107 (o) 616-821-3766 (m)* ___ 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] Stats on selected rows in tables
Completely missed that little check box at the bottom. Thanks! On Tue, Dec 22, 2020 at 1:23 PM DelazJ wrote: > Hi Ryan > See the statistical summary panel (in View menu -> Panels) > https://docs.qgis.org/3.16/en/docs/user_manual/introduction/general_tools.html#statistical-summary-panel > > Regards, > Harrissou > > Le mar. 22 déc. 2020 à 19:15, Ryan Peel a écrit : > >> Hello, >> >> Is there a plugin or easy way built in to v3.14 qgis that can sum total >> up a column for only the selected rows versus creating a scratch layer >> first and using the summary button? >> >> Thanks, >> Ryan >> ___ >> 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 >> > -- *Ryan Peel* *President, Vergennes Broadband LLCRural Fiber and Wireless Broadbandwww.vergennesbroadband.com <http://www.vergennesbroadband.com>**616-897-3107 (o) 616-821-3766 (m)* ___ 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] Find single address and zoom to it on map
I have been fiddling with the GeoCoding and MMQGIS plugins but can't get either one to work. I just want a way to type in an address in QGIS and have it go to that location in my current map view. Is there something that I'm missing that's already in the Processing Toolbox or something? I am using 3.14 version. Thanks, Ryan ___ 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] Virtual layer with an http/https import source
I was very much helped by Mr Duivenvoorde in the previous thread about virtual layers. I was able to get his solution to work! Thanks!! When you add a new virtual layer to QGIS, it allows you to import a source (in my case a csv). Is there a way to have this source be hosted in the cloud on a public URL so that all we have to do is upload a new file every day and all QGIS users that want access can just point their virtual layer to that site/file? -- *Ryan Peel* ___ 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] Move polyline objects by set distance
I have several polyline objects (hundreds) that I want to move on the map by a short distance (3ft to the N, S, E, or W) in a cardinal type direction. I see the Move Objects tool in QGIS 3 but that doesn't allow me to specify a distance. I have used the Offset tool in the QAD plugin to create parallel lines but that is very tedious and creates a copy of the object. Is there a way to select a bunch of objects and just move them in one direction or another by x # of feet? Thanks! -- *Ryan Peel* ___ 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] Polygon from 4 points
Extending this thought a little. Is there a way to create a WMS service from this so that the WMS reads a csv file, automatically creates the polygons using the expression that Toto recommended, so that it (on the fly) creates the polygons from adding the WMS to a map so I can share with my co-workers so that we are all using the updated data (rather than having to share a shp file). Long question, hoping for maybe an easy solution. Ryan VB Fiber On Thu, Nov 26, 2020 at 12:59 PM Ujaval Gandhi wrote: > Totò - really great solution! Didn't know about Geometry by Expression and > it will come in handy for sure. > [image: Logo] <https://spatialthoughts.com/> > Ujaval Gandhi > Spatial Thoughts > mobile: +91-8095684687 > email: uja...@spatialthoughts.com > [image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/> [image: > Twitter icon] <https://twitter.com/spatialthoughts> > > > > On Thu, Nov 26, 2020 at 8:33 PM Totò Fiandaca > wrote: > >> From Processing: >> >> search for Geometry by Expression: >> 1. as input layer put your file with the coordinates >> 2. and write this expression: >> >> make_polygon ( >> make_line ( >> make_point ("x1", "y1"), >> make_point ("x2", "y2"), >> make_point ("x3", "y3"), >> make_point ("x4", "y4") >> )) >> >> and launch the geoprocess. >> >> I used QGIS 3.16 Hannover >> >> Il giorno gio 26 nov 2020 alle ore 15:48 Ryan Peel >> ha scritto: >> >>> I have a csv/table that has a single row that contains some metadata as >>> well as four SEPARATE columns, x1, y1, x2, y2, x3, y3, x4, y4 of decimal >>> degree coordinates. >>> >>> I want to import all of this data into QGIS and create a polygon from >>> the four points as a vector layer. >>> >>> What is the best way to do this? I'm not a programmer or scripter >>> really and fairly new to QGIS. >>> >>> Thanks! >>> >>> >>> *Ryan Peel* >>> >>> ___ >>> 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 >>> >> >> >> -- >> *Ing. Salvatore Fiandaca* >> *mobile*.:+39 327.493.8955 >> *m*: *pigrecoinfin...@gmail.com * >> *C.F*.: FNDSVT71E29Z103G >> *P.IVA*: 06597870820 >> *membro QGIS Italia - http://qgis.it/ <http://qgis.it/>* >> *socio GFOSS.it - *http://gfoss.it/ >> *blog:* >> * https://pigrecoinfinito.com/ <https://pigrecoinfinito.com/> FB: >> Co-admin - https://www.facebook.com/qgis.it/ >> <https://www.facebook.com/qgis.it/>** >> <https://www.facebook.com/qgis.it/> * >> *TW: <http://goog_95411464>**https://twitter.com/totofiandaca >> <https://twitter.com/totofiandaca>* >> >> 43°51'0.54"N 10°34'27.62"E - EPSG:4326 >> >> “Se la conoscenza deve essere aperta a tutti, >> perchè mai limitarne l’accesso?” >> R. Stallman >> >> Questo documento, allegati inclusi, contiene informazioni di proprietà di >> FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario >> in relazione alle finalità per le quali è stato ricevuto. E' vietata >> qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso >> di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega >> di informare tempestivamente il mittente e distruggere la copia in proprio >> possesso. >> >> >> ___ >> 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] Polygon from 4 points
Thank you! Worked PERFECT! On Thu, Nov 26, 2020 at 10:02 AM Totò Fiandaca wrote: > From Processing: > > search for Geometry by Expression: > 1. as input layer put your file with the coordinates > 2. and write this expression: > > make_polygon ( > make_line ( > make_point ("x1", "y1"), > make_point ("x2", "y2"), > make_point ("x3", "y3"), > make_point ("x4", "y4") > )) > > and launch the geoprocess. > > I used QGIS 3.16 Hannover > > Il giorno gio 26 nov 2020 alle ore 15:48 Ryan Peel > ha scritto: > >> I have a csv/table that has a single row that contains some metadata as >> well as four SEPARATE columns, x1, y1, x2, y2, x3, y3, x4, y4 of decimal >> degree coordinates. >> >> I want to import all of this data into QGIS and create a polygon from the >> four points as a vector layer. >> >> What is the best way to do this? I'm not a programmer or scripter really >> and fairly new to QGIS. >> >> Thanks! >> >> >> *Ryan Peel* >> >> ___ >> 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 >> > > > -- > *Ing. Salvatore Fiandaca* > *mobile*.:+39 327.493.8955 > *m*: *pigrecoinfin...@gmail.com * > *C.F*.: FNDSVT71E29Z103G > *P.IVA*: 06597870820 > *membro QGIS Italia - http://qgis.it/ <http://qgis.it/>* > *socio GFOSS.it - *http://gfoss.it/ > *blog:* > * https://pigrecoinfinito.com/ <https://pigrecoinfinito.com/> FB: Co-admin > - https://www.facebook.com/qgis.it/ <https://www.facebook.com/qgis.it/>** > <https://www.facebook.com/qgis.it/> * > *TW: <http://goog_95411464>**https://twitter.com/totofiandaca > <https://twitter.com/totofiandaca>* > > 43°51'0.54"N 10°34'27.62"E - EPSG:4326 > > “Se la conoscenza deve essere aperta a tutti, > perchè mai limitarne l’accesso?” > R. Stallman > > Questo documento, allegati inclusi, contiene informazioni di proprietà di > FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario > in relazione alle finalità per le quali è stato ricevuto. E' vietata > qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso > di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega > di informare tempestivamente il mittente e distruggere la copia in proprio > possesso. > > > -- *Ryan Peel* *President, Vergennes Broadband LLCRural Fiber and Wireless Broadbandwww.vergennesbroadband.com <http://www.vergennesbroadband.com>**616-897-3107 (o) 616-821-3766 (m)* ___ 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] Polygon from 4 points
I have a csv/table that has a single row that contains some metadata as well as four SEPARATE columns, x1, y1, x2, y2, x3, y3, x4, y4 of decimal degree coordinates. I want to import all of this data into QGIS and create a polygon from the four points as a vector layer. What is the best way to do this? I'm not a programmer or scripter really and fairly new to QGIS. Thanks! *Ryan Peel* ___ 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