[Qgis-user] Issue with Building Virtual Point Cloud (VPC)

2024-02-13 Thread Mike Treglia via QGIS-User
Hi all,

I have a folder with a LOT of point cloud files (1,740) - all stored as
cloud optimized point clouds (COPCs), which were converted from .las files
via QGIS. I'm trying to build a virtual point cloud via QGIS, selecting the
folder with all of the COPCs. However as its running, fairly on, it stops
running and I get a message "incorrect parameter value for layers."

I'm not finding any log files, and no .vpc file is created.

Any suggestions for troubleshooting and such? They are all from the same
source, for the same general geographic area, so while I haven't checked
all of the CRS information is the same, anticipate it should be across all
of these files.

And in case it helps, below is the "About" info for my install

Best,
Mike


QGIS version

3.34.3-Prizren

QGIS code revision

47373234ac 

Qt version

5.15.3

Python version

3.9.18

GDAL/OGR version

3.8.3

PROJ version

9.3.1

EPSG Registry database version

v10.098 (2023-11-24)

GEOS version

3.12.1-CAPI-1.18.1

SQLite version

3.41.1

PDAL version

2.6.0

PostgreSQL client version

15.2

SpatiaLite version

5.1.0

QWT version

6.1.6

QScintilla2 version

2.13.4

OS version

Windows 10 Version 2009




Active Python plugins

BivariateRenderer

1.0.1

DataPlotly

3.9

PeliasGeocoding

0.1

pg_metadata

1.2.2

postgis_geoprocessing

0.9

qgis2web

3.16.0

quick_map_services

0.19.29

Socrata

2.2

valuetool

3.0.15

db_manager

0.1.20

MetaSearch

0.3.6

processing

2.12.99
___
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] Possibility for Labels as Hyperlinks in PDF Output?

2023-09-12 Thread Mike Treglia via QGIS-User
Thanks, Em,
That's a great suggestion! It seems like it might have broader utility, so
will definitely file a feature request in GitHub.
Best,
Mike

On Mon, Sep 11, 2023 at 9:38 PM Emma Hain  wrote:

> Hi Mike
> I've done a search for a feature request for this for QGIS.
> <https://github.com/qgis/QGIS/issues>
> I can't see anything, I see similar things but not actually what you are
> asking. You may want to include this as a new feature request as it is
> kinda cool.
>
> Cheers
> Em
>
> On Tue, 12 Sept 2023 at 04:57, Mike Treglia via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> Thanks, Keith, for pointing me to that documentation.
>>
>> That's really helpful. I guess I had gotten confused with some
>> functionality with web-map exports in  QGIS2Web - leaflet maps - in that
>> form, a field with an html-formatted hyperlink would function as a
>> hyperlink (though a hyperlink label still just seems to be formatted as a
>> link, but not function as one.)
>>
>> I also see that in the Print Composer, manually using the "Add Label"
>> functionality enables one to include html-formatted hyperlinks, which
>> function in exported PDFs (when "render as html" is checked in the label
>> properties in the print composer).  So, it looks like there is almost the
>> functionality I'm looking for, but not quite.  If there's a way to place
>> labels from a map layer in a print composer in the right spots, that could
>> potentially work, but that seems challenging - I can't wrap my brain around
>> how that would functionally even work.
>>
>> Welcome any other ideas folks have, or how others have worked through
>> this.  It seems like the alternative options to doing this fully in QGIS
>> would involve exporting the PDF and working in PDF-editing software to
>> incorporate the links.
>>
>> Best,
>> Mike
>>
>>
>>
>> On Mon, Sep 11, 2023 at 11:10 AM Keith Jenkins 
>> wrote:
>>
>>> I don't think the label "HTML formatting" currently supports links.
>>> The supported HTML is just a subset of HTML, mainly focused on visual
>>> styles:
>>>
>>> """
>>> The HTML formatting option enables the proper rendering of some HTML
>>> tags to customize the label. The supported HTML tags are:
>>>
>>> * Color, applicable to text, underline, strikethrough, and overline
>>> * Font properties (font family, font size, bold and italic)
>>> * Superscript and subscript components in text
>>> """
>>>
>>> https://docs.qgis.org/testing/en/docs/user_manual/style_library/label_settings.html#text-tab
>>>
>>> Keith
>>>
>>> On Mon, Sep 11, 2023 at 9:28 AM Mike Treglia via QGIS-User
>>>  wrote:
>>> >
>>> > Hi all,
>>> >
>>> > Working on a project where the desired output is PDF map, where the
>>> labels are hyperlinks. From searching around, it seems like there are, at
>>> least historically, some challenges related to this functionality and Qt,
>>> which might still be present?
>>> >
>>> > I'm finding that in the Print Composer in QGIS, I can add a label that
>>> functions as a hyperlink in an exported PDF (using the "render as HTML"
>>> functionality"), but labels associated with a layer, placed in the main map
>>> window, do not function as hyperlinks when exported as a PDF.
>>> >
>>> > Thus, wanted to check if maybe either I'm missing something - like
>>> this is/should be possible, or if not directly, maybe there's an efficient
>>> work-around?  I'm working in QGIS 3.32-2 most immediately for testing this,
>>> on Windows.
>>> >
>>> > Thanks, all, for any insights!
>>> > Mike
>>> >
>>> >
>>> > ___
>>> > QGIS-User mailing list
>>> > QGIS-User@lists.osgeo.org
>>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>> ___
>> 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
>>
>
>
> --
> Emma Hain — Product Manager/Senior GIS Analyst
> e...@north-road.com / 0414 512 782
> [image: https://north-road.com]
> *North Road*
> Cartography • Development • Spatial Analysis
> --
> *north-road.com* <http://north-road.com>
> <https://twitter.com/northroadgeo>
> <https://www.linkedin.com/company/north-road-studios>
> <https://www.facebook.com/North-Road-997236690392419/home>
>
>
___
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] Possibility for Labels as Hyperlinks in PDF Output?

2023-09-11 Thread Mike Treglia via QGIS-User
Thanks, Keith, for pointing me to that documentation.

That's really helpful. I guess I had gotten confused with some
functionality with web-map exports in  QGIS2Web - leaflet maps - in that
form, a field with an html-formatted hyperlink would function as a
hyperlink (though a hyperlink label still just seems to be formatted as a
link, but not function as one.)

I also see that in the Print Composer, manually using the "Add Label"
functionality enables one to include html-formatted hyperlinks, which
function in exported PDFs (when "render as html" is checked in the label
properties in the print composer).  So, it looks like there is almost the
functionality I'm looking for, but not quite.  If there's a way to place
labels from a map layer in a print composer in the right spots, that could
potentially work, but that seems challenging - I can't wrap my brain around
how that would functionally even work.

Welcome any other ideas folks have, or how others have worked through
this.  It seems like the alternative options to doing this fully in QGIS
would involve exporting the PDF and working in PDF-editing software to
incorporate the links.

Best,
Mike



On Mon, Sep 11, 2023 at 11:10 AM Keith Jenkins  wrote:

> I don't think the label "HTML formatting" currently supports links.
> The supported HTML is just a subset of HTML, mainly focused on visual
> styles:
>
> """
> The HTML formatting option enables the proper rendering of some HTML
> tags to customize the label. The supported HTML tags are:
>
> * Color, applicable to text, underline, strikethrough, and overline
> * Font properties (font family, font size, bold and italic)
> * Superscript and subscript components in text
> """
>
> https://docs.qgis.org/testing/en/docs/user_manual/style_library/label_settings.html#text-tab
>
> Keith
>
> On Mon, Sep 11, 2023 at 9:28 AM Mike Treglia via QGIS-User
>  wrote:
> >
> > Hi all,
> >
> > Working on a project where the desired output is PDF map, where the
> labels are hyperlinks. From searching around, it seems like there are, at
> least historically, some challenges related to this functionality and Qt,
> which might still be present?
> >
> > I'm finding that in the Print Composer in QGIS, I can add a label that
> functions as a hyperlink in an exported PDF (using the "render as HTML"
> functionality"), but labels associated with a layer, placed in the main map
> window, do not function as hyperlinks when exported as a PDF.
> >
> > Thus, wanted to check if maybe either I'm missing something - like this
> is/should be possible, or if not directly, maybe there's an efficient
> work-around?  I'm working in QGIS 3.32-2 most immediately for testing this,
> on Windows.
> >
> > Thanks, all, for any insights!
> > Mike
> >
> >
> > ___
> > QGIS-User mailing list
> > QGIS-User@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
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] Possibility for Labels as Hyperlinks in PDF Output?

2023-09-11 Thread Mike Treglia via QGIS-User
Hi all,

Working on a project where the desired output is PDF map, where the labels
are hyperlinks. From searching around, it seems like there are, at least
historically, some challenges related to this functionality and Qt, which
might still be present?

I'm finding that in the Print Composer in QGIS, I can add a label that
functions as a hyperlink in an exported PDF (using the "render as HTML"
functionality"), but labels associated with a layer, placed in the main map
window, do not function as hyperlinks when exported as a PDF.

Thus, wanted to check if maybe either I'm missing something - like this
is/should be possible, or if not directly, maybe there's an efficient
work-around?  I'm working in QGIS 3.32-2 most immediately for testing this,
on Windows.

Thanks, all, for any insights!
Mike
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Less Ambiguous Legends for Continuous/Gradient Variables

2023-01-03 Thread Mike Treglia via QGIS-User
Hi All,

Happy New Year!  Quick question that has come up various times, and never
asked here for some reason:

With legends for continuous variables, as generated by QGIS, the values for
class boundaries tend to be a bit ambiguous, in that its not clear whether
a unit with that value would fall in the upper or lower bin of data due to
how the numbers are represented. For example, with a 2-class legend as
follows, this might be the case:
0-1
1-2

Confusion could be avoided by using more precise values and adjusting the
bins (possible in QGIS by unlinking class boundaries and manually adjusting
ranges) - e.g., it would look like something this:
0.0-0.9
1.0-2.0

Or it could be clarified with different symbology such as below, but I
don't believe this is available in QGIS:
0.0 < x <= 1
1 < x <= 2

Am I missing any way to more automatically address this in QGIS via
existing tools, either built-in or via a Plug-In?  I've seen a bug report
on this front, but it looks like its still open (albeit there's a potential
solution within the thread) - https://github.com/qgis/QGIS/issues/29852.

Thanks! Knowing there are so many sharp QGIS users out there, I imagine
others have figured out great approaches that I'm just behind on.

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


Re: [Qgis-user] OSGeo4W Shell with Unix-Style Terminal?

2022-07-12 Thread Mike Treglia via Qgis-user
Thanks, Jurgen! Much appreciated!

I haven't had luck yet, but if I get it to work, will let you all know what
the solution is.  From what I've found, it seems like git bash is based on
msys2, and changing "cmd /c" to "cmd //c" lets something run for fetchenv,
but gdal commands are not available after I run it.

Again, much appreciated, and more later if I figure it out!
Mike

On Thu, Jul 7, 2022 at 6:00 PM Jürgen E. Fischer via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi Mike,
>
> On Thu, 07. Jul 2022 at 17:31:26 -0400, Mike Treglia wrote:
> > So I've added the below to my profile (from the link you've previously
> > shared), and I can run 'fetchenv /c/OSGeo4W/bin/o4w_env.bat' from my bash
> > terminal - and it starts the process, but it either is getting hung up,
> or
> > is just taking longer than I anticipated - is it something that does take
> > some time and I just need to let it run, so be patient? Or am I maybe
> > missing or need to adjust something else?
>
> Not sure - I use cygwin's bash and with that it works.  Other shells might
> behave differently.
>
> msys for instance has problems with plain /c in the cmd call and needs //c
> (see
> https://github.com/OSGeo/grass/blob/main/mswindows/osgeo4w/package.sh#L33)
>
> Try set -x to get some more insight what it does and where it hangs.  It
> might
> take a few seconds, but no minute.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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] OSGeo4W Shell with Unix-Style Terminal?

2022-07-07 Thread Mike Treglia via Qgis-user
Thanks again, Jürgen,

I appreciate the explanation - this is definitely an area where I can often
figure things out, but am still learning and fumbling my way through it a
bit.

So I've added the below to my profile (from the link you've previously
shared), and I can run 'fetchenv /c/OSGeo4W/bin/o4w_env.bat' from my bash
terminal - and it starts the process, but it either is getting hung up, or
is just taking longer than I anticipated - is it something that does take
some time and I just need to let it run, so be patient? Or am I maybe
missing or need to adjust something else?

If I try to suspend the process (ctrl + z) after a few minutes, I get a
message along these lines:
1 [sig] bash 471! sigpacket::process: Suppressing signal 18 to win32
process (pid 5648)

Then, I can kill that process, and then go through those steps (ctrl + z,
followed by killing the process) once more before it'll close out.

Best,
Mike

-- Code added to .profile
fetchenv() {
local IFS
IFS=
local batch=$1
shift

if ! [ -f "$batch" ]; then
echo "$batch not found"
return 1
fi

local d=$(mktemp -d /tmp/fetchenv.XX)
cmd /c set >$d/srcenv || true
cmd /c call $(cygpath -w $batch) "$@" \>nul 2\>\&1 \& set >$d/dstenv || true
sleep 2
cat <$d/envdiff
/^+++/d;
/^[^+]/d;
s/^+//;
# s///g;
/^PATH=/ {
s//\\//g;
s#\\([=;]\\)\\([a-zA-Z]\\):#\\1/cygdrive/\\2#g;
s/;/:/g;
}
s/;/;/g;
s/^/export /;
s/=/='/;
s/r//g;
s/\r$/'/;
EOF
diff -u $d/srcenv $d/dstenv | sed -f $d/envdiff >$d/diffenv
. $d/diffenv
PATH=$PATH:/bin:/usr/bin:$(cygpath --sysdir):$(cygpath --windir)
rm -fr $d || true
}

On Thu, Jul 7, 2022 at 12:41 PM Jürgen E. Fischer via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi Mike,
>
> On Thu, 07. Jul 2022 at 12:20:52 -0400, Mike Treglia wrote:
> > I think I might be missing some of the knowledge I need to implement this
> > for now, which is alright. For example, I'm not sure where I should start
> > adjusting things in that portion of the build_helpers script, and
> > where/when I should run that, or if I'm should modify that portion of
> > build_helpers (ln 107-143) and insert that into
> /c/OSGeo4W/bin/o4w_env.bat,
> > such that the OSGeo4W.bat file will call on the desired environment.
>
> Sorry, I was implying that you're shell savy and pointers were enough.
> Copy fetchenv to your .profile and run it from there (or once you want to
> run
> osgeo4w stuff).
>
> …
> fetchenv() {
> …
> }
>
> fetchenv /c/OSGeo4W/bin/o4w_env.bat
> …
>
> It runs cmd to get a clean copy of the environment and once more with
> o4w_env.bat to get the updated version and then works out the differences,
> makes them shell digestable and sources them to the running shell.
>
> Also works with other software that provides batch files to update the
> environment (like msvc, strawberry perl, venvs in python - just to name
> the few
> the osgeo4w build scripts use it for).
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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] OSGeo4W Shell with Unix-Style Terminal?

2022-07-07 Thread Mike Treglia via Qgis-user
Thanks, Jürgen, for the quick response! Much appreciated!

I think I might be missing some of the knowledge I need to implement this
for now, which is alright. For example, I'm not sure where I should start
adjusting things in that portion of the build_helpers script, and
where/when I should run that, or if I'm should modify that portion of
build_helpers (ln 107-143) and insert that into /c/OSGeo4W/bin/o4w_env.bat,
such that the OSGeo4W.bat file will call on the desired environment.

Thus, I would definitely value any more insight/guidance on this, and I can
keep working with OSGeo4W in the existing setup for now too if I need
without issue - its honestly more of a convenience item than a necessity.

Thanks again!
Mike

On Thu, Jul 7, 2022 at 10:54 AM Jürgen E. Fischer via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi Mike,
>
> On Thu, 07. Jul 2022 at 10:08:21 -0400, Mike Treglia via Qgis-user wrote:
> > I was hoping to use the OSGeo4W shell from a unix-style terminal - like
> git
> > bash or similar. For some things, in the past, I've added the directory
> > with binaries from the OSGeo4W install to my Windows Environment System
> > Variables for as a value in Path.
>
> Adapt fetchenv
> https://github.com/jef-n/OSGeo4W/blob/master/scripts/build-helpers#L107
> to your
> shell and fetchenv /c/OSGeo4W/bin/o4w_env.bat.  That way you should get all
> veriables the batch files setup into your environment.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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] OSGeo4W Shell with Unix-Style Terminal?

2022-07-07 Thread Mike Treglia via Qgis-user
Hi All,

First - thanks to the devs and maintainers for their quick work to resolve
the installation snag folks were encountering, and gracefully at that!

There might be a better place to ask this, but thought this might be a good
first spot to try, as I realize there are some OSGeo4W users on this list.

I was hoping to use the OSGeo4W shell from a unix-style terminal - like git
bash or similar. For some things, in the past, I've added the directory
with binaries from the OSGeo4W install to my Windows Environment System
Variables for as a value in Path. However, I've hit snags with gdal
recently, in getting a conflicting proj version, due to a concurrent
install of PostGIS. Thus, I can call gdal tools from the OSGeo4W install
via git bash, for example, but get errors regarding conflicting proj
versions.

The Windows style OSGeo4W Shell works as expected, so I can definitely use
that as is, but figured I'd see if there's a best way to do what I'm
looking for.

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


Re: [Qgis-user] Activating ESRI geodatabase (.gdb) write mode in QGIS, OGR2OGR or Python

2022-04-21 Thread Mike Treglia via Qgis-user
That's correct in my experience. In the OSGeo4W installer, go through the
advanced install menu, and when you get the options for libraries, I think
searching for gdb should bring up the right one - then check the box and
proceed.

On Wed, Apr 20, 2022 at 11:22 PM Saulteau Don via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> I think in the osgeo4w installer you just have to install the gdal-filegdb
> package for that driver.
>
>
>
>
> Donovan
>
> On Wed., Apr. 20, 2022, 18:11 Nicolas Cadieux via Qgis-user, <
> qgis-user@lists.osgeo.org> wrote:
>
>> Hi,
>>
>> I am in a bit of a bind.  I am basically trying to figure out a way to
>> write some .shp file to a .gbd folder using the gbd drivers obtained
>> from ESRI. I am not sure what file to copy and where.  I am tying to
>> make this work with ogr2ogr at the dos command prompt but getting to
>> work with a anaconda python environment would be nice.
>>
>> Can the ESRI File Geodatabase API also be used write to a .gdb file
>> using QGIS?
>>
>> If you recently did this, I would appreciate some tips.
>>
>> I am on windows 10 using the OSGEO4W install with QGIS 3.24.
>>
>> https://gdal.org/drivers/vector/filegdb.html
>>
>> Thanks
>>
>> --
>>
>> Nicolas Cadieux
>> https://gitlab.com/njacadieux
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user