[QGIS-Developer] GRASS Natural Hazard Tools

2017-11-24 Thread Joshua Quesenberry
All,

 

Are there any plans to implement all of the algorithms listed here?
https://grasswiki.osgeo.org/wiki/Natural_Hazards

 

In particular I'm curious about the Flood and Dam Break algorithms.

 

Thanks,

 

Josh Q

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GRASS r.walk

2017-11-24 Thread Joshua Quesenberry
Thanks Paulo, I hadn’t thought of that and will give it a try next.

 

Josh Q

 

From: Paulo van Breugel [mailto:p.vanbreu...@gmail.com] 
Sent: Friday, November 24, 2017 5:04 AM
To: Joshua Quesenberry <engn...@gmail.com>
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [QGIS-Developer] GRASS r.walk

 

Hi Josh,

I would suggest to send questions to the grass user and/or developers list 
(https://grass.osgeo.org/support/mailing-lists/).

Best wishes,

Paulo

 

 

On Thu, Nov 23, 2017 at 9:50 PM, Joshua Quesenberry <engn...@gmail.com 
<mailto:engn...@gmail.com> > wrote:

Is it normal for an r.walk over an area of 10,500 acres to use up 12GB of HD 
space and want more? That’s using up every bit of space I have left, so it’s 
crashing out. I tried setting the maximum cost to 10 and I think 1 also, but 
the algorithm keeps running for a long time making these really large files…

 

Thanks,

 

Josh Q

 

From: Joshua Quesenberry [mailto:engn...@gmail.com <mailto:engn...@gmail.com> ] 
Sent: Thursday, November 23, 2017 12:05 PM
To: qgis-developer@lists.osgeo.org <mailto:qgis-developer@lists.osgeo.org> 
Cc: engn...@gmail.com <mailto:engn...@gmail.com> 
Subject: GRASS r.walk

 

Happy Thanksgiving Everyone!

 

Who’s very familiar with GRASS r.walk? I’m finding some tutorials and man pages 
with examples but having trouble applying what I’ve found. I’m trying to create 
mobility models for use with lost person analytics.

 

Does is matter what format the input layers are in? Should they all be UTM 
since that’s in meters? Or is it smart enough to mix and match WGS84 and UTM 
layers? And along the same lines, does my DEM need to have cells in meters? 
Most of what I get comes native in WGS84 with altitudes in feet, so if I don’t 
need to add extra steps converting to UTM and cells to meters that’s a good 
thing.

 

For the friction layer, the example on the man page appears to use landclass96 
and only has 7 classifications… the NLCD 2011 land classification file I have 
has 30-40 classifications ranging from 11 to 95, does anyone have friction 
costs that can be applied to this data? Or at the very least some idea of the 
best method to use to come up with those values myself?

 

Thanks!

 

Josh Q


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org <mailto:QGIS-Developer@lists.osgeo.org> 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

 

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GRASS r.walk

2017-11-23 Thread Joshua Quesenberry
Is it normal for an r.walk over an area of 10,500 acres to use up 12GB of HD
space and want more? That's using up every bit of space I have left, so it's
crashing out. I tried setting the maximum cost to 10 and I think 1 also, but
the algorithm keeps running for a long time making these really large files.

 

Thanks,

 

Josh Q

 

From: Joshua Quesenberry [mailto:engn...@gmail.com] 
Sent: Thursday, November 23, 2017 12:05 PM
To: qgis-developer@lists.osgeo.org
Cc: engn...@gmail.com
Subject: GRASS r.walk

 

Happy Thanksgiving Everyone!

 

Who's very familiar with GRASS r.walk? I'm finding some tutorials and man
pages with examples but having trouble applying what I've found. I'm trying
to create mobility models for use with lost person analytics.

 

Does is matter what format the input layers are in? Should they all be UTM
since that's in meters? Or is it smart enough to mix and match WGS84 and UTM
layers? And along the same lines, does my DEM need to have cells in meters?
Most of what I get comes native in WGS84 with altitudes in feet, so if I
don't need to add extra steps converting to UTM and cells to meters that's a
good thing.

 

For the friction layer, the example on the man page appears to use
landclass96 and only has 7 classifications. the NLCD 2011 land
classification file I have has 30-40 classifications ranging from 11 to 95,
does anyone have friction costs that can be applied to this data? Or at the
very least some idea of the best method to use to come up with those values
myself?

 

Thanks!

 

Josh Q

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] GRASS r.walk

2017-11-23 Thread Joshua Quesenberry
Happy Thanksgiving Everyone!

 

Who's very familiar with GRASS r.walk? I'm finding some tutorials and man
pages with examples but having trouble applying what I've found. I'm trying
to create mobility models for use with lost person analytics.

 

Does is matter what format the input layers are in? Should they all be UTM
since that's in meters? Or is it smart enough to mix and match WGS84 and UTM
layers? And along the same lines, does my DEM need to have cells in meters?
Most of what I get comes native in WGS84 with altitudes in feet, so if I
don't need to add extra steps converting to UTM and cells to meters that's a
good thing.

 

For the friction layer, the example on the man page appears to use
landclass96 and only has 7 classifications. the NLCD 2011 land
classification file I have has 30-40 classifications ranging from 11 to 95,
does anyone have friction costs that can be applied to this data? Or at the
very least some idea of the best method to use to come up with those values
myself?

 

Thanks!

 

Josh Q

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Need Help Programmatically Creating a New Composition

2017-10-17 Thread Joshua Quesenberry
All,

 

Issue #1

 

I’m trying to create a Composer Layout using Python and I’m having issues
with addComposerHtmlFrame. I currently have QGIS 2.16.2 installed so the API
documentation I’m finding online doesn’t always match up with what I’m
having to actually do. At this point when I add a Composer HTML Frame I see
the frame in the layout, but the HTML isn’t rendered, even if I click on
“Refresh HTML”.

 

I’ve tried a few variations of my code, here’s the current variation:

 


--

 

comp = self.iface.createNewComposer('Map_Layout')

c = comp.composition()

paper_w = 279.4

paper_h = 215.9 

c.setPaperSize(paper_w, paper_h)

c.setPlotStyle(QgsComposition.Print)

 

# Add Mag Decl / Datum Info

info1 = QgsComposerHtml(c, False)

info1.setContentMode(QgsComposerHtml.ManualHtml)

info1.setHtml('''Mag Decl: 8.16° W

Horz. Datum: WGS84''')

frame1 = QgsComposerFrame(c, info1, 27., 195., 42., 12.)

frame1.setId('Info 1')

c.addComposerHtmlFrame(info1, frame1)

 

# Add Map Name / Scale / Print Date / Contour Interval Info

info2 = QgsComposerHtml(c, False)

info2.setContentMode(QgsComposerHtml.ManualHtml)

info2.setHtml('''





Map Name: STUART (VA)





Scale: 1 inch = 2,000 ft









Print Date: Thu Oct 17 07:34:36 2013





Contour Interval: 20 Feet





''')

frame2 = QgsComposerFrame(c, info2, 73., 193., 125., 15.)

frame2.setFrameEnabled(True)

frame2.setId('Info 2')

c.addComposerHtmlFrame(info2, frame2)

 


--

 

The documentation says that the 2nd parameter to QgsComposerFrame needs to
be a QgsComposerMultiFrame. Since QgsComposerMultiFrame is an abstract class
the only two options I know to try are either setting this parameter to None
(variation 1) or setting it to the QgsComposerHtml item itself (variation
2), where the latter is what I’m doing above.

 

Are there any ideas why the contents of the QgsComposerHtml never appear?
Also, if I save my project, close QGIS, and then re-open QGIS and the
project, the QgsComposerHtml elements are missing.

 

Issue #2

 

Is there any way to create a new Composer without opening the Composer
window? I tried hiding the window after creating the new Composer, but that
just gave me a Composer window that was in a somewhat odd state.

 

Issue #3

 

What’s the recommended way to pull in magnetic declination? Is this possible
offline?

 

Thanks in advance!

 

Josh Q

 

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] USNG Coordinate System

2017-06-13 Thread Joshua Quesenberry
Barry,

I guess the kind of support I'm looking for would be the ability to create 
points using USNG coordinates, importing points from a file full of USNG 
formatted coordinates, seeing coordinates listed in USNG format in the window 
at the bottom of the window, saving in a shapefile, etc. I didn't realize 
Shapefile's can't store USNG format, so I guess that's does present issues...

USNG is now FEMA's standardized coordinate system, which includes Search & 
Rescue, which I do a lot of. So imagine being in the middle of an operation 
where USNG is being used... a team radios in the location of a clue or a 
patient, the next step for the GIS person right now would have to be converting 
 the USNG coordinate to either UTM or Lat Lon, this all takes extra time and I 
haven't been able to find a good offline coordinate converter. Ideally you 
switch the layer to edit mode, navigate to the location, and click to add the 
point. If there were an "Add Point" button that pops up a dialog where you 
enter a USNG/UTM/LatLon coordinate would be a little better more. If I have a 
list of points to add right now I usually just create a csv, import the csv, 
and save as a shapefile.

Thanks,

Josh Q

-Original Message-
From: Martin Dobias [mailto:wonder...@gmail.com] 
Sent: Monday, June 12, 2017 5:43 AM
To: Barry Rowlingson <b.rowling...@lancaster.ac.uk>
Cc: Joshua Quesenberry <engn...@gmail.com>; qgis-developer 
<qgis-developer@lists.osgeo.org>
Subject: Re: [QGIS-Developer] USNG Coordinate System

On Mon, Jun 12, 2017 at 10:13 AM, Barry Rowlingson 
<b.rowling...@lancaster.ac.uk> wrote:
>
> Would that be useful to you? It could be implemented as a Qgis python 
> function - its some string parsing and numeric manipulation.

There are few plugins that add support for some coordinate systems - for 
example this plugin translates between map coordinates and OSGB Grid Ref (e.g. 
SX 7511 8607):
https://github.com/mtravis/gridref-qgis

You could use that one as a reference for your translator. It could be also a 
nice piece of functionality directly in QGIS where plugins could register their 
converter and QGIS would handle all the GUI related functionality (which 
plugins currently need to do themselves).

Cheers
Martin

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] USNG Coordinate System

2017-06-07 Thread Joshua Quesenberry
Good Evening Everyone,

 

I haven't seen any replies to my post over the weekend. Can someone take a
look?

 

Thanks,

 

Josh Q

 

From: Joshua Quesenberry [mailto:engn...@gmail.com] 
Sent: Saturday, June 3, 2017 2:56 PM
To: 'qgis-developer' <qgis-developer@lists.osgeo.org>
Cc: engn...@gmail.com
Subject: USNG Coordinate System

 

All,

 

Is there some way to plot USNG coordinates in QGIS? And if not, when will
support for that be added?

 

Thanks,

 

Josh Q

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] USNG Coordinate System

2017-06-03 Thread Joshua Quesenberry
All,

 

Is there some way to plot USNG coordinates in QGIS? And if not, when will
support for that be added?

 

Thanks,

 

Josh Q

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] GPS Stream Plugin Crashing QGIS

2017-05-09 Thread Joshua Quesenberry
Greetings Everyone,

 

I'm playing around with a plugin that's supposed to receive GPS Data over a
TCP socket and then once a new point is received the Vector Memory/Scratch
Layer has all features removed and a new Point feature added. I have a
worker thread running that processes the incoming TCP socket data (rate of
about 10 Hz) and then runs a function called addPoint. Currently the plugin
works great if I don't call addPoint and just print the contents of the
received message. Once I add in the addPoint function, however, the plugin
works for a bit (30-60 seconds) and then QGIS crashes.

 

My addPoint function is as follows:

 

def addPoint(self, point):

self.layer.startEditing()

caps = self.layer.dataProvider().capabilities()

if caps & QgsVectorDataProvider.DeleteFeatures:

for feat in self.layer.getFeatures():

self.layer.deleteFeature(feat.id())

if caps & QgsVectorDataProvider.AddFeatures:

feat = QgsFeature(self.layer.pendingFields())

feat.setGeometry(QgsGeometry.fromPoint(point))

(res, outFeats) = self.layer.dataProvider().addFeatures([feat])

self.layer.commitChanges()

 

Perhaps the issue is because I'm entering/exiting Edit mode so often (10
Hz)? Is there a more efficient method to accomplish what I'm doing? Or maybe
it's some sort of threading conflict?

 

Thanks,

 

Josh Q

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Show Geotagged Images on Map

2016-10-06 Thread Joshua Quesenberry
Hi Michaël,

 

Sorry, I missed your reply when it originally came through. Can you elaborate 
further on how to use the code snippet? I’m only very vaguely following what 
you’re saying to do so far.

 

Separately, would it be possible to add an image type to the symbol editor for 
shapefiles, etc. that can use the an equation to create the image name and then 
display the image from there?

 

Thanks,

 

JQ

 

From: kimaidou [mailto:kimai...@gmail.com] 
Sent: Monday, September 19, 2016 3:11 AM
To: Joshua Quesenberry <engn...@gmail.com>
Cc: qgis-developer <qgis-developer@lists.osgeo.org>
Subject: Re: [Qgis-developer] Show Geotagged Images on Map

 

​Hi, you could use this snippets :
https://gist.github.com/mdouchin/d66191ccfadd74cff3f0

Basically, it loads an image for each feature in a SVG, which can then be used 
as a symbol.

Regards

Michaël

 

2016-09-18 22:35 GMT+02:00 Joshua Quesenberry <engn...@gmail.com 
<mailto:engn...@gmail.com> >:

All,

 

I was wondering if anyone knows of a current method for displaying geotagged 
images (or maybe just a thumbnail) directly on the map canvas without having to 
click on one image a time? I saw this thread, but the solution seems to be 
deprecated now: 
http://osgeo-org.1560.x6.nabble.com/Showing-thumbnails-of-geotagged-photos-td5008632.html
 

 

Thanks,

 

JQ


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org <mailto:Qgis-developer@lists.osgeo.org> 
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

 

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

[Qgis-developer] Show Geotagged Images on Map

2016-09-18 Thread Joshua Quesenberry
All,

 

I was wondering if anyone knows of a current method for displaying geotagged
images (or maybe just a thumbnail) directly on the map canvas without having
to click on one image a time? I saw this thread, but the solution seems to
be deprecated now:
http://osgeo-org.1560.x6.nabble.com/Showing-thumbnails-of-geotagged-photos-t
d5008632.html 

 

Thanks,

 

JQ

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

Re: [Qgis-developer] Future of OpenLayers plugin - time to deprecate?

2015-12-30 Thread Joshua Quesenberry
If the plugin is deprecated, what is replacing it? I find the plugin to be very 
useful.

-Original Message-
From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf 
Of Tom Chadwin
Sent: Wednesday, December 30, 2015 5:46 PM
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Future of OpenLayers plugin - time to deprecate?

I think deprecation and removal would be good, but for a tangential reason:
the name conflicts with OpenLayers the web mapping library. A trivial reason at 
best, but probably irritating to many, and potentially confusing to users. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Future-of-OpenLayers-plugin-time-to-deprecate-tp5243358p5243372.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1

2014-07-12 Thread Joshua Quesenberry
Have you all tried the QGIS Code Examples in the past few years? They don't
work with all the code changes that have been made. Could someone update
them so that they're actually doable?

I'm atleast at the point now where I can start trying to build code in
Visual Studio, which is a big improvement over where I was a few days ago.
Getting the cmake-gui setup was painful, I had to use a combination of
OSGeo4W64 directory, the QGIS repository, and the QGIS standalone install
directory to get to this point. Better instructions on how to setup all of
that on Windows would be great. I think the fact that I'm on a 64 bit system
and the of stuff needed is in both Program Files and Program Files (x86) is
breaking things. I'm also having to add a bunch of include directories to
the actual Visual Studio project settings; I thought CMake was responsible
for setting everything up?

Please help make this setup process more intuitive and update the code
examples so that they're actually usable.

Thanks,

Josh Q

-Original Message-
From: Joshua Quesenberry [mailto:engn...@gmail.com] 
Sent: Friday, July 11, 2014 10:48 AM
To: 'Jürgen E. Fischer'; qgis-developer@lists.osgeo.org
Cc: engn...@gmail.com
Subject: RE: [Qgis-developer] Compiling QGIS and C++ Application with QGIS
Headers on Windows 8.1

Jürgen,

So if I'm understanding you correctly, I'll take the following actions:
Uninstall VS2013 and replace it with VS2010 (since I'm running
Windows 8.1 and it's 64bit)
Uninstall Qt 5.3 and replace it with Qt 4.x (assuming that the
specific subversion is negligible?) 

Also, an unanswered part of this is do I need Windows SDK 7 with .NET 4? As
mentioned, the installation was completely hung up on my Windows 8.1
machine. I was thinking that the SDK and .NET were part of the Visual Studio
Express installation, but the INSTALL page seems to imply otherwise. Do I
instead need Windows 8.1 SDK with .NET 4.5 since I'm running Windows 8.1? Or
will the Visual Studio Express 2010 installation be sufficient? If I need
Windows SDK 7 with .NET 4 I may be in troble...

Thanks,

Josh Q

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Jürgen E.
Fischer
Sent: Friday, July 11, 2014 9:52 AM
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS
Headers on Windows 8.1

Hi Joshua,

On Fri, 11. Jul 2014 at 09:29:11 -0400, Joshua Quesenberry wrote:
 I'm trying to follow the instructions on the INSTALL page 
 (http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master
 /doc/I
 NSTALL.html )
 
 My current setup is this:
 Windows 8.1
 Visual Studio Express 2013
 QGIS was standalone installed a month or so ago and is version 2.2.0 
 QT 5.3

QGIS doesn't support Qt 5.x yet.

If you want to use the dependencies from OSGeo4W, you'll have to use the
tools they were build with (especially the C++ dependencies like Qt; ie.
VC2008 on 32bit and VC2010 on 64bit).

If you build your own Qt using VC 2013 might also be an option.  But I'd
recommend to stick to INSTALL and use the dependencies from OSGeo4W.


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 http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


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


[Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1

2014-07-11 Thread Joshua Quesenberry
Good Morning,

 

I tried painfully to get QGIS compiled last night, but I've had no such
luck. I'd like to try adding some features to the program in the future, but
I'd also like to be able to build my own C++ applications that have access
to the interface and can display basic map data.

 

I'm trying to follow the instructions on the INSTALL page
(http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master/doc/I
NSTALL.html )

 

My current setup is this:

 

Windows 8.1

Visual Studio Express 2013

QGIS was standalone installed a month or so ago and is version 2.2.0

QT 5.3

CMake

Git (I'm using the main download at http://msysgit.github.io/ along with
TortoiseGit)

Flex

Bison

OSGeo4W Advanced Installation with all the required packages

I tried Installing the Windows SDK for Windows 7 and .NET Framework 4, but
after an hour of installing it was no more than like 1% complete, so I
assume it was broken. Maybe I need the Windows SDK for Windows 8.1 and .NET
Framework 4.5.1?

 

Can you all help me get squared away? I was installing recent version of
software, but maybe I need the very specific versions that are mentioned
(Visual Studio Express 2010, QT 4.x, Windows 7)?

 

Just as some background with where I want to go with all of this; for one
I'm working on a small project in Visual Studio Express that allows me to
analyze the game Scotland Yard, for two I've been involved with Search and
Rescue for a little over a decade and we have some tools that are being
developed alongside ArcGIS that over an unknown period of time I'd like to
try to make available through freely available software.

 

Thanks!

 

Josh Q

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

Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1

2014-07-11 Thread Joshua Quesenberry
Nathan,

 

I will take a look into the PyQGIS side of things. I’m much more comfortable in 
C++ than I am in Python, but I imagine I could probably make it work for me, as 
long as I’m not going the plugin route, I’ll be doing a lot of database type 
stuff and prefer my code to run in parallel with QGIS, rather than launching a 
plugin every time something needs done.

 

What’s required to get PyQGIS up and running on Windows 8.1? Is it just simply 
installing the standalone version of QGIS and Python (https://www.python.org/ 
)? Do I have access to all the QGIS files I need in this setup? Or do I need to 
pull the QGIS source code from Git?

 

Thanks!

 

Josh Q

 

From: Nathan Woodrow [mailto:madman...@gmail.com] 
Sent: Friday, July 11, 2014 9:41 AM
To: Joshua Quesenberry
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS 
Headers on Windows 8.1

 

Hey Joshua,

 

If your plan is to build a small application using QGIS I would recommend using 
Python with PyQGIS.  It's very easy to get up and running with that and your 
dev time will be much faster. Plus you don't have to compile it for every 
platform under the sun ;)

 

If you are keen to try that I have a working Python PyQGIS app here: 
https://github.com/DMS-Aus/Roam which include code to create a standalone exe 
with everything included.  That is pretty full on example but I can strip it 
down to the most important parts if needed.

 

Regards,

Nathan

 

On Fri, Jul 11, 2014 at 11:29 PM, Joshua Quesenberry engn...@gmail.com 
mailto:engn...@gmail.com  wrote:

Good Morning,

 

I tried painfully to get QGIS compiled last night, but I’ve had no such luck. 
I’d like to try adding some features to the program in the future, but I’d also 
like to be able to build my own C++ applications that have access to the 
interface and can display basic map data.

 

I’m trying to follow the instructions on the INSTALL page 
(http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master/doc/INSTALL.html
 )

 

My current setup is this:

 

Windows 8.1

Visual Studio Express 2013

QGIS was standalone installed a month or so ago and is version 2.2.0

QT 5.3

CMake

Git (I’m using the main download at http://msysgit.github.io/ along with 
TortoiseGit)

Flex

Bison

OSGeo4W Advanced Installation with all the required packages

I tried Installing the Windows SDK for Windows 7 and .NET Framework 4, but 
after an hour of installing it was no more than like 1% complete, so I assume 
it was broken. Maybe I need the Windows SDK for Windows 8.1 and .NET Framework 
4.5.1?

 

Can you all help me get squared away? I was installing recent version of 
software, but maybe I need the very specific versions that are mentioned 
(Visual Studio Express 2010, QT 4.x, Windows 7)?

 

Just as some background with where I want to go with all of this; for one I’m 
working on a small project in Visual Studio Express that allows me to analyze 
the game Scotland Yard, for two I’ve been involved with Search and Rescue for a 
little over a decade and we have some tools that are being developed alongside 
ArcGIS that over an unknown period of time I’d like to try to make available 
through freely available software.

 

Thanks!

 

Josh Q


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

 

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

Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS Headers on Windows 8.1

2014-07-11 Thread Joshua Quesenberry
Jürgen,

So if I'm understanding you correctly, I'll take the following actions:
Uninstall VS2013 and replace it with VS2010 (since I'm running
Windows 8.1 and it's 64bit)
Uninstall Qt 5.3 and replace it with Qt 4.x (assuming that the
specific subversion is negligible?) 

Also, an unanswered part of this is do I need Windows SDK 7 with .NET 4? As
mentioned, the installation was completely hung up on my Windows 8.1
machine. I was thinking that the SDK and .NET were part of the Visual Studio
Express installation, but the INSTALL page seems to imply otherwise. Do I
instead need Windows 8.1 SDK with .NET 4.5 since I'm running Windows 8.1? Or
will the Visual Studio Express 2010 installation be sufficient? If I need
Windows SDK 7 with .NET 4 I may be in troble...

Thanks,

Josh Q

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Jürgen E.
Fischer
Sent: Friday, July 11, 2014 9:52 AM
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Compiling QGIS and C++ Application with QGIS
Headers on Windows 8.1

Hi Joshua,

On Fri, 11. Jul 2014 at 09:29:11 -0400, Joshua Quesenberry wrote:
 I'm trying to follow the instructions on the INSTALL page 
 (http://htmlpreview.github.io/?http://github.com/qgis/QGIS/blob/master
 /doc/I
 NSTALL.html )
 
 My current setup is this:
 Windows 8.1
 Visual Studio Express 2013
 QGIS was standalone installed a month or so ago and is version 2.2.0 
 QT 5.3

QGIS doesn't support Qt 5.x yet.

If you want to use the dependencies from OSGeo4W, you'll have to use the
tools they were build with (especially the C++ dependencies like Qt; ie.
VC2008 on 32bit and VC2010 on 64bit).

If you build your own Qt using VC 2013 might also be an option.  But I'd
recommend to stick to INSTALL and use the dependencies from OSGeo4W.


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 http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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

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