Re: [Qgis-user] Advance Digitising Tools- compass bearings

2024-05-17 Per discussione Richard Greenwood via QGIS-User
On Fri, May 17, 2024 at 6:16 AM Jeremy Jackson via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> A related question, what about grid to ground conversions and vice-versa,
> are there plugins which support this?  Surveys here in Canada always
> specify a "combined scale factor", which is tedious to apply manually to
> each vertex when digitizing.
>

Gid to ground is a scale factor. So you can enter everything with the given
bearings and distances, then when you're done, use the "Scale Feature"
tool. To do that correctly you need to know the point where the combined
factor is applied. Hold the control key while clicking that point and then
enter the combined factor in the box in the upper right corner. If you
don't know the point where the combined factor is calculated, pick a point
near the center of your feature(s), not the origin of the coordinate system
(0, 0).

-- 
Richard W. Greenwood
www.greenwoodmap.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] Advance Digitising Tools- compass bearings

2024-05-16 Per discussione Richard Greenwood via QGIS-User
The "Azimuth and Distance Plugin" might meet your needs. It accepts
bearings/azimuths from north increasing clockwise.

On Thu, May 16, 2024 at 7:50 PM Philip Ryan via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hello,
> I am trying to digitise a series of old gold lease "portion plans"
> produced in the 1880s in Australia by a mining surveyor using a compass and
> chain. The data for each gold lease includes a table of  1) compass
> bearings in degrees and 2) distance measurements in links (0.2 m) for each
> vertex of the lease polygon (mostly a rectangle or trapezoid but sometimes
> more complex).
> The Advance Digitizing Tools would seem to be ideal for this data except
> for the angle measure (a) which I can't input as a compass bearing (0-360
> deg). The current settings with 90 deg E as the zero makes conversion of
> compass bearings very tedious.
> Is it possible to change the angle variable (a) to a compass bearing?
> Regards,
> Phil 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Georeferencing dxf file in QGIS

2024-05-14 Per discussione Richard Greenwood via QGIS-User
You can just use the QGIS *Move Feature* tool, possibly in conjunction with
the *Rotate Feature* and/or *Scale Feature* tools in the advanced
digitizing toolbar.

   1. Assign a coordinate system to the DXF layer. If you don't know the
   coordinate system, or if the DXF file doesn't have one, assign the
   coordinate system of your reference layer (your aerial photography)
   2. Make your DXF file editable. Depending on how you imported it you may
   be able to make it editable, or you may need to copy all of the features to
   an editable work layer.
   3. Select all of the features, pick the *Move Feature* tool, pick a
   source point on a corner of the building, pick a destination point on the
   corresponding corner in your reference layer. (this takes some serious
   panning and zooming!)
   4. With all of the features still selected, pick the *Rotate Feature* tool,
   while holding the Control key click the building corner to fix the rotation
   base point, then click two more points to define the rotation angle.
   5. You may need to scale it e.g. convert feet to meters. If so,
pick the *Scale
   Feature* tool, hold the Control key and click a base point, then two
   more points to resize all of the features.

The move, rotate and scale steps are performing an affine transformation
which should provide reasonable results over small areas if both the DXF
and reference layer are in projected coordinate systems, ideally local
projected coordinate systems like State Plane or UTM, and not Web Mercator.






On Tue, May 14, 2024 at 3:00 PM Linda Boisvert via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hello,
>
> I have been trying to georeference a dxf file created by a solar design
> software.
>
> I can import the file without issues but the design sits in the middle of
> the Pacific Ocean. I have georeferenced rasters before but I can't get this
> dxf file to budge.
>
> I have tried many of the suggestions I have found online for
> georeferencing the dxf file.
>
> I have tried to move the design using QAD and QAD did not find objects
> when I tried to select the design or any single line.
>
> I imported the file into LibreCAD and the file worked fine in that
> software.
>
> I imported the file into ArcGIS and I could not see the lines of the dxf
> file.
>
> I have attached a test dxf if someone wants to try it out and find a
> solution. The building is the Eugene Brucker Education Center 4100 Normal
> Street San Diego, CA 92103.
>
> Does anyone have any suggestions for georeferencing this file or any idea
> what the issue may be?
>
>
>
>
> --
> Sincerely,
> Linda Boisvert
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Merge Selected Features crash

2023-10-05 Per discussione Richard Greenwood via QGIS-User
I created a bug report with a small sample gpkg.
https://github.com/qgis/QGIS/issues/54856

On Thu, Oct 5, 2023 at 5:18 AM Antonio Viscomi via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hi Andrea, Richard,
> I Tried to replicate this issues on a temporary layer
> 1 - pasting 1244 from two different postgis layers with 4 attributes
> fiends in,
> 2 - I select them and use the merge button, aftera about a minutes I was
> able to merge without crashes or freeze
> so I think this is a local issue, probably due to an unsupported field
> type (i.e. like jsonb) in postgis db
> I' workin on Ubuntu server 22.04 LTS and my  asset is
>
>
>
> Versione di QGIS
>
> 3.32.3-Lima
>
> Revisione codice QGIS
>
> 67d46100b5 <https://github.com/qgis/QGIS/commit/67d46100b5>
>
> Versione Qt
>
> 5.15.3
>
> Versione Python
>
> 3.10.12
>
> Versione GDAL/OGR
>
> 3.4.1
>
> Versione PROJ
>
> 8.2.1
>
> Versione database del Registro EPSG
>
> v10.041 (2021-12-03)
>
> Compilato con GEOS
>
> 3.10.2-CAPI-1.16.0
>
> Esecuzione con GEOS
>
> 3.11.1-CAPI-1.17.1
>
> Versione SQLite
>
> 3.37.2
>
> Versione PDAL
>
> 2.3.0
>
> Versione client PostgreSQL
>
> 14.9 (Ubuntu 14.9-0ubuntu0.22.04.1)
>
> Versione SpatiaLite
>
> 5.0.1
>
> Versione QWT
>
> 6.1.4
>
> Versione QScintilla2
>
> 2.11.6
>
> Versione SO
>
> Ubuntu 22.04.3 LTS
>
> Plugins Python attivi
>
> pg_metadata
>
> 1.2.2
>
> SwapVectorDirection
>
> 0.9
>
> easy_labeling
>
> 1.1
>
> lizmap
>
> 3.17.0
>
> webmap_utilities
>
> 0.1
>
> path_sorting
>
> 0.3
>
> DataPlotly
>
> 4.0.3
>
> e_tracability
>
> 0.7
>
> ORStools
>
> 1.6.0
>
> profiletool
>
> 4.2.6
>
> Cluster-Analysis-plugin-main
>
> 1.0.1
>
> go2streetview
>
> 8.6
>
> clusterpoints
>
> 6.1
>
> line_profile
>
> 3.1.2
>
> processing_saga_nextgen
>
> 1.0.0
>
> dissect_dissolve_overlaps
>
> 0.3
>
> pg_raster_import
>
> 3.2.0
>
> corrector_vector
>
> 0.3.1
>
> BoundingBox
>
> 2.1
>
> db-style-manager
>
> 0.8
>
> StreetView
>
> 3.2
>
> HouseNumbering3
>
> version 0.0.5
>
> MultiJoin
>
> 1.0
>
> quick_map_services
>
> 0.19.33
>
> RenameField
>
> 0.1
>
> Qgis2threejs
>
> 2.7.1
>
> postgis_geoprocessing
>
> 0.9
>
> DAI
>
> 0.1
>
> profileexport
>
> 0.5.1
>
> CalculateGeometry
>
> 0.6.9
>
> citygen
>
> 0.3
>
> splitmultipart
>
> 1.0.0
>
> pgRoutingLayer
>
> 3.0.2
>
> ProcessX
>
> 1.5
>
> qquake
>
> 1.5
>
> DeepLearningTools
>
> 0.2.0
>
> QuickOSM
>
> 2.2.3
>
> veloroutes_voies_vertes
>
> 1.0.0
>
> tile_index_generator
>
> 1.0
>
> qgis_resource_sharing
>
> 1.0.0
>
> pluginbuilder3
>
> 3.2.1
>
> realcentroid
>
> 1.0.3
>
> gribdownloader
>
> 0.5
>
> GeometryShapes
>
> 0.7
>
> PostGISQueries
>
> 0.2
>
> xplan-umring
>
> 2.3.3
>
> timemanager
>
> 3.6
>
> OSMDownloader
>
> 1.0.3
>
> openlayers_plugin
>
> 2.0.0
>
> QuickWKT
>
> 3.1
>
> plugin_reloader
>
> 0.9.3
>
> postgis_toolbox
>
> 1.1
>
> grassprovider
>
> 2.12.99
>
> processing
>
> 2.12.99
>
> db_manager
>
> 0.1.20
>
> Best Regardes
>
> Antonio
>
>
> Il giorno gio 5 ott 2023 alle ore 10:51 Andrea Giudiceandrea via QGIS-User
>  ha scritto:
>
>> > Richard Greenwood richard.greenwood at gmail.com
>> > Wed Oct 4 09:39:12 PDT 2023
>>
>> > I believe this is a bug but I'm posting here first in case I'm
>> overlooking
>> > something obvious. Merge Selected Features is causing QGIS 3.32.3 to
>> crash
>> > (close without showing errors). However the same operation on the same
>> data
>> > in 3.28.11 doesn't crash.
>>
>> Hi Richard,
>> it seems to me it my be a bug, but it may be difficult to find the root
>> cause without a sample layer / project and exact steps to replicate the
>> issue.
>>
>> It would be great if you could check if the issue does occur using a
>> recent nightly build developer version of QGIS 3.33 and/or if you create
>> an issue report on https://github.com/qgis/QGIS/issues providing the
>> requested info.
>>
>> Best regards.
>>
>> Andrea
>> ___
>> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] Merge Selected Features crash

2023-10-04 Per discussione Richard Greenwood via QGIS-User
I believe this is a bug but I'm posting here first in case I'm overlooking
something obvious. Merge Selected Features is causing QGIS 3.32.3 to crash
(close without showing errors). However the same operation on the same data
in 3.28.11 doesn't crash. I copy features from a linestring or polygon
layer and paste them into a temporary memory layer. When I select the
features and use the Merge Selected Features tool on the temporary layer
QGIS closes. It appears to be related to attributes because if I remove all
of the fields from the temporary layer I can merge the features without a
crash. So far the source layers that I've used are postgis. I've tested
with a "clean" profile.

I'm running QGIS 3.32.3 and 3.28 on two different computers, both running
Linux Mint 21.2.

Is there any postmortem info that would help to understand the problem and
hopefully fix it?

Thanks for reading.

-- 
Richard W. Greenwood
www.greenwoodmap.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] Advanced digitizing tool feet/meters error

2023-07-21 Per discussione Richard Greenwood via QGIS-User
On Fri, Jul 21, 2023 at 4:26 PM Andrea Giudiceandrea via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> > Richard Greenwood richard.greenwood at gmail.com
> > Fri Jul 21 13:27:19 PDT 2023
>
> > I believe I'm seeing a regression in QGIS 3.32 in the advanced
> > digitizing tool. When I'm working on a layer with a coordinate system
> > that's in feet (and the project coordinate system is the same), distances
> > that I enter are being multiplied by 0.3048.  e.g. I enter 1000 and it
> > draws a line that's 304.8 feet.
>
> Hi Richard,
> maybe the PR at https://github.com/qgis/QGIS/pull/53037 is related to
> your issue.
>
> Best regards.
>
> Andrea
> ___
>

I didn't see anything obvious in that PR but the timeframe seems to be
about when I think the bug was introduced.

I reverted to 3.28 and the advanced digitizing tool works correctly so I do
think this is a bug and created https://github.com/qgis/QGIS/issues/53899

-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] Advanced digitizing tool feet/meters error

2023-07-21 Per discussione Richard Greenwood via QGIS-User
I believe I'm seeing a regression in QGIS 3.32 in the advanced
digitizing tool. When I'm working on a layer with a coordinate system
that's in feet (and the project coordinate system is the same), distances
that I enter are being multiplied by 0.3048.  e.g. I enter 1000 and it
draws a line that's 304.8 feet. The distance displayed by the advanced
digitizing tool correctly shows 1000.0 feet but the line that's drawn is
304.8 feet. Is there a new setting that I'm overlooking or is this a bug?

Thanks,
--
Richard W. Greenwood
www.greenwoodmap.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] what setting effect topological editing performance?

2023-04-09 Per discussione Richard Greenwood via QGIS-User
Adam,

Thanks for your suggestions. I added the layer to the slow project and it's
still slow. The project, and the layers in it, are generally responsive and
there's no especially complex styling. The issue is only when editing,
specifically editing nodes, with topological editing enabled, on PostGIS
layers (not memory layers or shapefiles).

 I also tried with a new, clean profile and it's still slow.

The PostGIS server is running on an AWS EC2 instance via an ssh tunnel. I'm
traveling and I went from a fairly fast internet to a slower one and the
slow project went from slow to very slow. So I guess that's a clue.

It's not a big deal, obviously I can recreate the project. I was mainly
curious since I have not run into this in other projects and I thought that
maybe I was overlooking something.

Rich


On Sun, Apr 9, 2023 at 6:03 AM Adam Nielsen via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> > I have an old project that is painful to edit with topological editing
> > activated. I put a couple of the layers into a new project and
> topological
> > editing is very quick. Specifically, in the old project, moving a single
> > node on a polygon with the vertex tool that does not require any
> additional
> > vertices to be moved takes about 2 minutes to complete but is nearly
> > instantaneous in the new project.
>
> What happens if you add the layer again to your existing project,
> following the exact same procedure as when you added it to the new
> project? (i.e. adding the PostGIS connection again from scratch).
>
> If that's fast then it would point to either an issue with the
> PostGIS connection or something to do with layer style.
>
> You could also try using the layer right-click menu to copy the styles
> from the old slow project to the new fast one to see if that also slows
> down the new project.  I wouldn't have thought it would be the styles
> causing the slowdown because although a re-rendering happens when
> editing the features, it also happens when dragging the map which you
> haven't said is slow, but it can't hurt to rule it out.
>
> Is it only slow when editing the features, or is it also slow when you
> first open the project and it's loading the list of features from the
> DB?  That could also hint at an issue with the DB connection.
>
> These are only guesses, but perhaps they might help narrow down the
> cause of the slowness.
>
> Cheers,
> Adam.
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] what setting effect topological editing performance?

2023-04-08 Per discussione Richard Greenwood via QGIS-User
I have an old project that is painful to edit with topological editing
activated. I put a couple of the layers into a new project and topological
editing is very quick. Specifically, in the old project, moving a single
node on a polygon with the vertex tool that does not require any additional
vertices to be moved takes about 2 minutes to complete but is nearly
instantaneous in the new project.

As a test I deleted all but two layers from the old project and it's still
unacceptably slow. So I'm pretty sure I have something amiss in my old
project. An obvious solution would be to build a new project but I'm kind
of lazy and it would be nice to know what I'm doing wrong. I've looked at
all of my snap settings and I believe they are the same between the fast
and slow project.

I'm running QGIS 3.30 and the layers are in a PostGIS db.

Thanks for reading.
Rich

-- 
Richard W. Greenwood
www.greenwoodmap.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] Adding the Ubuntu Repo in Linux Mint

2023-03-15 Per discussione Richard Greenwood via QGIS-User
I'm guessing that you are on version 21.x of Linux Mint. (You can check
your version at the command line by entering *cat /etc/issue*). At the
command line you can check that the Ubuntu QGIS repository is installed by
entering:
   *cat /etc/apt/sources.list.d/qgis.list*
if you get the following two lines then you're good to go.
   deb [arch=amd64] https://qgis.org/ubuntu jammy main
   deb-src [arch=amd64] https://qgis.org/ubuntu jammy main

Alternatively, you can check by using the GUI "Software Sources" >
"Additional Repositories" where you should see:
[image: image.png]



On Wed, Mar 15, 2023 at 6:04 AM Steve via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> I have thoroughly confused myself with this, hopefully someone can help.
> Following the instructions here:
>
> https://www.qgis.org/en/site/forusers/alldownloads.html#
>
> I did manage to install QGIS 3.30, but judging by the GUI software sources
> app in Mint, I have not added the repo, so I am concerned about receiving
> future updates.
> In the box under Ubuntu instructions, the components are there (such as
> URI and distro codename) but no word on how to order them or what commands
> to use to apply them.
>
> Should a user at my level perhaps uninstall the deb package and just
> download the flatpak version?
>
> Thank you!
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Opening ECW files in QGIS 3.22, Ubuntu 20

2022-09-26 Per discussione Richard Greenwood via Qgis-user
There is a docker version of GDAL that supports ECW and MrSID formats:
  https://hub.docker.com/r/klokantech/gdal
which you can use to convert images from those proprietary formats to an
open format. An example from my notes that converts from MrSID to GeoTIFF
and also reprojects using the docker image:

docker run -v /data:/dat \
  klokantech/gdal:latest gdalwarp -co "BIGTIFF=YES" -t_srs epsg:3857 \
  -dstnodata "255 255 255" -te -12245045 5198000 -11962321 5475624 \
  -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COMPRESS=JPEG -co
JPEG_QUALITY=85 -co PHOTOMETRIC=YCBCR \
  /dat/source.sid /dat/output.tif






On Wed, Sep 21, 2022 at 7:22 AM Rosa Lago via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hello
>
> I cannot open ECW files in QGIS 3.22. My operating system is Ubuntu 20.
> I have searched in the websites about it, but it seems instructions are
> obsolate.
>
> Please, could you help me with this problem give me some hints?
>
> Thanks a lot
>
> Rosa.
>
> --
> Rosa Lago Aurrekoetxea
> Teknologia Elektronikoa Saila / Dpto. Tecnología Electrónica.
> Bilboko Ingeniaritza Eskola / Escuela de Ingeniería de Bilbao.
> Euskal Herriko Unibertsitatea / Universidad del País Vasco.UPV/EHU
>
> Electronic Technology Department
> Faculty of Engineering in Bilbao
> University of the Basque Country UPV/EHU
> Tfnoa: +34946013993
>
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Georeferencer: where is it in UI?

2022-08-05 Per discussione Richard Greenwood via Qgis-user
On Fri, Aug 5, 2022 at 1:17 PM Thayer Young via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi Matt,
>
> A good strategy for finding stuff in QGIS, in addition to the
> documentation:
>   There is a search bar for stuff listed in the menus at the top of the
> user interface. It is the first listing in the Help menu at the top right.
> I know it works in MacOS.
>

That sounds very useful. I'm on Linux and I can't find what you describe. I
have a help downdown menu and a help toolbar. Neither have an interactive
search. Can you describe it in more detail or send a screenshot so that I
am sure that I'm just not seeing it?

Thanks,
Rich



For things that are not in the top menus you can use the search bar in the
> bottom left of the main QGIS window.
>
> -Thayer
>
>
> ===
>
> On Friday, August 5, 2022 at 01:53:33 PM EDT, <
> qgis-user-requ...@lists.osgeo.org> wrote:
> Date: Fri, 5 Aug 2022 10:48:46 -0700
> From: Matt Wilkie 
> To: qgis-user 
> Subject: Re: [Qgis-user] Georeferencer: where is it in UI?
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I'm back to Qgis after some time away. I read in v3.26 changelog that
> Georefencer can now handle vectors
> <
> https://www.qgis.org/en/site/forusers/visualchangelog326/index.html#feature-georeferencing-vector-layers-in-georeferencer
> >.
> Awesome! But, where is it supposed to be found in the user interface?
>
> Docs say it's in Raster
> <
> https://docs.qgis.org/3.22/en/docs/user_manual/working_with_raster/georeferencer.html
> >
> somewhere, which makes sense given the feature's heritage. But I don't see
> its
> icon  or the word
> 'Georeferencer' in any toolbar or in any of the menu items I have in my
> Qgis install, including under "Plugins >> Manage and Install" and the
> Processing Toolbox. How do I get to it?
>
> Thanks,
> -Matt
>
> ===
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Convert huge shapefile to small size

2022-07-28 Per discussione Richard Greenwood via Qgis-user
You could export the shapefile and use *Layer Options > RESIZE=YES*. This
is the same as the ogr2ogr switch *-lco RESIZE=YES*, which reduces the
attribute column widths down to their minimum width required to store
the longest actual value in the data. A dbf file allocates space for the
full column width even if it's empty. So for example if you have a
column width of 254 characters but the longest string is only 12
characters, your dbf will have a lot of wasted space in it. Resizing
the column would write out a new dbf with a column width of 12 characters.

On Thu, Jul 28, 2022 at 8:15 AM jhubbslist--- via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Past a point, trying to run a GIS app with very large data structures just
> doesn't work well. If you really need all the information you're carrying
> around for your analysis or whatever, you may need to reach for different
> tools or use the tools you have differently.
>
> I assume it's not so much the >5GiB of disk space that's the issue and
> that you've maxxed out the CPU, graphics, and disk I/O rate as much as is
> practical so mostly it's a matter of how long it takes maps etc. to paint
> onscreen. It may help you to move the heavy-lift onto PostgreSQL/PostGIS
> where you can make use of spatial indexing. Or, you can craft your
> operations the way you want them in QGIS but do the actual work with e.g.
> GDAL calls in Python. I spoke with someone a couple weeks ago whose
> particular GIS process worked better in GRASS than in QGIS, so that's
> something you might look into as well.
>
> On 7/28/22 7:52 AM, krishna Ayyala via Qgis-user wrote:
>
> dbf file itself is 5.1GB. Rest all other files are less than 500MB. It is
> the number of records which is huge. It has about 117,2100 points.
>
> On Thu, Jul 28, 2022 at 12:02 AM Bernd Vogelgesang via Qgis-user <
> qgis-user@lists.osgeo.org> wrote:
>
>> how big is the dbf file of that shape? Maybe you can also drop some
>> attributes.
>>
>> Am 28.07.22 um 03:46 schrieb krishna Ayyala via Qgis-user:
>> > Hello,
>> > I have a shapefile of 5GB in size. Is it possible to convert this
>> > shapefile to a smaller size file? It can be any format, not
>> > necessarily a shapefile. But, preferably a vector format. I tried to
>> > convert it into tiles, but that didn't work as it was losing the
>> > resolution. I am looking to convert this 5GB size file to about 500MB.
>> >
>> > Regards.
>> >
>> > ___
>> > 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 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Where is the georeferencer in 3.26

2022-06-30 Per discussione Richard Greenwood via Qgis-user
Thanks so much. I should have seen that myself!

On Thu, Jun 30, 2022 at 11:16 AM Sebastian Gutwein  wrote:

> Yes - because they added vector georeferencing it is now under the Layer
> menu.
>
> On Thu, Jun 30, 2022 at 1:04 PM Richard Greenwood via Qgis-user <
> qgis-user@lists.osgeo.org> wrote:
>
>> Has the raster>georeferencer menu item moved in 3.26? I can't find it in
>> my raster menu.
>>
>> --
>> Richard W. Greenwood
>> www.greenwoodmap.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
>>
>
>
> --
> ___
> Sebastian "Bas* " Gutwein
> *rhymes with Josh
>
> Regenerative Design Group
> 1 Chevalier Ave
> Greenfield, Ma 01301
> Web: regenerativedesigngroup.com
> (631) 241-1018
>
> *Look close, think big, make change. *
>


-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] Where is the georeferencer in 3.26

2022-06-30 Per discussione Richard Greenwood via Qgis-user
Has the raster>georeferencer menu item moved in 3.26? I can't find it in my
raster menu.

-- 
Richard W. Greenwood
www.greenwoodmap.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] Dimensioning in QGIS

2022-06-25 Per discussione Richard Greenwood via Qgis-user
On Sat, Jun 25, 2022 at 10:00 AM David Strip via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> To the extent that anyone is interested in a discussion of adding CAD-like
> dimensioning capabilities to Qgis:
>
> In a CAD model dimensional callouts present the user with information
> about lengths, angles, radii, and other metric properties. Dimension
> call-outs  in a CAD model (probably more accurately, a CAD drawing derived
> from a model) are annotations to the model, they are not model objects per
> se. In a well-designed system, the dimension call-out displays the actual
> metric value of identified length, radius, angle, etc. The dimension
> "object" is tied to the underlying geometric model and will change the
> presented value if the underlying object is changed (eg, scaled in size).
> In addition, if the underlying object moves with respect to other objects
> in the model, the dimension annotations move with it, maintaining a
> constant relationship, for example to the edge whose length we are
> dimensioning.
>

At the risk of stating the obvious, all of that can be done with labels in
QGIS. A simple line can be annotated with angle and distance, which are
dynamically updated when the line is modified. QGIS has the ability to move
labels relative to the object being labeled and supports "call outs" aka
"leader lines". Labels are not "model objects", in other words, labels are
saved in the QGIS project, not in the underlying data.

-- 
Richard W. Greenwood
www.greenwoodmap.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] how to convert a circular string into a standard linestring?

2022-06-14 Per discussione Richard Greenwood via Qgis-user
Thanks Nicolas. I'm using a memory layer. Copying the curve to a
type-constrained layer did convert it to a linestring approximating a curve
but the density tool gives more control.

On Tue, Jun 14, 2022, 4:49 PM Nicolas Cadieux 
wrote:

> Hi,
>
> Also, if your default file format is .shp, then, they will be converted
> automatically.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 14 juin 2022 à 15:28, Richard Greenwood via Qgis-user <
> qgis-user@lists.osgeo.org> a écrit :
>
> 
> Perfect, just what I needed. Thanks so much.
>
> On Tue, Jun 14, 2022 at 1:23 PM Alexandre Neto 
> wrote:
>
>> Hello Richard,
>>
>> Try to use the densify tools from the processing toolbox. Either densify
>> by count or densify by interval should work.
>>
>>
>> https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#densify-by-count
>>
>> The tools can be used as in-place mode, so you can select a specific
>> feature are run the tools without creating a new layer.
>>
>>
>> Alexandre Neto
>> Users support
>> www.qcooperative.net
>>
>> A terça, 14/06/2022, 19:24, Richard Greenwood via Qgis-user <
>> qgis-user@lists.osgeo.org> escreveu:
>>
>>> I used the Edit menu function "add Circular String" and got just what I
>>> wanted. But how can I convert it into a regular linestring with a bunch of
>>> vertices that approximate the curve? Specifically, I need to be able to
>>> trace the curve with the Split Features tool and trace it when drawing a
>>> polygon.
>>>
>>> Thanks
>>> --
>>> Richard W. Greenwood
>>> www.greenwoodmap.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
>>>
>>
>
> --
> Richard W. Greenwood
> www.greenwoodmap.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
>
>
___
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] how to convert a circular string into a standard linestring?

2022-06-14 Per discussione Richard Greenwood via Qgis-user
Perfect, just what I needed. Thanks so much.

On Tue, Jun 14, 2022 at 1:23 PM Alexandre Neto 
wrote:

> Hello Richard,
>
> Try to use the densify tools from the processing toolbox. Either densify
> by count or densify by interval should work.
>
>
> https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#densify-by-count
>
> The tools can be used as in-place mode, so you can select a specific
> feature are run the tools without creating a new layer.
>
>
> Alexandre Neto
> Users support
> www.qcooperative.net
>
> A terça, 14/06/2022, 19:24, Richard Greenwood via Qgis-user <
> qgis-user@lists.osgeo.org> escreveu:
>
>> I used the Edit menu function "add Circular String" and got just what I
>> wanted. But how can I convert it into a regular linestring with a bunch of
>> vertices that approximate the curve? Specifically, I need to be able to
>> trace the curve with the Split Features tool and trace it when drawing a
>> polygon.
>>
>> Thanks
>> --
>> Richard W. Greenwood
>> www.greenwoodmap.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
>>
>

-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] how to convert a circular string into a standard linestring?

2022-06-14 Per discussione Richard Greenwood via Qgis-user
I used the Edit menu function "add Circular String" and got just what I
wanted. But how can I convert it into a regular linestring with a bunch of
vertices that approximate the curve? Specifically, I need to be able to
trace the curve with the Split Features tool and trace it when drawing a
polygon.

Thanks
-- 
Richard W. Greenwood
www.greenwoodmap.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-CH mini workshop on construction tools

2022-05-11 Per discussione Richard Greenwood via Qgis-user
Is a recording of the workshop available online?

On Tue, May 10, 2022 at 2:46 AM Andreas Neumann via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Dear QGIS users,
>
> Tomorrow, Wed. May 11, 11:00 to 12:00am MET will be our QGIS-CH mini
> workshop on QGIS construction tools instructed by Denis Rouzaud.
>
> Infos: https://qgis.ch/en/events/qgis-ch-mini-workshop-construction-tools
> 
>
> You are welcome to join us on Google Meet: https://
> meet.google.com/cqd-kcvp-cby 
>
> Greetings,
>
> Andreas
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] shapefile import error

2022-03-03 Per discussione Richard Greenwood via Qgis-user
Do you have the "side car" files .shx and .dbf and possibly others?

On Thu, Mar 3, 2022 at 9:31 AM David Witton  wrote:

> Hello
>
> I'm pointing the Data source Manager|Vector at a .shp file and getting the
> error "Invalid Data Source". The file exists on an external drive, and the
> path is valid - any ideas on what could be causing this?
>
> --
> David Witton
> 307 413 2072
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] linux box accessing project-files on a windows server

2022-02-21 Per discussione Richard Greenwood
I did a quick test. I installed QGIS 3.22 on a Windows 7 computer, created
a project. Switched to Linux Mint, used the file manager to navigate to the
Windows computer, double clicked the project and it opened correctly. The
path that QGIS displays in the properties/info panel is:

Path

/run/user/1000/gvfs/smb-share:server=w7,share=c$/Temp/ASSESSOR_ROADS_2018_3.shp
I went back to the Windows computer, exported the shapefile to a gpkg,
saved the project. Reopened it in Mint, all good. QGIS info for the gpkg
layer:

Path

/run/user/1000/gvfs/smb-share:server=w7,share=c$/Temp/test.gpkg
I also tested putting the gpkg in a folder below the project file and
that opened correctly on the Linux computer.
So I suggest that you start with a simple test project. Also, the project
.qgz file is just a gzipped xml file. So you can unzip it, open the .qgs
file in a text editor and search for "source=" to see what path info has
been saved with the project.

Rich




On Mon, Feb 21, 2022 at 3:38 AM Thomas Struller 
wrote:

> Hallo Nicolas,
>
>
>
> thank you for your reply. All my project files are on one network drive
> and I prefer to use geopackages. Perhaps it the problem is, that I install
> qigs from flathub. I’m wondering about that I am the only one who uses qgis
> on linux and want’s to access project-files on a windows file server.
>
>
>
>
>
> Mit freundlichen Grüßen
>
>
>
>
>
> Thomas Struller
>
> Diplom Geologe (Univ.), BDG, V18
>
>
>
> *Sachverständiger nach BBodSchG §18,*
>
> *SG1 Historische Recherche*
>
> *SG2 Pfad Boden – Gewässer*
>
> *Akademischer Geoinformatiker*
>
>
>
>
>
>
>
>
>
> Tel:   0049 911 12076 111
>
> Mobil:   0049 170 33 20 494
>
> Mail: thomas.strul...@lga-geo.de
>
>
>
>
>
> LGA Institut für Umweltgeologie und Altlasten GmbH
>
> Christian-Hessel-Straße 1
>
> 90427 Nürnberg
>
> *i...@lga-geo.de *
>
> *www.LGA-geo.de *
>
>
>
>
>
>
>
> *Von:* Nicolas Cadieux 
> *Gesendet:* Montag, 21. Februar 2022 02:13
> *An:* Thomas Struller 
> *Cc:* qgis-user@lists.osgeo.org
> *Betreff:* Re: [Qgis-user] linux box accessing project-files on a windows
> server
>
>
>
> Hi,
>
>
>
> My guess is that the files you are using are, perhaps, in different
> drives. If you save with a relative path, I think it will work if you have
> files in a simple directory structure but if you have files from multiple
> drives, then perhaps QGIS is forced to uses a drive lettre like  c:\ and
> that would not go well on a Linux box.
>
>
>
> Just a guess
>
> Nicolas Cadieux
>
> https://gitlab.com/njacadieux
> 
>
>
>
> Le 19 févr. 2022 à 06:15, Thomas Struller  a
> écrit :
>
>  Hallo list,
>
> sometimes I use a linux mint box with qgis 3.22.3. I have to access
> qgis project files over vpn on a windows-fileserver.
>
> The problem, I can't open these projects. In Qgis (linux-box) i can
> browse to the directory on the windows-fileserver with the qgis-project
> file, but qgis opens a window that shows not available layers. In fact
> no layer of my projet is available.  On my windows box I stored the
> project files with relativ project-path and in qgz format.
>
> What do I not see or what I'm doing wrong?
>
>
> --
> Mit freundlichen Grüßen
>
>
> Thomas Struller
> Diplom Geologe (Univ.), BDG, V18
>
> Sachverständiger nach BBodSchG §18,
> SG1 Historische Recherche
> SG2 Pfad Boden – Gewässer
> Akademischer Geoinformatiker
>
>
> Tel:0049 911 12076 111
> Mobil:  0049 170 33 20 494
> Mail:   thomas.strul...@lga-geo.de
>
> LGA Institut für Umweltgeologie und Altlasten GmbH
> Christian-Hessel-Straße 1
> 90427 Nürnberg
>
>
> i...@lga-geo.de
> www.LGA-geo.de
> 
>
> ___
> 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: 

Re: [Qgis-user] installation - Linux - small problem with PREinstallation

2022-01-26 Per discussione Richard Greenwood
The "apt" package manager is looking for a 32 bit version of QGIS, which
doesn't exist and which you don't want. Adjust your
   /etc/apt/sources.list
to look something like:
   deb *[arch=amd64]* https://qgis.org/ubuntu-ltr focal main
   deb-src *[arch=amd64]* https://qgis.org/ubuntu-ltr focal main
for the LTR releases or:
   deb *[arch=amd64]* https://qgis.org/ubuntu focal main
   deb-src *[arch=amd64]* https://qgis.org/ubuntu focal main
for the current releases. The important part is in bold:  *[arch=amd64]* you
might not be on "focal".


On Wed, Jan 26, 2022 at 6:29 AM Gerard Frijters 
wrote:

> Hi everybody, I am using a Linux system, Ubuntu.
>
> I just have a little problem with the preinstallation of QGIS. Can any of
> you tell me how to fix this?
>
>
> https://www.qgis.org/en/site/forusers/alldownloads.html#linuxQuickstart
>
> Debian/Ubuntu
>
> sudo apt install gnupg software-properties-common
> wget -qO - https://qgis.org/downloads/qgis-2021.gpg.key | sudo gpg 
> --no-default-keyring --keyring 
> gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import
> sudo chmod a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg
> sudo add-apt-repository "deb https://qgis.org/ubuntu $(lsb_release -c -s) 
> main"
>
>
> Here I come across the following message:
>
> N: Skipping acquire of configured file 'main/binary-i386/Packages' as
> repository 'https://qgis.org/ubuntu focal InRelease' doesn't support
> architecture 'i386'
>
>
> The output of the last command:
>
> $ sudo add-apt-repository "deb https://qgis.org/ubuntu $(lsb_release -c
> -s) main"
>
> Hit:1 http://nl.archive.ubuntu.com/ubuntu focal InRelease
> Get:2 http://nl.archive.ubuntu.com/ubuntu focal-updates InRelease
> [114 kB]
> Hit:3 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal
> InRelease
> Hit:4 http://ppa.launchpad.net/linuxgndu/sqlitebrowser/ubuntu focal
> InRelease
> Get:5 http://nl.archive.ubuntu.com/ubuntu focal-backports InRelease
> [108 kB]
> Hit:6 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu focal
> InRelease
> Get:7 https://qgis.org/ubuntu focal InRelease [2.731
> B]
> Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114
> kB]
> Get:9 http://nl.archive.ubuntu.com/ubuntu focal-updates/main i386
> Packages [592 kB]
> Hit:10 https://download.sublimetext.com apt/dev/
> InRelease
> Get:11 http://nl.archive.ubuntu.com/ubuntu focal-updates/main amd64
> Packages [1.510 kB]
> Get:12 https://qgis.org/ubuntu focal/main amd64 Packages [26,4
> kB]
> Get:13 http://nl.archive.ubuntu.com/ubuntu focal-updates/main amd64
> DEP-11 Metadata [281 kB]
> Get:14 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe
> i386 Packages [664 kB]
> Get:15 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe
> amd64 Packages [894 kB]
> Get:16 http://security.ubuntu.com/ubuntu focal-security/main amd64
> DEP-11 Metadata [40,7 kB]
> Get:17 http://security.ubuntu.com/ubuntu focal-security/universe
> amd64 DEP-11 Metadata [66,4 kB]
> Get:18 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe
> amd64 DEP-11 Metadata [364 kB]
> Get:19 http://security.ubuntu.com/ubuntu focal-security/multiverse
> amd64 DEP-11 Metadata [2.464 B]
> Get:20 http://nl.archive.ubuntu.com/ubuntu focal-updates/multiverse
> amd64 DEP-11 Metadata [944 B]
> Get:21 http://nl.archive.ubuntu.com/ubuntu focal-backports/main amd64
> DEP-11 Metadata [7.988 B]
> Get:22 http://nl.archive.ubuntu.com/ubuntu focal-backports/universe
> amd64 DEP-11 Metadata [12,2 kB]
>
> Fetched 4.801 kB in 2s (2.797 kB/s)
> Reading package lists... Done
>
> N: Skipping acquire of configured file 'main/binary-i386/Packages' as
> repository 'https://qgis.org/ubuntu focal InRelease' doesn't support
> architecture 'i386'
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] Mosaic Datasets and Raster Catalogs in qGIS

2022-01-14 Per discussione Richard Greenwood
As Zoltan suggested, a .vrt is a good approach, but you will want overviews
also so that you can zoom out. You can create overviews (aka pyramids) of
.vrt files.

Personally, I'd suggest creating one, or a few, big GeoTIFFs with internal
or external overviews. I have a 4,400 sq mile (1,140,000 hectare) area of 3
inch and 6 inch RGB imagery that's in 8 files with with JPEG YCbCr
compression. Including overviews, the total size is 150GB and the
performance is excellent. Check out cloud optimized geotiffs. Despite the
name, they provide great performance and compression on local file systems
(and are obviously cloud ready if/when you need to server them from cloud
storage).

On Fri, Jan 14, 2022 at 1:50 PM Zoltan  wrote:

> Hi Jason,
> You just need to create a VRT.
> The vrt is just that:  a virtual raster table.
> Fiddle with the options and notice that you can mix rasters that have
> differing projection.
>
> Test out on maybe a 100 or so Raster files and when you get the feel for
> it,  dump the lot in. I've had >5000 files in  one with no hassles.
> Note that if you output your vrt file into the same folder as your
> rasters, when you recreate your vrt, it will read in your old one and go
> into a loop.
> I logged this as a bug and was told unceremoniously that it was not a bug.
>
> Btw, when you first load your vrt into qgis, have rendering turned off.
> Then set your zoom display scales before turning rendering on again. This
> will stop qgis from trying to display all your tasters if you happen to be
> zoomed out too far.
>
> Have fun, it works well.
>
> Regards
> Zoltan
>
> Sent from BlueMail 
> On 14 Jan 2022, at 21:45, Jason Aleksi  wrote:
>>
>> I am trying to add imagery in qGIS.  In ArcMap, I had to create a Mosaic
>> Dataset, then a Raster Catalog.  It tooks days to create due to the large
>> files and quantity of files.  I have 6 inch imagery of a county in a
>> folder.  The GeoTIFFs are about 308GB in size and approx 6,610 files (TIF
>> and TIFW).  When I attempt to create a raster layer, it will only pull in
>> 100 images.
>>
>> Will I have to create 305 Layers with 100 images each?  Or is there a
>> better way?  I'm at a loss for terms to even search for.  I feel I've
>> exhausted Google!  If there is a better way, could you possibly point me in
>> the right direction?
>>
>> FTW: I also have MrSID Tiles and Composites, in a separate directory.
>>
>> --
>>
>> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] representation of angles in QGIS - recalculation to arithmetic values

2021-12-06 Per discussione Richard Greenwood
g = (450-m) - int((450-m) / 360) * 360
where m = mathematical angle (0 east, anti-clockwise)
and g = geographic angle (0 north, clockwise)

On Mon, Dec 6, 2021 at 11:02 AM  wrote:

> Dear colleagues on the QGIS user list,
>
> have an urgent problem with the representation of arrows with a data
> defined angle in QGIS.
>
> Up to now the free GIS world lived with angles assuming north being 0,
> east being 90 degrees and so on clockwise until reaching north again (which
> might be 360 degrees as well). At least QGIS and many other GIS programs
> work such a way.
>
> But: Now I have encountered a new version - probably created in the ESRI
> world, perhaps for harassment or to create a distinctive new feature. This
> is called an arithmetic angle, having East for 0 degree, North for 90
> degrees and so on counter-clockwise !
> Actually I it's somehow hard to preserve my humour for this invention.
>
> Is there a simple possibility to recalculate the "normal" northed angles
> to the "arithmetic" easted angles ? It's not that easy, because the
> rotation is counter-clockwise.
>
> Should very urgently prepare some maps with flow arrows in QGIS which
> normally assumes northed (geographical) angles  The values got
> automatically exported from a simulation software with the arithmetic angle
> system, can't change that.  By the way this is meanwhile also demanded by
> south german agency as an output specification.
>
> Has somebody a clue how to solve such a problem in QGIS or how to
> recalculate from one to the other system ? Have about 5000 values, so
> little chance to get this done manually. At least not in time.
>
> Thanks a lot for a soon feed back,
> Christine
>
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] MapInfo export issue

2021-12-01 Per discussione Richard Greenwood
I don't know if this is related or helpful, but GDAL 3.0 doesn't produce
MapInfo TAB files with the correct coordinate system when the coordinate
system is in feet. GDAL 3.3 and 3.4 do work.

A suggestion would be to install GDAL 3.3 or 3.4 and use

ogr2ogr -f "MapInfo file" dest source


On Wed, Dec 1, 2021 at 10:41 AM Nicolas Cadieux 
wrote:

> Hi,
>
> If you send us a simple file (the original, the tab and mid mif version
> you created),  we could test on other versions of QGIS.  If you do this
> make sure we can correctly identify the proper location.  Use something
> like the outline of a building that we can find using Google earth as
> background image.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 1 déc. 2021 à 12:05, Paul Wittle  a
> écrit :
>
> 
>
> Hi,
>
>
>
> I’ve tried exporting to MIF instead of a tab file and it generates an
> error of “Found [region] while searching for [version]” when you try to
> load it into the MapInfo. The output is also creating an error when QGIS
> tries to load the data as well although I’m not sure if QGIS could ever
> directly load MIF files.
>
>
>
> The main issue is that if you save to TAB and select “Add saved file to
> map” it draws in a different place. This feels a bit wrong to me.
>
>
>
> In any case we are trying to get people to upgrade to the latest version
> of MapInfo so GeoPackage is supported. I will just advise our users to
> export to GeoPackage instead and use that as the main data sharing format
> instead.
>
>
>
> Thanks for all the tips and suggestions though.
>
>
>
> Paul
> This e-mail and any files transmitted with it are intended solely for the
> use of the individual or entity to whom they are addressed. It may contain
> unclassified but sensitive or protectively marked material and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this transmission in error please notify
> the sender immediately. All traffic may be subject to recording and/or
> monitoring in accordance with relevant legislation. Any views expressed in
> this message are those of the individual sender, except where the sender
> specifies and with authority, states them to be the views of Dorset
> Council. Dorset Council does not accept service of documents by fax or
> other electronic means. Virus checking: Whilst all reasonable steps have
> been taken to ensure that this electronic communication and its attachments
> whether encoded, encrypted or otherwise supplied are free from computer
> viruses, Dorset Council accepts no liability in respect of any loss, cost,
> damage or expense suffered as a result of accessing this message or any of
> its attachments. For information on how Dorset Council processes your
> information, please see www.dorsetcouncil.gov.uk/data-protection
> ___
> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] importing dwg/dxf

2021-11-21 Per discussione Richard Greenwood
Any AutoCAD drawing *can* be on real world coordinates. They're often not
because no real world coordinates were readily available for the project
and there wasn't a compelling need for real world coordinates. AutoCAD
Map3D and subsequent versions with different names like "Civil 3D" have
support for coordinate system conversions, but that doesn't mean that a
DWG/DXF that was produced in vanilla AutoCAD can't be on a real world
coordinate system.

AutoCAD is always Cartesian projected coordinates (not spherical geography)
so you can open a DXF into a QGIS project and then use the QGIS move tool
to move it onto whatever reference data you have in the project. The
AutoCAD data might be in different units that you need but you can take a
guess and use the QGIS scale tool. A common problem in the USA is an
AutoCAD file that's in inches but your project is in feet. So scaling by 12
fixes that. And QGIS has a rotate tool that allows for aligning
different "norths". So with the three QGIS tools move, scale and rotate you
can do an affine transformation. Maybe not as accurate or as clean as you
might hope for, but it's a solution that I've used many many times.

On Sun, Nov 21, 2021 at 11:59 AM Nicolas Cadieux <
njacadieux.git...@gmail.com> wrote:

> Hi,
>
> Only AutoCAD Map3D was a certain comprehension of what a CRS is.  To my
> knowledge all other Autodesk Pilotdo not used any CRS.  It is my honest
> opinion that AutoCAD Map is the worst attempt to make a GIS.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 21 nov. 2021 à 13:52, Bernd Vogelgesang  a
> écrit :
>
> 
> On 21.11.21 15:35, Nicolas Cadieux wrote:
>
> Hi,
>
> .dwg or dxf have no CRS.  They can be in inches, feet, mm, cm, m...
> Usually meter in a local CRS like a local WGS84 UTM ZONE is used.  You can
> usually find this in the metadata if available.
>
> Nicolas
>
> I have no deep technical insight into dwg or dxf, but I am pretty sure
> that those  CAD-"products" are able to be produced with valid coordinates,
> fitting to a common CRS. Most people using CAD-systems simply seem to be
> either too stupid for that, or just do not care.
>
> One of the reasons, CAD-"data" is produced with a local reference system
> instead with a normal CRS is, according to an CAD-operator I once asked
> about this, that some CAD-systems just slow down to in-operability when
> using real-world coordinates because of the huge numbers, compared to the
> small coordinates in their own system.
>
> So, I would not even try to fix this, but instead ask those guys to stop
> scratching their balls and better send you proper real-world data and tell
> you which CRS they are in . The handling of this "data" is punishment
> enough afterwords.
>
> Hope my dislike for this "technology" was not too obvious ;)
>
> Cheers,
>
> Bernd
>
>
>
> On 2021-11-21 9:07 a.m., Greg Troxel wrote:
>
> Boaz Bar Ilan   writes:
>
> i always have problem importing dwg or dxf .  the layers  dont fit the
> coardinations and even when i set the layers crs it doesnt work.
>
> I am far from an expert, but recently tried to deal with a dwg.
>
> My impression is that they are almost always in local coordinates, and
> the path to success is something like using GeoScience plugin to define
> a local CRS based on control points where you know global coordinates
> and local, and then to use that CRS for the data.
>
> I recently imported some "PNEZD" data (csv with point it, northing,
> easting, vertical, and description, all in an unspecified local grid,
> from a total station data collector) and used geoscience to align it
> wtih RTK obsservations of a few points, and things fit quite well.
>
> How are you getting dwg?  Are you using the proprietary dwg library with
> gdal, or is there some open source path?
>
> ___
> 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 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.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] user defined format for new bearing tool?

2021-11-03 Per discussione Richard Greenwood
Wow, that's a serious set of tools! I'm working in small areas with
projected cartesian coordinates so geodesic distances with forward and back
azimuths is a bit more than I was looking for. Beyond DMS, I need bearings
in the quadrant format used in United States land description like the
diagram below. I've figured out the code to format the bearings for
labeling but my Python skills aren't yet strong enough to make an
interactive tool like yours.
[image: image.png]
Thanks,
Rich

On Wed, Nov 3, 2021 at 8:53 AM C Hamilton  wrote:

> Richard,
>
> The Shape Tools plugin has a geodesic measure tool
> <https://github.com/NationalSecurityAgency/qgis-shapetools-plugin#--geodesic-measure-tool>
> that in addition to distance, displays the bearing to and bearing from two
> points. Right now it just displays in decimal degrees, but it wouldn't be
> difficult to add a setting option to display in a DMS format. Give it a try
> and let me know whether you think it would be helpful to include a DMS
> format.
>
> Thanks,
>
> Calvin
>
> On Tue, Nov 2, 2021 at 9:56 AM Richard Greenwood <
> richard.greenw...@gmail.com> wrote:
>
>> Is it possible for a user to add a format to the new bearing tool in
>> 3.22? Cadastral descriptions in the United States are usually expressed in
>> degrees, minutes, seconds in four quadrants e.g.
>>   N 45°27'18"W or S 15°07'54"E, etc.
>> I have a SQL expression below that I use for labeling in that format. I
>> would like to add it as a format option in the bearing tool.
>> concat(
>>   case
>> when degrees(azimuth(start_point($geometry), end_point($geometry)))<
>> 90
>>   then CONCAT('N',to_dms(degrees(azimuth(start_point($geometry),
>> end_point($geometry))), 'x',0,'aligned'))
>> when degrees(azimuth(start_point($geometry), end_point($geometry)))<
>> 180
>>   then CONCAT('S', to_dms(180 -
>> degrees(azimuth(start_point($geometry), end_point($geometry))),
>> 'x',0,'aligned'))
>> when degrees(azimuth(start_point($geometry), end_point($geometry)))<
>> 270
>>   then CONCAT('S', to_dms(degrees(azimuth(start_point($geometry),
>> end_point($geometry))) -180, 'x',0), '°W')
>> else
>>   CONCAT('N', to_dms(360 - degrees(azimuth(start_point($geometry),
>> end_point($geometry))), 'x',0), 'W')
>>   end
>> )
>>
>> --
>> Richard W. Greenwood
>> www.greenwoodmap.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
>>
>

-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] user defined format for new bearing tool?

2021-11-02 Per discussione Richard Greenwood
Is it possible for a user to add a format to the new bearing tool in 3.22?
Cadastral descriptions in the United States are usually expressed in
degrees, minutes, seconds in four quadrants e.g.
  N 45°27'18"W or S 15°07'54"E, etc.
I have a SQL expression below that I use for labeling in that format. I
would like to add it as a format option in the bearing tool.
concat(
  case
when degrees(azimuth(start_point($geometry), end_point($geometry)))< 90
  then CONCAT('N',to_dms(degrees(azimuth(start_point($geometry),
end_point($geometry))), 'x',0,'aligned'))
when degrees(azimuth(start_point($geometry), end_point($geometry)))< 180
  then CONCAT('S', to_dms(180 - degrees(azimuth(start_point($geometry),
end_point($geometry))), 'x',0,'aligned'))
when degrees(azimuth(start_point($geometry), end_point($geometry)))< 270
  then CONCAT('S', to_dms(degrees(azimuth(start_point($geometry),
end_point($geometry))) -180, 'x',0), '°W')
else
  CONCAT('N', to_dms(360 - degrees(azimuth(start_point($geometry),
end_point($geometry))), 'x',0), 'W')
  end
)

-- 
Richard W. Greenwood
www.greenwoodmap.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] Missing menu items in 3.22

2021-10-28 Per discussione Richard Greenwood
Thank you! That got everything back.

On Thu, Oct 28, 2021 at 11:23 AM DelazJ  wrote:

> Hi,
> If you can still get access to the Plugins menu, then enable the
> Processing plugin there. And it should be done. All the missing matters are
> provided through the Core Processing plugin.
>
> Regards,
> Harrissou
>
> Le jeu. 28 oct. 2021 à 19:10, Richard Greenwood <
> richard.greenw...@gmail.com> a écrit :
>
>> I'm on QGIS 3.22 from the qgis.org/ubuntu repo running on Linux Mint
>> 20.2. I didn't take any special action to get on 3.22, I just clicked
>> "Install Updates" in the update manager. My Vector menu does not have any
>> items in it and I no longer have a Processing menu nor do I see an option
>> to show the Processing panel. And my Raster menu only has three items in
>> it. Is there a menu reorganization that I'm not seeing? Or did I
>> inadvertently upgrade too soon?
>>
>> --
>> Richard W. Greenwood
>> www.greenwoodmap.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
>>
>

-- 
Richard W. Greenwood
www.greenwoodmap.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


[Qgis-user] Missing menu items in 3.22

2021-10-28 Per discussione Richard Greenwood
I'm on QGIS 3.22 from the qgis.org/ubuntu repo running on Linux Mint 20.2.
I didn't take any special action to get on 3.22, I just clicked "Install
Updates" in the update manager. My Vector menu does not have any items in
it and I no longer have a Processing menu nor do I see an option to show
the Processing panel. And my Raster menu only has three items in it. Is
there a menu reorganization that I'm not seeing? Or did I
inadvertently upgrade too soon?

-- 
Richard W. Greenwood
www.greenwoodmap.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 server in professional use?

2021-10-17 Per discussione Richard Greenwood
Posting again without screenshot, which apparently caused my previous email
to await moderator approval.

Mats,

I fired up a new Ubuntu 20.04 instance on AWS and did the following 5 steps
which got me an XML capabilities document.

# standard practice when starting a new instance
sudo apt update && sudo apt upgrade -y
# reboot if a new kernel was installed by apt upgrade
sudo reboot
# install qgis-server and apache web server
sudo apt install qgis-server apache2 libapache2-mod-fcgid
# enable apache fcgi and cgi
sudo a2enmod fcgi cgi
sudo systemctl restart apache2
# in a web browser you should now get an XML document from the following
request
http://IP-ADDRESS-OR-HOST-NAME
/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities

And 3 more steps got me a map

# load some test data
wget https://github.com/qgis/QGIS-Training-Data/archive/v2.0.zip
sudo apt install unzip
unzip v2.0.zip
# in a web browser you should get a map from the following request
http://IP-ADDRESS-OR-HOST-NAME
/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities=/home/ubuntu/QGIS-Training-Data-2.0/exercise_data/qgis-server-tutorial-data/world.qgs=countries=WMS=1.3.0=GetMap=EPSG:4326=400=200=-90,-180,90,180

The tutorial tries to cover a lot of ground, maybe too much. And the 8
steps above certainly don't cover enough for a production server. But it's
quite unfair to say that "QGIS Server is not ready for production". As
Donovan pointed out, there are a lot of moving parts and you have to have
some proficiency with all of them if you are doing it on your own.

The basic principle is that QGIS Server is serving WMS, WFS, WCS requests
via CGI (or Fast-CGI). Apache, Ngix, IIS, Tomcat all can serve CGI and
Fast-CGI. Pick whatever operating system and web server you're the most
proficient with. Install QGIS Server, start with the simplest configuration
that you can, as I did above. Then start tuning it to your needs. If you
run into problems ask for help on the list or
https://gis.stackexchange.com/ with
specific details as to what the problem is.

-- 
Richard W. Greenwood
www.greenwoodmap.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] Configuring QGIS server on Ubuntu 20.4

2021-10-04 Per discussione Richard Greenwood
On Mon, Oct 4, 2021 at 3:58 AM Mats Elfström 
wrote:

> Hi Richard!
> I should have mentioned that. The request you suggest gives a Not Found
> response.
>

In a default configuration, the files in /cgi-bin/ would be available to
all of the hosts on your server, but there are more than one places where
that might be blocked and it may not be worth your time to figure out where
or why.


> The request
>
> http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?service=WMS=getcapabilities
> gives
> *Project file error. For OWS services: please provide a SERVICE and a MAP
> parameter pointing to a valid QGIS project file*
> Doing that, like this
>
> http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities=/home/qgis/projects/my_12.qgz
> I get the wanted XML file. I would like to query the catalogue instead of
> a single project file.
>

I don't know qgis_mapserver well enough to comment on catalogues.

Generally you don't want the path to the project file to be visible in the
URL because it's considered a security concern. Again, I'm not a regular
qgis_mapserver user, but the mapserver documentation has some useful
suggestions:
https://mapserver.gis.umn.edu/ogc/wms_server.html#changing-the-online-resource-url

And like I said, the same request is valid for QGIS desktop *on the same
> machine*.
> A similar request, using the DNS name for the server, from the outside
>
> http://geonet.se/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities=/home/qgis/projects/my_12.qgz
> gives a 404 not found response.
>

I believe in a previous email you said that other resources on geonet.se
were accessible from the outside which indicates that your DNS is correctly
pointing to your server. In which case I'm guessing that it's an issue with
the Apache  configuration. It needs to be accepting all
requests to port 80, for example  but you probably don't
even need a virtualhost so try just commenting it out.


> *Conclusion*: QGIS Server is running behind the firewall but not
> accessible from the outside, *which of course is the purpose for my
> concept*.
>

Do you really have a true firewall, or is it your Apache configuration?
Like maybe your virtual host.


> *Comment on other replies*: I am not saying that QGIS server is not ready
> for production or immature. On the contrary, it seems well documented and
> ready. I seem to recall that it also is OCG compliant and certified.
> *But * I am saying that the instructions for installation and
> configuration, particularly for the interaction between QGIS Server and the
> http engine are insufficient and sketchy. Regardless of OS, apparently.
>

Yeah, I hear you. I haven't actually read the documentation. But don't give
up. If I didn't have 10k lines of .map files I'd be looking at qgis_server
very seriously.

-- 
Richard W. Greenwood, PLS
www.greenwoodmap.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] Configuring QGIS server on Ubuntu 20.4

2021-10-03 Per discussione Richard Greenwood
I don't think that it's fair to suggest that QGIS Server isn't ready for
prime time based on one user's difficulty with getting it set up. I am
relatively new to QGIS and QGIS Server but I found the setup pretty
straight forward and familiar, probably because I have used CGI, FastCGI
and MapServer  a lot. If the tables were turned and
I had to set up GeoServer on TomCat I'm sure that I would have a lot of
difficulty, but that wouldn't mean that GeoServer was flawed. I've set up
PHP on a lot of servers but when I have to do it on Windows IIS I need
quite a few very strong cocktails afterwards.

Rich

On Sun, Oct 3, 2021 at 8:21 AM Mike Flannigan  wrote:

>
> Thanks for saying this.  I want to move to the QGIS server
> format one day, but will hold off a bit longer.  The QGIS
> people have made amazing progress.  It really is a great
> product.  But maybe their growth has outstripped their resources
> in a few areas.
>
>
> Mike
>
>
> On 9/30/21 2:00 PM, qgis-user-requ...@lists.osgeo.org wrote:
> > Date: Thu, 30 Sep 2021 20:17:54 +0200
> > From: Mats Elfstr?m
> > To: qgis-user
> > Subject: [Qgis-user] Configuring QGIS server on Ubuntu 20.4
> >
> >
> > Hi!
> > I am setting up a Geodata stack. I have installed PostgreSQL/Postgis and
> > Geoserver under Tomcat9 and FME:d a lot of data to PostGIS. All is up and
> > running.
> > Then I installed QGIS 3.20. No problems so far. Then I decided to try
> QGIS
> > server as an alternative to Geoserver. But I am having trouble
> configuring
> > QGIS server, or Apache2 rather.
> > Over the past 5-6 years, I have spent more time and energy than I care to
> > mention trying to make QGIS server run on Windows servers. Asking for
> > advice on those occasions, I have more than once got the advice to use
> > Linux instead, since no QGIS developers really know Windows servers. And
> > Linux would be much easier.
> > Fair enough. So now I am on Ubuntu, sudoing this and that and it works
> > pretty well.
> > Apart from QGIS server. I find the same mess of incomplete or
> contradictory
> > instructions. No wonder QGIS server is under-used.
> > If Linux(Ubuntu) is so simple, how come no one has put together a working
> > script to configure and deploy QGIS server on a standard setup?
> > I am most disappointed, having spent yet 5 hrs that I will never get back
> > on QGIS server.
> >
> > Regards, Mats.E
>
>
> ___
> 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
>


-- 
Richard W. Greenwood, PLS
www.greenwoodmap.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] Configuring QGIS server on Ubuntu 20.4

2021-10-02 Per discussione Richard Greenwood
On Sat, Oct 2, 2021 at 10:02 AM Mats Elfström 
wrote:

> Hi!
> Let me just recuperate that the goal for QGIS server is to be used as a
> map and data server for webmaps on MapStore and to be harvestable by
> Geonetwork for a metadata catalogue. MapStore and Geonetwork are running on
> another machine. QGIS server shall run on a Ubuntu machine, along with data
> in PostGIS. The address for this machine is http://geonet.se
> Essentially, I see QGIS Server as an equivalent to Geoserver but with
> outstanding design capabilities.
>
> Here comes a run-through of an attempt to install QGIS server on an Ubuntu
> 20.4 system, using these instructions:
>
> https://docs.qgis.org/testing/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems
> The first step is to install QGIS, according to this page
> https://qgis.org/en/site/forusers/alldownloads.html
> I opted to install qgis-server by adding that in the last command as
> suggested.
> No problems so far. Only, when returning to the first manual page, I see
> that I probably should have installed the LTR version instead of 3.20. If
> this is important, the user should be advised earlier, and instructed how
> to get the LTR version. For this review I will continue with 3.20.
> Next, the user is again advised to install qgis-server and optionally
> python-qgis. The motive for this is rather unclear at this stage, but I
> chose to install python as advised.
> Testing the installation by calling the fcgi seems to give a correct
> response, even if it differs from the two samples. Notice error code 302
> for instance.
> root@geonet:~# /usr/lib/cgi-bin/qgis_mapserv.fcgi
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
> variable.
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
> variable.
> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
> environment variable.
> "Loading native module /usr/lib/qgis/server/libdummy.so"
> "Loading native module /usr/lib/qgis/server/liblandingpage.so"
> "Loading native module /usr/lib/qgis/server/libwcs.so"
> "Loading native module /usr/lib/qgis/server/libwfs.so"
> "Loading native module /usr/lib/qgis/server/libwfs3.so"
> "Loading native module /usr/lib/qgis/server/libwms.so"
> "Loading native module /usr/lib/qgis/server/libwmts.so"
> Content-Length: 0
> Location: http:/index.json
> Server:  QGIS FCGI server - QGIS version 3.20.3-Odense
> Status:  302
>
> Next, it is suggested that I download a QGIS project or ‘use your own’ so
> I manually created the /home/qgis/projects/ folder, and then saved a simple
> QGIS project file to the folder. By default, this was saved in the qgz
> format.
> Then an HTTP server is needed.
> A note says *In the following, please replace localhost with the name or
> IP address of your server.*
> But localhost only appears in the string webmaster@localhost where it
> probably does not matter. There is no other mention of localhost in the
> configuration file.
> I go on to install Apache, as I have never used NGINX.
> *You can run QGIS Server on your default website*
> This is probably what I would want to do, but I do not know how, so I go
> on to create a virtualhost as instructed by the name qgis.demo. I make the
> log and qgisserverdb folders as instructed and set their permissions. Then
> I enable fcgid and the site qgis.demo. The last command advises to run
> systemctl reload apache2, but the manual suggests systemctl restart
> apache2. I do both just to make sure. Then comes a tricky part, adding the
> virtualhost to the hosts file. After that operation, it contains this. Note
> that the server IP address got two definitions. I am bothered by this.
> 127.0.0.1   localhost
> ::1 localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> # Auto-generated hostname. Please do not remove this comment.
> 206.72.203.32 geonet.se geonet
> 206.72.203.32 qgis.demo
>
> Calling
> http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities
> from within the server gives
>
>
> *Project file error. For OWS services: please provide a
> SERVICE and a MAP parameter pointing to a valid QGIS project
> file*
>
> This seems correct. However, there is a totally confusing note here.
> *Remember that both the myhost.conf and /etc/hosts files should be
> configured for your setup to work. You can also test the access to your
> QGIS Server from other clients on the network (e.g. Windows or macOS
> machines) by going to their /etc/hosts file and point the myhost name to
> whatever IP the server machine has on the network (not 127.0.0.1 as it is
> the local IP, only accessible from the local machine). On *nix machines the
> hosts file is located in /etc, while on Windows it’s under the
> C:\Windows\System32\drivers\etc directory. Under Windows you need to start
> your text editor with administrator privileges before opening the hosts
> file.*
> What is myhost.conf and what 

Re: [Qgis-user] Labels

2021-08-23 Per discussione Richard Greenwood
Sure. Use the Expression builder. You get to it by press the ∑ button to
the righ of the value drop down list. Then enter the fields in double
quotes concatenated with +, for example:
   "Town" + "Date"
If you need a space or other text, enclose it in single quotes. For example:
   "Town" + ' Established: ' + "Date"
and a new line can be added with \n (backslash n):
   "Town" + '\nEstablished: ' + "Date"

On Mon, Aug 23, 2021 at 4:33 PM Pat Brown  wrote:

> Is it possible to use two variables as labels? I have a table with town
> names and another column with dates established. I would like both the name
> and date as labels
>
> 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
>


-- 
Richard W. Greenwood, PLS
www.greenwoodmap.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] Bug with GeoPackage and Expressions?

2021-07-29 Per discussione Richard Greenwood
On Wed, Jul 28, 2021 at 2:08 PM C Hamilton  wrote:

> Thanks everyone for that explanation. This does complicate the ability to
> set an expression filter in a plugin when it depends on the data source
> type. I'm not sure what to do about that.
>

Convert both arguments to upper (or lower) case:
   upper("NAME") like upper( '%Bom%')



On Wed, Jul 28, 2021 at 8:00 PM Anita Graser  wrote:
>
>> Hi Calvin,
>>
>> 28 Jul 2021 21:43:40 C Hamilton :
>> > If I use LIKE instead of ILIKE then it works. It is like ILIKE was not
>> implemented for GeoPackage. Can anyone verify this?
>>
>> Yes, there seems to be no iLike in sqlite:
>>
>>
>> https://stackoverflow.com/questions/15480319/case-sensitive-and-insensitive-like-in-sqlite
>>
>> And therefore neither in geopackage.
>>
>> Regards
>> Anita
>>
> ___
> 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
>


-- 
Richard W. Greenwood, PLS
www.greenwoodmap.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] 3.20.1 fails on Linux Mint

2021-07-21 Per discussione Richard Greenwood
Same here -
removing ~/.local/share/QGIS/QGIS3/profiles/default/symbology-style.db
fixes the issue.

Many thanks!
Rich

On Wed, Jul 21, 2021 at 11:47 AM Fernando M. Roxo da Motta 
wrote:

> On Wed, 21 Jul 2021 13:05:14 -0400, Randal Hale
>  wrote:
>
>
> > Removing the
> > ~/.local/share/QGIS/QGIS3/profiles/default/symbology-style.db worked
> > for me - it was recreated upon startup.
>
>   Just tried and it worked.
>
>   Sdls.
>
> >
> > Randy
> >
> >
> > On 7/21/21 12:56 PM, Andrea Giudiceandrea wrote:
> > > Il 21/07/2021 18:42, Andrea Giudiceandrea ha scritto:
> > >
> > >> See https://github.com/qgis/QGIS/issues/44299 for some
> > >> workarounds: it seems the isse is related to the
> > >> "symbology-style.db" file in the profile folder.
> > >
> > > The correct link to the Issue on GitHub is
> > > https://github.com/qgis/QGIS/issues/44293.
> > >
> > > Regards.
> > >
> > > Andrea
> > > ___
> > > 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
> >
>
>
>
>
>
>
>
>
>   Roxo
>
> --
>  Non luctari, ludare ---+ WYSIWYG
> Fernando M. Roxo da Motta   | Editor?
> Except where explicitly stated I speak on my own behalf.|  VI !!
> PU5RXO | PX5Q6048   | I see text,
>  Quis custodiet ipsos custodes?-+ I get text!
>
> ___
> 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
>


-- 
Richard W. Greenwood, PLS
www.greenwoodmap.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


[Qgis-user] 3.20.1 fails on Linux Mint

2021-07-21 Per discussione Richard Greenwood
I just upgraded from 3.20.0 to 3.20.1 on Linux Mint 20.1. Qgis doesn't
start, or more accurately, I don't get a GUI interface. I can see the
qgis.bin process running and using 100% of one core, so I guess it's hung.
I uninstalled, reinstalled, rebooted, same result. Suggestions?

-- 
Richard W. Greenwood, PLS
www.greenwoodmap.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] Which android tablet

2012-07-12 Per discussione Richard Greenwood
As others have noted, your image performance is very bad. You can
convert your JP2 to TIFF with internal JPEG compression with
gdal_translate. You will get similar file size but I think much better
performance. Something like:

gdal_translate sourceImage.jp2 outputImage.tif -co COMPRESS=JPEG -co
PHOTOMETRIC=YCBCR

You can also use GDAL to add overviews (pyramid) with the following:

gdaladdo.exe --config COMPRESS_OVERVIEW JPEG -r average -ro --config
PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL
sourceImage.jp2f 2 4 8 16 32 64 128

Rich

On Thu, Jul 12, 2012 at 4:11 AM, Tim Sutton li...@linfiniti.com wrote:
 Hi

 On Thu, Jul 12, 2012 at 12:01 PM, Bernhard Ströbl
 bernhard.stro...@jena.de wrote:


 Am 12.07.2012 11:48, schrieb watercr...@gmx.de:

 Hi,

 has anyone tested the performance of qgis on android.

 I want to collect and store the position of 50 trouts tagged with radio
 transmitters directly in the field.


 What I did so far:
 I have to aim at the targets from different locations at the river bank.
 What I do now is simply draw lines on printed orthophotos. The fish is
 located where the lines intersect. It is always quite a mess to
 determine your own position. I could save the origin with a gps-device
 but this takes too much time, would include postprocessing and adding
 another step will increase the source of error.

 ... and it is not possible to walk into the stream ...


 I am thinking of using a tablet, locally store the orthophotos (5 to 8
 pieces, format: .jp2, each around 130 MB) and save the points (e.g.
 postgis). All metadata could be entered at once. No paper work. I know
 where I am and can easily store, edit,.. fish data in the field.

 But I am bit worried about the performance. I takes about two til four
 minutes to load those raster-layers at my desktop (Ubuntu 12.04, 16GB
 Ram, QuadCore,...). The performance appears very poor.


 This is weird. I am not a specialist with raster formats but one of my
 aerial photos (geotif) 281 MB loads and displays within seconds, this is
 with pyramids (maybe you need to build these?)
 I even put some 50 of these photos into a GDAL virtual raster (VRT), it
 takes some 20 seconds to load but displays almost immediately.
 My machine is similar to yours hardwarewise (less RAM, though) running
 OpenSUSE 64 bit.


 I think the jp2 drivers are quite slow. A nice solution is to load
 your rasters into an mbtiles sqlite database - its not the best for
 size, but its very good for performance.

 Note it needs a recent (unreleased?) version of GDAL.. Otherwise
 convert your data to tiffs as Bernhard has done and optimise them for
 performace by e.g. creating pyramids.

 Regards

 Tim

 Bernhard



 What can I expect from a tablet solution? Anything missing in my chain
 of thoughts?

 I really appreciate any hints, ideas ,..I also would like to contribute
 my experience as a case study for the qgis-website.

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




 __ Information from ESET Mail Security, version of virus signature
 database 7291 (20120712) __

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



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



 --
 Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
 ==
 Please do not email me off-list with technical
 support questions. Using the lists will gain
 more exposure for your issues and the knowledge
 surrounding your issue will be shared with all.

 Visit http://linfiniti.com to find out about:
  * QGIS programming and support services
  * Mapserver and PostGIS based hosting plans
  * FOSS Consulting Services
 Skype: timlinux
 Irc: timlinux on #qgis at freenode.net
 ==
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] unique id in postgis view

2012-06-17 Per discussione Richard Greenwood
QGIS wants a unique id on postgis layers, so I created a view that includes:

   ROW_NUMBER() OVER (ORDER BY mytable.ogc_fid ASC) AS row_num,

which seems to be a standard way to create a unique id on a view [1]
but QGIS does not see the row_num, i.e. it is not listed in the No
Suitable Key Column dialog box that lists the columns in the view and
explains why each is unsuitable.

What am I doing wrong?

Thanks,
Rich


[1] 
http://gis.stackexchange.com/questions/12233/in-postgis-is-it-possible-to-create-a-view-with-a-unique-id

-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Dissolve a line layer?

2012-06-08 Per discussione Richard Greenwood
On Fri, Jun 8, 2012 at 12:30 AM, magerlin m...@ramboll.dk wrote:
 I've got a road network which is broken down to a lot of very short sections.
 Theese I would like to join by the road name to just get one feature per
 road name.

 If it had been a polygon layer I could have used the Vector - Geoprocessing
 - Dissolve tool, but it is only for polygons.

 I am aware that I can do it manually either 2 sections at a time by the
 Join two lines plugin or more sections at a time by using the Merge
 selected features button in the Advanced Digitizing toolbar. But there are
 far to many sections to do this by hand

 Any suggestions?

 -
 Regards Morten

I am new to qGIS and I do not know of a 'native' way to accomplish
your goal, but if you use PostGIS then ST_LineMerge() would do the
trick. It is an aggregate function, so something like:

INSERT INTO road(wkb_geometry, name )
SELECT
ST_LineMerge(st_collect(wkb_geometry)) as wkb_geometry, name
 from road_segments group by name;

-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user