[Qgis-user] Geometry Generator - Generating buffered points from polys

2020-05-18 Thread David Fawcett
Hi,

I am working through an exercise to figure out the best way to represent
some wooded areas in a map that I am making.

The current iteration uses geometry generators to create slightly
randomized points to fill the polygons that represent wooded areas. I based
it off of the great examples at
https://impermanent.io/2017/05/05/generative-pseudo-random-polygon-fill-patterns-in-qgis/
And, it works great!

After looking at it a while, I want to introduce some variability in the
size of the point symbols too.

I have two ideas on how to do that:

The first one is to create and populate an attribute for each point
feature, and then apply symbology rules based on that value. The challenge
is that right now, my custom function is returning multi-point features, so
all of the points within a forest poly would have the same attribute.

I am currently pursuing the second one. That strategy is to use the same
altered grid of points, and then buffer each point. I am having a hard time
figuring out how to return a layer with several multi-polygon features
created by buffering the points.

In this example, "buffer" is not defined, so the expression is invalid.

  for xOff in range(countX+1):
for yOff in range(countY+1):
  ptX = xMin + xOff*(xInterval) + rand * random.uniform(0,xInterval)
  ptY = yMin + yOff*(yInterval) + rand * random.uniform(0,xInterval)

  pt = QgsPointXY(ptX,ptY)
  point = QgsGeometry.fromPointXY(pt)


  if feature.geometry().contains(point):
  sym = buffer(point,200.0,10)
  #points.append(pt)
  bufs.append(sym)

  return collect_geometries(bufs)
___
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] geometry generator - unexpected results

2020-04-17 Thread David Fawcett
Michel,

Thank you for your response, and for putting some good geometry generator
examples out for others to learn from. (If others on the list haven't seen
them, they are at:
https://gitlab.com/GIS-projects/qgis-geometry-generator-examples)

Your suggestion worked for me. I am mapping in EPSG 26915 (UTM Z15N), and
since both SRS are in meters, I thought that similar values would work. I
had tried to change the params in the functions by an order of magnitude,
but obviously needed to go farther.

Thank you again for your help.

David.

On Fri, Apr 17, 2020 at 5:05 AM Michel Stuyts 
wrote:

> The numbers you need to use in “rand(-10, 10), rand(-10, 10)” depend on the
> CRS of your layer. I tested it with some demo data in EPSG:31370 and I got
> a similar result as you.  When I changed those numbers I got a better
> result.  After you changed those, you can play around with that 100 inside
> the generate_series, to get the result you want. For me the following gave
> a good result:
>
>
>
> make_line(
>
> array_foreach(
>
> generate_series(
>
> 0, length($geometry), 300
>
> ),
>
> translate(
>
> line_interpolate_point($geometry, @element),
>
> rand(-0.5, 0.5),
>
> rand(-0.5, 0.5)
>
>     )
>
> )
>
> )
>
>
>
>
>
> Michel
>
> *Van:* Qgis-user  *Namens *David
> Fawcett
> *Verzonden:* donderdag 16 april 2020 20:01
> *Aan:* qgis-user 
> *Onderwerp:* [Qgis-user] geometry generator - unexpected results
>
>
>
> I am trying to use a geometry generator to accomplish the "hand-drawn"
> line style.
>
>
>
> Some great recent examples by:
>
>
>
> Klas Karlsson
>
> https://twitter.com/klaskarlsson/status/1249333750451879937
>
>
>
> Hamish:
>
> https://polemic.nz/2019/11/18/foss4g-qgis-geometry-generators/
>
>
>
> I am using the code below from the blog post by Hamish in QGIS 3.12:
>
>
>
> make_line(
>
> array_foreach(
>
> generate_series(
>
> 0, length($geometry), 100
>
> ),
>
> translate(
>
> line_interpolate_point($geometry, @element),
>
> rand(-10, 10),
>
> rand(-10, 10)
>
> )
>
> )
>
> )
>
> Here is an image of what the results look like: 
> https://github.com/fawcett/examples/blob/master/lines.png
>
> The line geometries are in blue, and the geometry generator output is in 
> black.
>
> Can anyone suggest what is going wrong?
>
> Thank you,
>
> David.
>
>
>
>
> ___
> 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] geometry generator - unexpected results

2020-04-16 Thread David Fawcett
I am trying to use a geometry generator to accomplish the "hand-drawn" line
style.

Some great recent examples by:

Klas Karlsson
https://twitter.com/klaskarlsson/status/1249333750451879937

Hamish:
https://polemic.nz/2019/11/18/foss4g-qgis-geometry-generators/

I am using the code below from the blog post by Hamish in QGIS 3.12:

make_line(
array_foreach(
generate_series(
0, length($geometry), 100
),
translate(
line_interpolate_point($geometry, @element),
rand(-10, 10),
rand(-10, 10)
)
)
)

Here is an image of what the results look like:
https://github.com/fawcett/examples/blob/master/lines.png

The line geometries are in blue, and the geometry generator output is in black.

Can anyone suggest what is going wrong?

Thank you,

David.
___
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 3 OS X/macOS

2018-03-14 Thread David Fawcett
Thank you William! You provide a very valuable services for all of us who
do GIS on a Mac.

David.

On Tue, Mar 13, 2018 at 9:21 PM, Madry, Scott  wrote:

> Scott Madry
>
> and just FYI, I had to load matplotlib and scipy to get the Semi Automatic
> Classification plugin to work.
>
> S
> > On Mar 12, 2018, at 7:31 PM, Nyall Dawson 
> wrote:
> >
> > On 13 March 2018 at 04:29, William Kyngesburye 
> wrote:
> >> Sorry for the long wait.  It's been a hectic year - personal life
> changes (marriage), but I'm finally getting back into gear.
> >>
> >> My QGIS 3 package for OS X/macOS is ready.
> >
> > Champion! I'm sure you've made a lot of people very happy with this
> > announcement.
> >
> > For those who know what you do, your work is very much valued! It's a
> > shame that packaging is somewhat underappreciated and under-supported
> > by the wider QGIS user community :(
> >
> > Nyall
> >
> >
> >  Besides the big QGIS release, there are a couple other big changes
> > in the packaging.
> >>
> >> - Minimum OS X 10.10 Yosemite
> >>
> >> - Requires Python 3.6 from python.org (note it must be this and not
> homebrew or other distribution).
> >>
> >> - except for what I include in the GDAL Complete package, all extra
> necessary python modules are available from pypi with pip.  These are
> installed by the QGIS installer and need an internet connection at that
> time.
> >>
> >> Make sure to install Python 3 first, otherwise the GDAL Complete python
> components will not be installed (these are also required by QGIS).
> >>
> >> Currently the globe plugin is not included, but I'll get that out in an
> update soon.  The new QGIS 3D features are included.
> >>
> >> GDAL format plugins will follow soon (ECW, MrSID, GRASS).
> >>
> >> -
> >> William Kyngesburye 
> >> http://www.kyngchaos.com/
> >>
> >> The equator is so long, it could encircle the earth completely once.
> >>
> >> ___
> >> 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
>
___
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] Cool Features of QGIS

2017-12-07 Thread David Fawcett
I think that the blend modes are something that many ESRI users would find
unique and useful. Also, not all users rely very heavily on PostGIS or
spatial SQL, but a DB manager example demonstrating the power of creating
layers directly from views and queries is impressive. Showing one that
creates geometries on the fly adds even more.

David.

On Wed, Dec 6, 2017 at 1:41 PM, Kurt Menke  wrote:

> I wrote a blog post this spring called At Least 10 Reasons You Should Be
> Using QGIS
> 
> about a talk by the same name I gave to my local GIS group.  95% were
> ArcGIS users. People were really impressed by the features I covered. With
> v3 coming out I could expand it greatly...but this covers some cool things
> you can do with QGIS that you can't with Arc, and some things that are
> simply easier in QGIS.
> Kurt
>
> **
>
> Kurt Menke, GISP
> Bird’s Eye View
> 3016 Santa Clara Ave SE
> Albuquerque, NM 87106
>
> www.BirdsEyeViewGIS.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] QGIS 2.16 for OS X?

2016-08-22 Thread David Fawcett
We really do appreciate the work that William and Larry do for the OSX open 
source GIS community. Thanks for all that you do!

David

> On Aug 22, 2016, at 6:39 PM, Nyall Dawson  wrote:
> 
>> On 23 August 2016 at 08:38, Larry Shaffer  wrote:
>> Hi,
>> 
>>> On Tue, Aug 16, 2016 at 10:25 AM, Matthias Kuhn  wrote:
>>> 
>>> Hi Carlos,
>>> 
>>> Disclaimer:
>>> This is only meant to be an intermediate solution until there's a proper
>>> package on osgeo or homebrew. It's only meant to share a package that
>>> worked for me and I don't plan to spend any effort into fixing warnings
>>> caused by this repo or make it shiny in whatever way.
>>> If it helps someone to get the latest and greatest of QGIS on mac that's
>>> awesome. And if someone can offer improvements or fixes to this formula,
>>> I'm more than happy to integrate them as long as there is no "official"
>>> solution.
>> 
>> 
>> I will be working on updating the OSGeo4Mac QGIS formulae this week. Thank
>> you to everyone who has been patient with this delayed schedule, and to
>> Matthias for providing an interim formula.
> 
> No need to apologise - I'm sure all the OSX users are extremely
> grateful for your (and William's!)  continued hard work supporting the
> platform!
> 
> Many thanks,
> Nyall
> 
> 
>> 
>> Regards,
>> 
>> Larry Shaffer
>> Dakota Cartography
>> Black Hills, South Dakota
>> 
>>> 
>>> Concerning your errors: please make sure you remove anything related to
>>> qt5.
>>> 
>>> Regards
>>> Matthias
>>> 
 On 08/16/2016 05:41 PM, Carlos Grohmann wrote:
 Now an error:
 
 CMake Error at
 /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindQt4.cmake:1328
 (message):
  Found unsuitable Qt version "5.6.1" from /usr/local/opt/qt5/bin/qmake,
 this
  code requires Qt 4.x
 Call Stack (most recent call first):
  CMakeLists.txt:274 (FIND_PACKAGE)
 
 
 $ brew search qt
 homebrew/science/seqtkm-kuhn/osgeo4mac/qt-ifw   pyqt5 ✔
  qtplay
 homebrew/science/uniqtag  m-kuhn/osgeo4mac/qt-ifw-qt5   qt ✔
 sqtop
 homebrew/versions/qt52m-kuhn/osgeo4mac/qt-mysql qt5 ✔
 homebrew/versions/qt55pyqt ✔qtfaststart
 homebrew/games/qtadsCaskroom/cask/qtox
   Caskroom/versions/qt-creator-dev
 Caskroom/cask/mqttfxCaskroom/cask/qtpass
 Caskroom/cask/qt-creatorCaskroom/cask/qtspim
 
 
 On Tue, Aug 16, 2016 at 12:12 PM, Carlos Grohmann
 > wrote:
 
Hello Mathias
 
Thanks for putting this together. However, I fell I need to tell you
about these warnings:
 
Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
 
 
This goes for every formula in your tap. I believe that the general
recommendation is to change all to sha256.
 
best
 
Carlos
 
 
 
On Tue, Aug 16, 2016 at 2:17 AM, Matthias Kuhn > wrote:
 
Hi Didier,
 
I did update the formula and proposed this as a pull request but
it is
still pending (see link in my last email) in the osgeo tap.
 
I now pushed it to my own taps master branch. I hope this works
until
there's a proper solution in the osgeo tap:
 
brew untap osgeo/osgeo4mac
 
brew tap m-kuhn/osgeo4mac
 
brew install qgis-216
 
Regards
 
Matthias
 
>On 14/08/16 20:57, didier peeters wrote:
> Hi Matthias,
> 
> I tried « brew install qgis-216 » but got the error « No
available formula with the name "qgis-216" »
> I’m using the tap osgeo/osgeo4mac.
> 
> What am I doing wrong ?
> 
> Thanks for your help.
> Didier
> 
> 
>> Le 9 août 2016 à 19:36, Matthias Kuhn > a écrit :
>> 
>> Or use homebrew to install it as long as there's no ready to
use bundle
>> around. There is an updated formula for QGIS 2.16 waiting to
 be
>> installed on OSX :)
>> 
>> https://github.com/OSGeo/homebrew-osgeo4mac/pull/146

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

>> Unsubscribe:

Re: [Qgis-user] GEOJSON Marker colours

2015-10-30 Thread David Fawcett
Phil,

Both shapefile and GeoJSON are just data formats, and they don't encode any
styling or marker information.  In QGIS, after you export to GeoJSON and
add it to your project, you can copy the styling from the shapefile
instance of that layer to your GeoJSON layer.

That styling will only exist in that project, not the data files.

David.

On Fri, Oct 30, 2015 at 1:11 AM, Phil (The Geek) Wyatt <
p...@wyatt-family.com> wrote:

> Hi Folks,
>
>
>
> Can anyone give me any clues on how I can export from a shapefile to
> GEOJSON and maintain my marker colours?
>
>
>
> Cheers - Phil
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Blank square appears when using basemap

2015-07-24 Thread David Fawcett
This is a pretty well known issue:  http://hub.qgis.org/issues/5827

On Fri, Jul 24, 2015 at 2:48 PM, Bernd Vogelgesang bernd.vogelges...@gmx.de
 wrote:

  Hi,

 Looks to me like the tiles from bing are not loaded during print time.

 I remember that fumbling in the settings-options-network made a
 difference with this kind of problems in the past.

 Not sure at all, but increase the value for time out (just add a zero) and
 also increase the max retry ... value.
 Maybe also increase the cache size (add zero) , but I'm not sure att all
 if those services are influenced by these values anyway.

 Others with better insight, please correct me.

 Cheers
 Bernd




 Am 24.07.2015, 20:24 Uhr, schrieb Susan Iremonger s.iremon...@gmail.com:

 Hi All,
 I keep getting an annoying (and time-consuming!) white square appearing in
 my map view when I use a basemap. I can get it to go away, generally, by
 changing the scale of view or turning items on and off in the table of
 contents, but it often just reappears and won't go away. Does anyone else
 have this problem, and have you cracked it?
 I attach a screenclip of the problem.
 Thanks a mil.
 Susan





 --
 Bernd Vogelgesang
 Siedlerstraße 2
 91083 Baiersdorf/Igelsdorf
 Tel: 09133-825374

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

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

Re: [Qgis-user] Merging Shapefiles on Top of Each Other

2015-06-23 Thread David Fawcett
Tom,

I don't know anything about the software that you are using to render the
features, but here is a trick that I used to use with Mapserver.  Shapefile
features are generally rendered in the order that they are stored in the
file(s).

You may want to try sorting the features so that the sectors are rendered
before the roads, this would put the roads on top of the sectors.

Here is a link to the sortshp utility, but I don't think that you want to
install MapServer just for this utility:
http://mapserver.org/utilities/sortshp.html (of course if you are using
OSGEO4W, it is easy to install)

You can also probably do this pretty easily using a SQL snippet and OGR:
http://www.gdal.org/ogr_sql.html  It may also be pretty simple in QGIS.

David.





On Mon, Jun 22, 2015 at 10:00 AM, Tom Lennon tolen...@gmail.com wrote:

 Hi Tom
 I betting that your merged file has NULL in the color-item you used for
 all polygons from the roads source.
 If that is so you could try changing the NULL color-item to a value not
 included in the valid sectors color-item.
 Then go to properties  style and click CLASSIFY to get the new color-item
 included.
 Right click the color swatch in the legend, choose change transparency and
 make the color 99 percent transparent.
 You can also change the outline color to be different to that of the
 sector outline.
 Hope it works.

 Regards

 On Mon, Jun 22, 2015 at 6:19 AM, DelazJ del...@gmail.com wrote:

 Hi,
 Tom, so you have both roads and sectors in same shapefile.
 To show all of them, unless you use rule-based renderer style, in
 categorized style, they should have a common field filled.
 Once you have set the colors for all, at the right bottom of the dialog,
 you have an Advanced button. Use symbol level option to set which color
 will be on top of which one...

 Regards,

 2015-06-22 10:33 GMT+02:00 Paulo van Breugel p.vanbreu...@gmail.com:

 If you want one shapefile only, you might want a topologically correct
 file, i.e., no overlapping polygons / boundaries. These could be created
 using the v.clean function (a GRASS function available in the QGIS toolbox).


 On Mon, Jun 22, 2015 at 9:55 AM, Tom Faro 
 tom.f...@zenith-insurance.co.uk wrote:

  Hi David,

 My apologies to both you and Matt as I should have been clearer. My aim
 is to merge them both so that I can use this shapefile in another piece of
 software (which will only accept one shapefile to be viewed at a time).
 However, what you are both suggesting does work perfectly if I want to stay
 in QGIS, so thanks very much for your help!

 Regards,
 Tom



Tom Faro

 Pricing Analyst

 Zenith Insurance Management UK Ltd



 E-Mail :

 tom.f...@zenith-insurance.co.uk

 Web :

 www.zenith-insurance.co.uk

 Address :

 Chester House, Harlands Road, Haywards Heath, West Sussex, RH16 1LR



 Zenith Insurance Management UK Limited, a part of the Markerstudy Group
 of Companies

  *From:* David Fawcett [mailto:david.fawc...@gmail.com]
 *Sent:* 19 June 2015 15:06
 *To:* Matt Boyd
 *Cc:* Tom Faro; qgis-user@lists.osgeo.org
 *Subject:* Re: [Qgis-user] Merging Shapefiles on Top of Each Other



 Tom,

 As Matt says, you don't need to combine the roads and sectors into the
 same dataset to display them together in QGIS.  You can add both separate
 datasets to a map and you can order the layers so that the roads are drawn
 after the polygons.

 David.



 On Thu, Jun 18, 2015 at 11:02 PM, Matt Boyd mattsli...@gmail.com
 wrote:

 Hi Tom,

 Have a look at some of the QGIS tutorials (google or the QGIS website
 shoudl have some). It sounds like you just need to overlay the layers in
 the correct order, merge generally means something else.

 You can drag / move the layers around / up / down in the layers window.
 Generally from top to bottom, points, lines, polygons. There is also an
 option to give each layer a level of transparency.



 On Thu, Jun 18, 2015 at 8:59 PM, Tom Faro 
 tom.f...@zenith-insurance.co.uk wrote:



 I have been having some trouble with merging two shapefiles – one is a
 map of all sectors in the UK and one is a map of all motorways in the UK. I
 have successfully merged them by putting them both as polygons. However,
 when I fill in the sectors with different colours the road map disappears.
 The same happens when I use the same shapefile in other software.



 Is it possible to merge them so that the roads are always on top? Any
 Help with this matter would be greatly appreciated.

 Many Thanks,
 Tom





 [image: Environment]
--

 Zenith Insurance Management UK Limited is an appointed service provider
 to Zenith Insurance plc and is not an Agent of Zenith Insurance plc. Zenith
 and Link are the European brands of the Markerstudy Group of Companies.

 Zenith Insurance Management UK Limited (Registered No. 5309111). Link
 Underwriting Agency Limited (Registered No. 4227586). Both companies are
 registered in England  Wales at Chester House, Harlands Road, Haywards
 Heath, West

Re: [Qgis-user] Merging Shapefiles on Top of Each Other

2015-06-19 Thread David Fawcett
Tom,

As Matt says, you don't need to combine the roads and sectors into the same
dataset to display them together in QGIS.  You can add both separate
datasets to a map and you can order the layers so that the roads are drawn
after the polygons.

David.

On Thu, Jun 18, 2015 at 11:02 PM, Matt Boyd mattsli...@gmail.com wrote:

 Hi Tom,
 Have a look at some of the QGIS tutorials (google or the QGIS website
 shoudl have some). It sounds like you just need to overlay the layers in
 the correct order, merge generally means something else.
 You can drag / move the layers around / up / down in the layers window.
 Generally from top to bottom, points, lines, polygons. There is also an
 option to give each layer a level of transparency.

 On Thu, Jun 18, 2015 at 8:59 PM, Tom Faro tom.f...@zenith-insurance.co.uk
  wrote:



  I have been having some trouble with merging two shapefiles – one is a
 map of all sectors in the UK and one is a map of all motorways in the UK. I
 have successfully merged them by putting them both as polygons. However,
 when I fill in the sectors with different colours the road map disappears.
 The same happens when I use the same shapefile in other software.



 Is it possible to merge them so that the roads are always on top? Any
 Help with this matter would be greatly appreciated.

 Many Thanks,
 Tom




 [image: Environment]
 --
 Zenith Insurance Management UK Limited is an appointed service provider
 to Zenith Insurance plc and is not an Agent of Zenith Insurance plc. Zenith
 and Link are the European brands of the Markerstudy Group of Companies.

 Zenith Insurance Management UK Limited (Registered No. 5309111). Link
 Underwriting Agency Limited (Registered No. 4227586). Both companies are
 registered in England  Wales at Chester House, Harlands Road, Haywards
 Heath, West Sussex, RH16 1LR. Zenith Insurance Management UK Limited is
 authorised and regulated by the Financial Conduct Authority (No. 429279).
 For security and training purposes, all calls may be monitored or recorded.

 Any views of opinions expressed in this e-mail are solely those of the
 author and do not necessarily represent those of the Markerstudy Group of
 Companies. This message (and any attachments) contains information that may
 be confidential and protected from disclosure. If you are not the intended
 recipient of this message or any parts of it, please immediately contact
 the sender and delete the message from your system. No other person is
 authorised to copy, forward, distribute, disseminate or retain this message
 in any form.
  --
 This email message has been scanned for viruses by Mimecast.
 Mimecast delivers a complete managed email solution from a single web
 based platform.
 For more information please visit http://www.mimecast.com
 --

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



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

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

Re: [Qgis-user] Spatial Query with buffer?

2015-05-06 Thread David Fawcett
If you don't have an easy way to set up PostGIS, you could use QGIS to save
your data in a SpatiaLite database, and then write a spatial query against
that.

On Wed, May 6, 2015 at 10:42 AM, DelazJ del...@gmail.com wrote:

 Hi,
 May be you can use the graphical modeler of Processing to design your
 process. Processing offers both spatial selection and buffer tools.

 2015-05-06 17:08 GMT+02:00 Joris Hintjens joris...@gmail.com:

 All my data is in shape.
 Have a look at postgis is on my urgent to do list. Never worked with
 postgis until now



 2015-05-06 16:37 GMT+02:00 James Keener j...@jimkeener.com:

 What's your data source? If it's PostGIS a query could do that in a
 mostly straightforward way.

 Jim

 On May 6, 2015 10:32:38 AM EDT, Joris Hintjens joris...@gmail.com
 wrote:

 Hello,
 I want to do a spatial query.
 Which Polygones intersect with a series of points,... That is easy with
 the spatial query plugin.
 BUT: Which polygones intersect with a buffer of X around my points...
 How can I do that without creating a new layer where I buffer my points?
 My points are not static, they change often, so creating a buffer layer
 would require also an update of the buffer layer. Too complicated (and
 source of errors!) to my taste...

 All suggestions welcome.

 Joris

 --

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


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.



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



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

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

Re: [Qgis-user] WMS Service Question

2015-05-04 Thread David Fawcett
You can also hand-craft a GetMap request.  The trick is have valid values
for all of the required params.  Here is an example from a WMS in MN.

http://geoint.lmic.state.mn.us/cgi-bin/wms?layers=met10format=image%2Fjpegtransparent=TRUEservice=wmsversion=1.1.1request=GetMapstyles=srs=EPSG%3A26915bbox=481178,4977186,493918,4987865width=256height=256

Note that the bbox needs to be expressed in coord values/units of the
specified SRS.

David.

On Mon, May 4, 2015 at 7:47 AM, Randal Hale rjh...@northrivergeographic.com
 wrote:

 I haven't - and I've got a question on that. If I pass the URL into curl

 curl -v
 http://gis.apfo.usda.gov/arcgis/services/NAIP/Alabama_2013_1m/ImageServer/WMSServer?request=GetCapabilitiesservice=WMS
 

 I get the service information back (like it's running wms 1.3) - I'm
 assuming I have to pass it a bounding box to retrieve a sample image? Sorry
 - first time through on this amazingly enough.

 Randy





 On 05/03/2015 09:57 PM, David Fawcett wrote:

 Randy,

 Have you tried a sample request through a browser, or even curl?

 David



  On May 3, 2015, at 8:52 PM, Randal Hale rjh...@northrivergeographic.com
 wrote:

 I've been working with NAIP provided by
 http://gis.apfo.usda.gov/arcgis/rest/services/NAIP

 Something changed on their end and I'm fixing the xml files I created
 from this service (created xml files anyone can load from
 https://github.com/rjhale1971/NAIP_WMS - currently all don't work).

 I fixed one and now that one WMS connections is a color negative. I
 fixed several and they all are coming in as color negs.

 Example:
 http://gis.apfo.usda.gov/arcgis/services/NAIP/Alabama_2013_1m/ImageServer/WMSServer?request=GetCapabilitiesservice=WMS

 I assume this is on the providers end and not mine (not qgis) - can
 someone verify?

 Checked in QGIS 2.8 - Ubuntu - 14.04

 Randy




 --
 
 Randal Hale
 North River Geographic Systems, Inc
 http://www.northrivergeographic.com
 423.653.3611 rjh...@northrivergeographic.com
 twitter:rjhale http://about.me/rjhale
 http://www.northrivergeographic.com/introduction-to-quantum-gis

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


 --
 -
 Randal Hale
 North River Geographic Systems, Inc
 http://www.northrivergeographic.com
 423.653.3611 rjh...@northrivergeographic.com
 twitter:rjhale http://about.me/rjhale
 http://www.northrivergeographic.com/introduction-to-quantum-gis


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

Re: [Qgis-user] WMS Service Question

2015-05-03 Thread David Fawcett
Randy, 

Have you tried a sample request through a browser, or even curl?

David



 On May 3, 2015, at 8:52 PM, Randal Hale rjh...@northrivergeographic.com 
 wrote:
 
 I've been working with NAIP provided by 
 http://gis.apfo.usda.gov/arcgis/rest/services/NAIP
 
 Something changed on their end and I'm fixing the xml files I created from 
 this service (created xml files anyone can load from 
 https://github.com/rjhale1971/NAIP_WMS - currently all don't work).
 
 I fixed one and now that one WMS connections is a color negative. I fixed 
 several and they all are coming in as color negs.
 
 Example: 
 http://gis.apfo.usda.gov/arcgis/services/NAIP/Alabama_2013_1m/ImageServer/WMSServer?request=GetCapabilitiesservice=WMS
  
 
 I assume this is on the providers end and not mine (not qgis) - can someone 
 verify?
 
 Checked in QGIS 2.8 - Ubuntu - 14.04
 
 Randy
 
 
 
 
 -- 
 
 Randal Hale
 North River Geographic Systems, Inc
 http://www.northrivergeographic.com
 423.653.3611 rjh...@northrivergeographic.com
 twitter:rjhale http://about.me/rjhale
 http://www.northrivergeographic.com/introduction-to-quantum-gis
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Dotted line symbol in QGIS

2015-04-17 Thread David Fawcett
Here is another solution that would work if you are not mapping live data,
and you can use a derived product.  Convert your polygon dataset to lines.
The, use VectorDissolve to remove duplicated lines where they are
overlapping.

David.

On Fri, Apr 17, 2015 at 9:54 AM, Basques, Bob (CI-StPaul) 
bob.basq...@ci.stpaul.mn.us wrote:

  Hey Stefan,



 Neat trick/idea with the white line.  I’ll have to write that one down.
 Hmm, I wonder instead of white though, if you could convert that to
 transparent as well . . . .



 Bobb







 *From:* qgis-user-boun...@lists.osgeo.org [mailto:
 qgis-user-boun...@lists.osgeo.org] *On Behalf Of *Ziegler Stefan
 *Sent:* Friday, April 17, 2015 7:05 AM
 *To:* 'Chris Buckmaster'; 'qgis-user@lists.osgeo.org'
 *Subject:* Re: [Qgis-user] Dotted line symbol in QGIS



 Hi



 Put a white line under the dotted line („Add symbol layer“).



 Perhaps there is also a solution with the blending modes?



 Regards

 Stefan



 *Von:* qgis-user-boun...@lists.osgeo.org [
 mailto:qgis-user-boun...@lists.osgeo.org
 qgis-user-boun...@lists.osgeo.org] *Im Auftrag von *Chris Buckmaster
 *Gesendet:* Freitag, 17. April 2015 13:40
 *An:* qgis-user@lists.osgeo.org
 *Betreff:* [Qgis-user] Dotted line symbol in QGIS



 Hi



 I have a boundary layer that I want to symbolise with a dotted line. The
 outer boundary appears ok, but where two polygons are adjacent to each
 other, the dotted line becomes virtually solid (indicated below). How can I
 make these lines appear the same as my outer boundary lines…



  Thanks, Chris

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

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

Re: [Qgis-user] FGDC Geology Symbology for QGIS: add contributions where?

2015-04-17 Thread David Fawcett
Randy Hale did a similar thing with American Planning Assoc styles.
http://www.northrivergeographic.com/archives/building_styles_for_qgis

Maybe there is critical mass now...

On Fri, Apr 17, 2015 at 1:57 AM, Torsten Lange torsten.la...@mail.de
wrote:


 Hi Stefan,

 I think, this is a great contribution and will be definitly an important
 feature once it is in QGIS!

 Best, Torsten


 Am 17-Apr-2015 04:26:41 +0200 schrieb s.rev...@bigpond.com:

 Hello All,

 Is there an appropriate spot where a sizable chunk of FGDC Geology
 Symbology can be deposited? As I had a bit of time on my hands, I
 managed to bring 36 contacts, 112 faults, 10 joints and 120 folds
 symbols into QGIS. In addition, there are also three qml files with the
 geochron systems, series and stages names and colours according to the
 Commission for the Geological Map of the World.

 Thanks,

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


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

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

Re: [Qgis-user] Color Preview Modes in 2.8.1?

2015-03-19 Thread David Fawcett
Junior,

I am sure that I am just missing something, but I don't see it on my view
menu

Here is a screenshot:

https://copy.com/4jO9e0Xw1wThlWhb

On Thu, Mar 19, 2015 at 12:16 PM, Junior Delaz del...@gmail.com wrote:

 Hi,
 sure they do, at the same place :) :  View menu  Preview mode  ...

 2015-03-19 17:40 GMT+01:00 David Fawcett david.fawc...@gmail.com:

 Are the preview modes that simulate viewing by people with different
 'colorblind' conditions available in QGIS 2.8.1?


 http://nyalldawson.net/2014/05/and-now-colour-preview-modes-in-qgis-map-canvas/

 I looked in the View menu and couldn't see them.

 Thanks,

 David.

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



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

Re: [Qgis-user] DB Manager in QGIS 2.8

2015-03-19 Thread David Fawcett
Alexandre,

Thank you very much.  Of course, it was operator error!

I was writing a quick query for a demo and not to solve a real problem, so
I hadn't really thought through the issue with unique results.  Adding
DISTINCT made it work as expected.

A great enhancement to DB Manager would be some sort of error reporting,
even if it was minimal.

Like:
- db error, The database reported an error with your query.
- QGIS error, There is something about your result set that prevents QGIS
from adding it to the map.

Even better would be an error about the selected id column not containing
unique values.

With no error message reported, I just assumed that the plugin might not be
completely compatible with the new 2.8 release.  (when really it was my
error...)

Thanks again.  The QGIS integration with PostGIS is really valuable and
powerful.

David.


On Thu, Mar 19, 2015 at 6:18 AM, Alexandre Neto senhor.n...@gmail.com
wrote:

 Hello David,

 Can I assume that you use fires.id as unique integer value column in
 DBManager to load the layer?

 Because with your query you will likely get repeated values for fires.id.
 That is, each fires feature will appear as many times as lakes within 1000
 meters.

 If that's what you want, you can use row_number() function to create a
 fictional id for your layer. Something like this:

 WITH my_query as
 (
 SELECT fires.id, fires.inci_no, fires.descript, fires.geom
 FROM lab.mpls_fires_2014 fires
 INNER JOIN lab.mpls_lakes lakes
 ON ST_DWITHIN(fires.geom, lakes.geom, 1000)
 )
 SELECT
 ROW_NUMBER() OVER() as id,
 my_query.*
 FROM my_query;

 But, if I understand your problem, you want to show all fires that
 occurred within 1000 m of a lake. In that case, each fire should only
 appear once. You can use DISTINCT for that:

 SELECT *DISTINCT* fires.id, fires.inci_no, fires.descript, fires.geom
 FROM lab.mpls_fires_2014 fires
 INNER JOIN lab.mpls_lakes lakes
 ON ST_DWITHIN(fires.geom, lakes.geom, 1000)

 Best regards,

 Alexandre Neto


 Em 19/03/2015 03:25, David Fawcett david.fawc...@gmail.com escreveu:

 Thanks for the response Alexandre.

 Here is the query:

 SELECT fires.id, fires.inci_no, fires.descript, fires.geom
 FROM lab.mpls_fires_2014 fires
 INNER JOIN lab.mpls_lakes lakes
   ON ST_DWITHIN(fires.geom, lakes.geom, 1000)

 When I add ST_GEOMETRYTYPE(fires.geom) to the query, the value is
 St_MultiPoint for all records.

 David.

 On Wed, Mar 18, 2015 at 5:26 PM, Alexandre Neto senhor.n...@gmail.com
 wrote:

 Can you please show your sql query?

 Notice that if your query result in different geometries, qgis won't be
 able to choose a geometry type for the layer. I advice you to Check your
 results with St_GeometryType().

 Best regards,

 Alexandre Neto
 Em 18/03/2015 18:52, David Fawcett david.fawc...@gmail.com escreveu:

 I am running QGIS 2.8.1 on OSX 10.9.5 using William's binaries.

 The DB Manager plugin is at 0.1.20.

 I can load layers into PostGIS using the DB Manager plugin, and I can
 use the SQL window to execute a spatial query intersecting two tables.
 But, when I check the box to load the query result as a layer, fill out the
 controls, and hit Load Now!, the layer isn't added.

 I get the little black and white 'thinking beachball', but nothing else
 happens.

 Can anyone else confirm this?  If so, I can file an issue.

 David.

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



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

[Qgis-user] Color Preview Modes in 2.8.1?

2015-03-19 Thread David Fawcett
Are the preview modes that simulate viewing by people with different
'colorblind' conditions available in QGIS 2.8.1?

http://nyalldawson.net/2014/05/and-now-colour-preview-modes-in-qgis-map-canvas/

I looked in the View menu and couldn't see them.

Thanks,

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

Re: [Qgis-user] DB Manager in QGIS 2.8

2015-03-18 Thread David Fawcett
Thanks for the response Alexandre.

Here is the query:

SELECT fires.id, fires.inci_no, fires.descript, fires.geom
FROM lab.mpls_fires_2014 fires
INNER JOIN lab.mpls_lakes lakes
  ON ST_DWITHIN(fires.geom, lakes.geom, 1000)

When I add ST_GEOMETRYTYPE(fires.geom) to the query, the value is
St_MultiPoint for all records.

David.

On Wed, Mar 18, 2015 at 5:26 PM, Alexandre Neto senhor.n...@gmail.com
wrote:

 Can you please show your sql query?

 Notice that if your query result in different geometries, qgis won't be
 able to choose a geometry type for the layer. I advice you to Check your
 results with St_GeometryType().

 Best regards,

 Alexandre Neto
 Em 18/03/2015 18:52, David Fawcett david.fawc...@gmail.com escreveu:

 I am running QGIS 2.8.1 on OSX 10.9.5 using William's binaries.

 The DB Manager plugin is at 0.1.20.

 I can load layers into PostGIS using the DB Manager plugin, and I can use
 the SQL window to execute a spatial query intersecting two tables.  But,
 when I check the box to load the query result as a layer, fill out the
 controls, and hit Load Now!, the layer isn't added.

 I get the little black and white 'thinking beachball', but nothing else
 happens.

 Can anyone else confirm this?  If so, I can file an issue.

 David.

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


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

[Qgis-user] DB Manager in QGIS 2.8

2015-03-18 Thread David Fawcett
I am running QGIS 2.8.1 on OSX 10.9.5 using William's binaries.

The DB Manager plugin is at 0.1.20.

I can load layers into PostGIS using the DB Manager plugin, and I can use
the SQL window to execute a spatial query intersecting two tables.  But,
when I check the box to load the query result as a layer, fill out the
controls, and hit Load Now!, the layer isn't added.

I get the little black and white 'thinking beachball', but nothing else
happens.

Can anyone else confirm this?  If so, I can file an issue.

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

Re: [Qgis-user] Making border lines disappear

2014-07-30 Thread David Fawcett
You could also try to convert the underlying polygon dataset to polyline
for cartography purposes.  That gets rid of adjacent lines.  This was a
trick that I applied to get around strange effects with AGG in MapServer
quite a while ago.

David.


On Wed, Jul 30, 2014 at 2:39 PM, Alexandre Neto senhor.n...@gmail.com
wrote:

 A simple workaround (until it get fixed) could be to had a very thin
 border of the same colour/transparency of the fill.

 Alexandre Neto
 Em 30/07/2014 15:27, Andreas Neumann a.neum...@carto.net escreveu:

 Hi,

 This is an anti aliasing issue that many rendering libraries have. I
 doubt there is much the QGIS developers can do. It is beyond the control
 of the QGIS developers and an upstream problem of the rendering in the
 qt-library.

 The AGG rendering library solved this issue: see
 http://www.antigrain.com/screenshots/ and search for adjacent polygons
 in the text.

 I will forward this to the QGIS developers list.

 Andreas

 Am 30.07.2014 14:18, schrieb Jonathan Moules:
  Hi Frank,
  Thanks for confirming. Dissolving was the plan that the user was going
  to end up trying.
  For those interested, it's on the tracker as:
  http://hub.qgis.org/issues/10984
 
  Cheers,
  Jonathan
 
 
  On 30 July 2014 12:07, Frank Sokolic soko...@worldonline.co.za
  mailto:soko...@worldonline.co.za wrote:
 
  Hi Jonathan,
 
  I've been struggling with this too. Even if you set Border Width to
  zero the borders are faintly visible. I hack I've used occasionally
  is to dissolve the polygons using whatever attribute you're
  categorising by but this is a far from ideal solution.
 
  Frank.
 
 
  *From:* jonathanmou...@warwickshire.gov.uk
  mailto:jonathanmou...@warwickshire.gov.uk
  *Sent:* 2014/07/30 12:53:25 PM
  *To:* qgis-user@lists.osgeo.org mailto:qgis-user@lists.osgeo.org
  *Cc:*
  *Subject:* RE: [Qgis-user] Making border lines disappear
 
 
  Hi List,
  Using 2.4, how do you make borders on polygons invisible? Apparently
  this worked fine in 2.2, but doesn't seem to be possible with 2.4.
 
  Using the standard Simple Fill.
 
 
  Border style: No Pen:
  Inline images 1
 
  Border Style: Solid Line; Border: Dark green (second across from the
  Black) (fill: Same dark green):
 
  Inline images 2
  If you look closely you'll see white lines.
 
  Anyone else seeing this? It was brought up by one of our more
  observant users.
 
  Cheers,
  Jonathan
 
  This transmission is intended for the named addressee(s) only and
  may contain confidential, sensitive or personal information 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
  email traffic sent to or from us, including without limitation all
  GCSX traffic, may be subject to recording and/or monitoring in
  accordance with relevant legislation.
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org mailto:Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 
  This transmission is intended for the named addressee(s) only and may
  contain confidential, sensitive or personal information 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 email traffic sent to or from
  us, including without limitation all GCSX traffic, may be subject to
  recording and/or monitoring in accordance with relevant legislation.
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 

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


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

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

Re: [Qgis-user] Opening Raster from ESRI .GDB

2014-07-24 Thread David Fawcett
Even,

I believe that you meant that the ESRI FileGDB driver can only read files
created by ArcGIS 10.0 or higher.  Their driver does not work for 9.x files
if I remember correctly.

David.


On Thu, Jul 24, 2014 at 3:19 PM, Even Rouault even.roua...@mines-paris.org
wrote:

 Le jeudi 24 juillet 2014 22:04:00, Alex Mandel a écrit :
  Sorta, there are 2 drivers for GDB. The open GDB that Even has been
  working on and the official ESRI GDB api.
 
  The ESRI GDB api and Arc instance are not backwards compatible, once you
  upgrade a gdb to the latest it only works with the latest and there's
  often no way to write an older variant.

 The ESRI FileGDB SDK can only read gdb that have been created by ArcGIS
 9.X.
 The OpenFileGDB driver can (well, at least on all available samples I have
 worked on). See http://gdal.org/drv_openfilegdb.html for a comparison of
 both
 drivers

 
  The open GDB driver I think allows you to read any version and write
  older versions if you need to without auto-upgrading.

 Only reading. Writing hasn't been implemented although we probably have
 almost
 everything needed to implement it one day.

 
  Back to your original question does the ESRI gdb driver work for you use
  case for now? On windows I think you can get it with OSGeo4w on Linux
  you need to download the SDK from ESRI and recompile GDAL -

 Latest OSGeo4W must have GDAL 1.11, so you won't need recompiling anything.
 Check with ogrinfo --formats if OpenFileGDB shows in the list.

  but I don't
  know if this is vector and raster or just vector.

 ESRI FileGDB SDK only supports vector too. So no closed-source or
 open-source
 solutions for raster yet.

 
  Thanks,
  Alex
 
  On 07/24/2014 12:56 PM, Michael Treglia wrote:
   Hi Even,
  
   Thanks a lot for the quick response - I really appreciate your work in
   dealing with the GDB files!
  
   That sounds great! Let me know if you need more data examples and such.
  
   Just a quick question - .gdb is not typically forward and backward
   compatible across Arc versions, right? [I've definitely had .gdb files
   that don't work in QGIS, while some do, so I have assumed that it was
   due to versioning issues - is that right? Or should I be doing some
   trouble-shooting?]
  
   Thanks again, and best regards,
   Mike
  
  
   On Thu, Jul 24, 2014 at 3:27 PM, Even Rouault
   even.roua...@mines-paris.org
  
   wrote:
   Le jeudi 24 juillet 2014 18:19:14, Michael Treglia a écrit :
   Hi All,
  
   I've Googled around, and it seems like this isn't currently possible,
   but wanted to check with folks on this list for any solution...
  
   A lot of data being produced by agencies is now available only as
 ESRI
  
   .gdb
  
   files. A dataset I'm particularly interested in working with is a
   gridded soil dataset (
  
  
 http://www.nrcs.usda.gov/wps/portal/nrcs/detail/soils/ref/?cid=nrcs142p2
   _05
  
   3628 )
  
   These particular data are in raster format, stored as Arc 10.1 .gdb,
   available from here: http://datagateway.nrcs.usda.gov/GDGOrder.aspx
  
   Mike,
  
   When I reverse-engineered the vector part of FileGDB format that lead
 to
   the
   OGR OpenFileGDB driver of GDAL 1.11, I came through a few raster GDB
   samples.
   Dealing with them was not in the scope of the work that was funded,
 but
   from
   what I've seen, I've good hope that decoding them would be reachable.
   Would need some extra investigation of course to confirm and
   complementary funding...
  
   Best regards,
  
   Even
  
   Any suggestions are appreciated.
  
   Thanks!
   Mike
  
   --
   Geospatial professional services
   http://even.rouault.free.fr/services.html
  
   ___
   Qgis-user mailing list
   Qgis-user@lists.osgeo.org
   http://lists.osgeo.org/mailman/listinfo/qgis-user

 --
 Geospatial professional services
 http://even.rouault.free.fr/services.html
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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

[Qgis-user] Fwd: Possible Bug - Print Composer Save doesn't preserve status

2014-06-09 Thread David Fawcett
I tried to send this to the dev list, but got bounced.  Thanks, David.
-- Forwarded message --
From: David Fawcett david.fawc...@gmail.com
Date: Mon, Jun 9, 2014 at 9:36 PM
Subject: Possible Bug - Print Composer Save doesn't preserve status
To: qgis-developer qgis-develo...@lists.osgeo.org


I looked through the Issue Tracker and didn't see anything related to
this.

I am working on a project where I am cleaning up data and then exporting
each individual layer as a vector .pdf.  I configure the print composer to
my output params, etc. and then export a few layers, and then save the
project.  When I return to the project, I may have a new data layer that I
want to export in the same print composer so it aligns with the previously
exported layers.

The problem is that when I open up a saved project and then open a saved
composer template (ProjectPrint Composers), the map element that I had
previously added is not there.  Because there is no way that I will be able
to add the map element again and get it exactly aligned with the map
element in the last instance of the map project, I have to start the
process of exporting my layers all over again.

Is it expected that a user can save a print composer with a map element and
then return to that composer and see the map element from the previously
saved project/composer, or am I expecting something that is beyond standard
behavior?

If you think that this is a bug, I am happy to file an issue.

I am running the below version from William's OSX binaries:

QGIS version2.2.0-ValmieraQGIS code revision
Compiled against Qt4.8.5Running against Qt4.8.5Compiled against GDAL/OGR
1.10.1Running against GDAL/OGR1.10.1Compiled against
GEOS3.4.2-CAPI-1.8.2Running
against GEOS3.4.2-CAPI-1.8.2 r3921PostgreSQL Client Version 9.3.1SpatiaLite
Version4.1.1QWT Version6.0.2PROJ.4 Version480QScintilla2 Version2.8

Thank you,

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

[Qgis-user] RasterTranslate format bug?

2014-05-19 Thread David Fawcett
I am exporting an image in QGIS 2.2 and I see an issue with the output
format. When I select the .jp2 format from the GDAL formats list, I get an
error that I need to use.hdf.  HDF is the format before jpeg2000 in the
list.

If I try .bil, I get a .pnm format.  (also the format before .bil).  I am
wondering if there is an index issue going on?

I didn't see any existing issues with a quick scan of the issue tracker.

Thanks,

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

Re: [Qgis-user] lidar visualization in qgis

2014-03-26 Thread David Fawcett
The issue with these tools is that (at least last time I looked), some of
these tools can't be used in government or commercial sectors without
additional licensing.  I wasn't able to use the tools via Processing
without obtaining a license from the creator.

http://www.cs.unc.edu/~isenburg/lastools/download/LICENSE.txt


On Tue, Mar 25, 2014 at 3:36 PM, Gino Pirelli lui...@gmail.com wrote:

 did you tried LASTools as qgis/processing tool?

 http://rapidlasso.com/






 On 25 March 2014 21:08, antonio valanzano anval...@gmail.com wrote:

 I would like to start a discussion about the minimal functionalities that
 a new lidar plugin or a  core function  should present.

 Based on my experience the minimal requirements are:

 - to read data in LAS format
 - to visualize points based on classification or intensity
 - to allow the filtering of points based on classification
 - to allow the selection of points with spatial relationship with other
 layers
 - to export filtered points or selected points in LAS format

 Antonio Valanzano





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



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

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

Re: [Qgis-user] OS X 2.0 packages update

2013-09-24 Thread David Fawcett
It has been said before, but needs to be repeated.  William, you rock for
maintaining the QGIS and all of the other geospatial frameworks/binaries
for OSX!




On Tue, Sep 24, 2013 at 8:24 PM, William Kyngesburye
wokl...@kyngchaos.comwrote:

 I did a link hunt and fixed up all the link errors I could find, and took
 care of some other packaging problems.

 Also, Snow Leopard package is now ready.

 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/

 History is an illusion caused by the passage of time, and time is an
 illusion caused by the passage of history.

 - Hitchhiker's Guide to the Galaxy


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

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

Re: [Qgis-user] Coordinate Geometry capability

2013-03-04 Thread David Fawcett
There is a COGO plugin for QGIS called Azimuth and Distance.  I haven't
tried it, but Randy Hale wrote a blog post about it last spring.

http://www.northrivergeographic.com/archives/lost-my-bearing-found-it-in-qgis

David.

On Mon, Mar 4, 2013 at 10:54 AM, Gerard Ashton ashto...@comcast.net wrote:

 ArcEdit includes functionality that land surveyors like to call coordinate
 geometry.
 One can start at a given coordinate, and enter the direction and lengths of
 line
 segments on a traverse. The traverse usually returns to the point of
 beginning.
 Once the traverse is entered, calculations may be performed to find
 distance
 and direction between any two points, or the area enclosed by the traverse
 may be calculated. Naturally one might want to combine this with shape
 files
 for comparison.

 Of course optimum results in this area would be provided by an expensive
 software package marketed to land surveyors. But does Quantum GIS
 have reasonable capabilities in this area?

 I am new to free GIS software and am exploring what might be best. I
 have used various ESRI software in the past that I had free access to,
 but at present, don't have a revenue stream that would support the
 purchase of ESRI software.

 I am not a land surveyor or GIS professional; I have done fairly simple
 map making for various fire, EMS, and disaster organizations that I
 volunteer with.


 Gerard Ashton

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

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


[Qgis-user] QGIS at FOSS4G NA

2013-02-21 Thread David Fawcett
Tomorrow is the last day to get your presentation abstracts in for FOSS4G
NA.  http://foss4g-na.org/call-for-presentations/

I am a little disappointed that we haven't received many abstracts that
include QGIS, hopefully you are all just waiting until the final, final,
deadline...

Also, if any of you have recommendations for candidates to teach a QGIS
workshop. please email me.

Thanks,

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


Re: [Qgis-user] natural earth projection and qgis?

2013-02-06 Thread David Fawcett
Sorry about that.

It sounds like if you are using GDAL trunk or 2.0, you should just be able
to use:  +proj=natearth

I tried +proj=natearth +wktext in QGIS 1.8. , but I can't get it to take.
Here is a relevant post on the GDAL list.

http://lists.osgeo.org/pipermail/gdal-dev/2012-September/034036.html

David.

On Wed, Feb 6, 2013 at 7:03 PM, Chris Henrick chrishenr...@gmail.comwrote:

 hi, not talking about the data itself, I mean the actual projection called
 natural earth: http://www.shadedrelief.com/NE_proj/

 -chris

 On Wed, Feb 6, 2013 at 5:00 PM, David Fawcett david.fawc...@gmail.comwrote:

 http://www.naturalearthdata.com/features/





 -Chris

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


Re: [Qgis-user] natural earth projection and qgis?

2013-02-06 Thread David Fawcett
I am glad that you figured it out.

You can always get the version from the gdal utility too:

david$ ogrinfo --version
GDAL 1.9.0, released 2011/12/29


On Wed, Feb 6, 2013 at 7:34 PM, Chris Henrick chrishenr...@gmail.comwrote:

 no worries,

 I tried in bash:
 $ ogr2ogr -s_srs '+proj=natearth +wktext' -t_srs EPSG:4326
 trade_arrows_4326.shp trade_arrows.shp

 and got:
 Failed to process SRS definition: +proj=natearth +wktext

 then I tried

 $ ogr2ogr -s_srs 'LOCAL_CS[foo, EXTENSION[PROJ4, +proj=natearth
 +wktext]]' -t_srs EPSG:4326 trade_arrows_4326.shp trade_arrows.shp

 and success. I must have GDAL  2.0

 -Chris


 On Wed, Feb 6, 2013 at 5:24 PM, David Fawcett david.fawc...@gmail.comwrote:

 Sorry about that.

 It sounds like if you are using GDAL trunk or 2.0, you should just be
 able to use:  +proj=natearth

 I tried +proj=natearth +wktext in QGIS 1.8. , but I can't get it to
 take.  Here is a relevant post on the GDAL list.

 http://lists.osgeo.org/pipermail/gdal-dev/2012-September/034036.html

 David.


 On Wed, Feb 6, 2013 at 7:03 PM, Chris Henrick chrishenr...@gmail.comwrote:

 hi, not talking about the data itself, I mean the actual projection
 called natural earth: http://www.shadedrelief.com/NE_proj/

 -chris

 On Wed, Feb 6, 2013 at 5:00 PM, David Fawcett 
 david.fawc...@gmail.comwrote:

 http://www.naturalearthdata.com/features/





 -Chris




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


Re: [Qgis-user] Opening gdb files

2013-02-05 Thread David Fawcett
What is the version of the .fgb?  The api only works with = 10



On Feb 5, 2013, at 3:09 PM, Paul Lens paul.l...@gmx.com wrote:

 Hi List,
 
 Completing my previous post:
 - I downloaded the FileGDBAPI.dll file at 
 http://trac.assembla.com/dnrgps/browser/trunk/dnrgps/GDAL/bin/FileGDBAPI.dll?rev=20
   The filetype ESRI FileGDB is now displayed in the add vector module. 
 But I still get  the message
xxx.gdb is not a valid or recognized data source.
 - reinstalling the gdal-filegdb pack doesn't change anything.
 
 Thanks for any hint,
 
Paul
 
 
 Le 5/02/2013 21:35, Paul Lens a écrit :
 Hi List,
 
 I cannot open gdb files, using QGIS 1.8.9  GDAL/OGR 1.9.2 on windows Vista 
 sp2.
 
 According to the post: 
 http://gis.stackexchange.com/questions/26285/how-to-get-gdb-esri-file-geodatabase-support-in-quantum-gis-osgeo4w-qgis;,
  the gdal-filegdb pack should have put a FileGDBAPI.dll file  at 
 c:\OSGeo4W\bin, but I don't find it.
 
 I only find the ogr_FileGDB.dll file at c:\OSGeo4W\bin\gdalplugins.
 
 Any hint?
 
 (the gdb files are CCM2 data downloadable at http://ccm.jrc.it (instant 
 access after registration))
 
 Thanks for any response and for this very interesting user's list,
 
Paul
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 -- 
 Paul Lens
 Eau  Environnement
 101, rue Haute
 5060 Sambreville
 BELGIQUE
 Tel/fax: +32 (0)71/76.14.31
 GSM: +32 (0)471/13.16.87
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Reading .img - .rrd

2012-12-25 Thread David Fawcett
If I remember correctly, both ESRI software and GDAL-based software can
create .rrd files, but they are not interchangeable.  If you think that
this might be the problem, move the .rrd files to a different directory or
rename them.

David.

On Tue, Dec 25, 2012 at 8:00 PM, Randal Hale 
rjh...@northrivergeographic.com wrote:

 The img is the main image - the .rrd is a reduced resolution dataset (an
 external pyramid layer).  You shoudl be able to open them as Erdas Imagine
 Images.

 Are these images digital elevation models?

 Randy


 On 12/25/2012 07:17 PM, adolfo wrote:

 HI:

 I just downloaded QGIS and I can´t read some digital maps given by a
 friend
 in .img  .rrd formats. They are listed under ERDAS format read by QGIS
  but
 in mi ignorance they show only as a black square. Firts they opened as a
 NERO image files (as in files data collection under one file.)
 Any help will be much appreciated

 Adolfo
 Pucon, Chile


 http://osgeo-org.1560.n6.**nabble.com/file/n5024576/IMG_**0107.jpghttp://osgeo-org.1560.n6.nabble.com/file/n5024576/IMG_0107.jpg
 



 --
 View this message in context: http://osgeo-org.1560.n6.**
 nabble.com/Reading-img-rrd-**tp5024576.htmlhttp://osgeo-org.1560.n6.nabble.com/Reading-img-rrd-tp5024576.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 __**_
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/qgis-userhttp://lists.osgeo.org/mailman/listinfo/qgis-user


 --
 Randal Hale, GISP
 North River Geographic Systems, Inc
 http://www.**northrivergeographic.comhttp://www.northrivergeographic.com
 423.653.3611 
 rjhale@northrivergeographic.**comrjh...@northrivergeographic.com
 twitter:rjhale
 http://about.me/rjhale

 __**_
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/qgis-userhttp://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] split point cloud into X randomly selected (equally sized) parts

2012-11-26 Thread David Fawcett
Olav,

Take a look at libLas.  http://www.liblas.org/

It does not necessarily have as many commandline tools, but it is
performant and is licensed under BSD and LGPL.

Here is a comparison between libLas and LASTools:
http://www.liblas.org/lastools.html#lastools-liblas

David.

On Fri, Nov 23, 2012 at 6:49 PM, opeeters opeet...@gmail.com wrote:

 Great blog, Victor!
 Thank you!

 Well actually, a colleague came up with a very simple python script (see
 attachted splitgrid.py
 http://osgeo-org.1560.n6.nabble.com/file/n5018501/splitgrid.py  ). This
 is
 no spatial randomisation like eg the v.kcv function in GRASS GIS, but for
 large enough datasets, it delivers wonderfully fast and with a good spatial
 spread. Feel free to add it to your blog if you see any added value.

 Thanks Andreas,
 for pointing me to the LAStools! I did not know about them yet and yes,
 even
 if we are not doing LiDAR, these tools are superb in crunching big amounts
 of numbers. I contacted Martin Isenburg concerning a license for using
 las2dem or blast2dem. His response left me a bit shell shocked. I don't
 know
 the guy well enough I guess. But still, everyone has bills to pay. We would
 have the funds to reward him handsomely for his efforts in the project we
 would like to use this application in. But I'm sorry, I really cannot
 endorse the way he is going commercial now.

 Thanks paulo25,
 for pointing my to the v.kcv function in GRASS GIS.
 I tried is through the SEXTANTE toolbox, but with 3 million points, I guess
 this algorithm gets clotted. I tried it on a machine with plenty of RAM and
 CPU. The process just dies after some time. But for larger data sets a
 spatial randomisation is not so important as for smaller ones...

 Thanks again to you three!

 Regards,
 Olav







 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/split-point-cloud-into-X-randomly-selected-equally-sized-parts-tp5017330p5018501.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] Using/visualizing 3D data (Z values)

2012-10-17 Thread David Fawcett
Thanks for your response.  I am sure that it is there, but when I try
to import pyqt or pyqt4 I get the standard message about the module
not existing.  This is the case both in a normal shell or in the QGIS
Python window.

For visvis, when I try app = vv.use(), the backend is not detected.

David.

On Wed, Oct 17, 2012 at 12:55 AM, gene martin.lal...@gmail.com wrote:
 PyQt4 is present in the QGIS versions of William to be used in the Python
 console, so, automatically you have a backend.



 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Using-visualizing-3D-data-Z-values-tp4126375p5009181.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Using/visualizing 3D data (Z values)

2012-10-17 Thread David Fawcett
Thank you very much for your help.  Indeed, it was the PATH/PYTHONPATH issue.

I think that when I installed QGIS last time, I was in a rush and
didn't think that I would need the Python support.  I decided to
reinstall QGIS and then I found the same README.

I am excited to play with visvis.

David.

On Wed, Oct 17, 2012 at 10:12 AM, gene martin.lal...@gmail.com wrote:
 it is a problem of PATH

 *1) in the shell:*
 If you read the Read Me.rtf accompanying QGIS, the procedure is specified:
 /The PyQt programs are included to compile UI and resource files for
 plugins.  To use them, set these in your shell environment (you can add it
 to your ~/.bash_profile if you like):

 export PATH=/Applications/QGIS.app/Contents/MacOS/bin:$PATH
 export PYTHONPATH=/Applications/QGIS.app/Contents/Resources/python

 If you already have something in PYTHONPATH, add it instead with:

 export
 PYTHONPATH=/Applications/QGIS.app/Contents/Resources/python:$PYTHONPATH

 Note that QGIS.app MUST be installed in /Applications and must not be
 renamed for pyuic4 to work (it has a hardcoded path in it)./

 After that, you can use PyQt4 in the shell

 import PyQt4
 PyQt4.__file__
 '/Applications/QGIS.app/Contents/MacOS/../Resources/python/PyQt4/__init__.pyc'


 *2) In the console of QGIS*,
 This is not normal because the console itself is written in PyQt4
 1) with QGIS 1.8
 import   PyQt4:
 PyQt4.__file__
 '/Applications/*QGIS.app*/Contents/MacOS/../Resources/python/PyQt4/__init__.pyc'
 2) with QGIS dev:
 import   PyQt4
 PyQt4.__file__
 '/Applications/*QGIS_2.0-dev_SnoLeo.app*/Contents/MacOS/../Resources/python/PyQt4/__init__.pyc'






 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Using-visualizing-3D-data-Z-values-tp4126375p5009339.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Using/visualizing 3D data (Z values)

2012-10-16 Thread David Fawcett
Gene,

Your email and posts got me inspired to install visvis.

I am running Qgis 1.8 on OSX using William's installers at
kyngchaos.com.  By default, I don't have a GUI toolkit installed for
the backend.  Does anyone have any suggestions on the best way to get
one installed without conflicting with QGIS or other applications?

Thanks,

David.

On Tue, Oct 16, 2012 at 12:27 PM, gene martin.lal...@gmail.com wrote:
 Waiting for Globe, a solution to extract the z values of 3D shapefiles is to
 use ogr or shapely (see in qgis-developer
 http://osgeo-org.1560.n6.nabble.com/Re-Qgis-user-Using-visualizing-3D-data-Z-values-td5004272.html
 http://osgeo-org.1560.n6.nabble.com/Re-Qgis-user-Using-visualizing-3D-data-Z-values-td5004272.html
 ,
 http://osgeo-org.1560.n6.nabble.com/visualizing-3D-data-Z-values-or-data-with-z-attribute-a-solution-td5005360.html
 http://osgeo-org.1560.n6.nabble.com/visualizing-3D-data-Z-values-or-data-with-z-attribute-a-solution-td5005360.html
 ).

 After  you can use matplotlib or other Python modules like  * Visvis
 http://code.google.com/p/visvis/  * to visualize the data in 3D:
 http://osgeo-org.1560.n6.nabble.com/file/n5009086/qgisvisvissurfbok.png
 (see also, with  http://code.google.com/p/visvis/wiki/Screenshots
 http://code.google.com/p/visvis/wiki/Screenshots  )
 This solution also applies to layers with z attribute.

 The full explanation of the processing is given, in French, at  QGIS,
 représentation 3D des couches vectorielles (shapefiles dits 3D ou shapefiles
 avec attributs z) avec avec les modules Python Matplotlib ou Visvis à partir
 de la console Python
 http://www.portailsig.org/content/qgis-representation-3d-des-couches-vectorielles-shapefiles-dits-3d-ou-shapefiles-avec-attrib





 --
 View this message in context: 
 http://osgeo-org.1560.n6.nabble.com/Using-visualizing-3D-data-Z-values-tp4126375p5009086.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Proposal for QGIS-related blog

2012-10-14 Thread David Fawcett
If you go forward, don't forget to ask to have it added to planetgs.com and 
planet osgeo.



On Oct 14, 2012, at 5:33 PM, Victor Olaya vola...@gmail.com wrote:

 Hi all
 
 I was thinking about starting a blog to post QGIS-related stuff,
 mostly tipstricks about the SEXTANTE plugin, but also about other
 things, but since there are other people doing something similar (and
 writing really great posts), I think it would be a good idea to
 coordinate this a bit. To make it short...anyone fancy the idea of
 creating a collective blog to write small tutorials, recipes, etc,
 about QGIS? I think that would be good for the QGIS community, and it
 should not be hard to manage. It wouldn't be an official thing (by the
 way, is the official QGIS blog dead?), but with all the people that
 writes about QGIS, and with a little effort to make good posts and
 give them some homogeneity, it can become a reference point for the
 community of QGIS users and developers.
 
 It might be just a silly idea, so feel free to tell me your opinion on this.
 
 Cheers
 Victor
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] List protocol

2012-09-21 Thread David Fawcett
I think that in this day and age, people who need help with QGIS (or
anything else) come with the tools that they are using.  Whether someone
top or bottom posts really just depends on what their email client does by
default.

Most people out there that are new to OpenSource projects, the people that
we want to court and support have never even heard of the religious wars of
top vs bottom and are certainly not consciously choosing one over the
other.  On other lists recently, I have seen several people scolded for top
posting.  I just cringe because if I was them, I would leave and find a
different project or (a friendly proprietary software salesman... )

David.

On Fri, Sep 21, 2012 at 3:13 AM, Zoltan Szecsei zolt...@geograph.co.zawrote:

 Hi,
 While we are debating list language, should we not also debate list
 protocol - like are we a top or bottom posting list?
 I tend to post according to the posting style to the message I am
 responding to.

 If you look at the recent top-post to a bottom-post message thread on
 the Spanish language debate, you'll see what I mean: Three bottom posts,
 then all of a sudden a top post that directly references the last (bottom)
 post.

 It just gets messy, and as this list grows, we should perhaps consider
 gently but firmly adhering to jointly agreed upon protocols  -  including
 of course the famous (to all lists) thread-hijacking topic.

 Regards to all,

 Zoltan


 --

 ==**=
 Zoltan Szecsei PrGISc [PGP0031]
 Geograph (Pty) Ltd.
 P.O. Box 7, Muizenberg 7950, South Africa.

 65 Main Road, Muizenberg 7945
 Western Cape, South Africa.

 34° 6'16.35S 18°28'5.62E

 Tel: +27-21-7884897  Mobile: +27-83-6004028
 Fax: +27-86-6115323 www.geograph.co.za
 ==**=

 __**_
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/qgis-userhttp://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] FGDB and QGIS 1.8

2012-09-18 Thread David Fawcett
Wow, between this and the ArcGIS OGR plugin (under development), vendor
lock-in may be temporarily less of an issue.  At least until they decide to
tweak the formats and rules again...

https://github.com/RBURHUM/arcgis-ogr

On Tue, Sep 18, 2012 at 8:32 AM, William Kyngesburye
wokl...@kyngchaos.comwrote:

 Well, I was going to say this wasn't possible, at least it isn't
 currently.  On a whim I checked Esri, and wow, they have a Mac version of
 their FileGDB API library now!

 This will take a while for me to look into, but I expect I will release a
 plugin for my GDAL framework, providing the license allows it, then it
 should automatically be available in QGIS.  Stay tuned to my site.

 On Sep 18, 2012, at 3:15 AM, Thomas Dalbert wrote:

  Hi,
 
  I have QGIS 1.8.0 installed from KyngChaos on a Snow Leopard.
 
  Do I need to install or update something different to be able to read
 FGDB file directories?
 
  The ESRI FileGDB option is missing when I select to open a directory
 to add a vector layer.
 
  Thanks,
  Thomas
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user

 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/

 Theory of the Universe

 There is a theory which states that if ever anyone discovers exactly what
 the universe is for and why it is here, it will instantly disappear and be
 replaced by something even more bizarrely inexplicable.  There is another
 theory which states that this has already happened.

 -Hitchhiker's Guide to the Galaxy 2nd season intro


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

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


[Qgis-user] QGIS = Inkscape Issues

2012-08-26 Thread David Fawcett
I have created a map in QGIS and exported it as SVG.  I am attempting to
now edit and use the exported features in Inkscape.

I am having some issues placing text on the vector paths.  It appears that
Inkscape is treating the whole chunk of SVG exported from QGIS as one
object.  When I attempt to select an individual street line in Inkscape, I
get all of the features together.  I can use the path edit tool to modify
an individual line segment.  I can also symbolize it independently.

Does anyone have any experience with this?  Are there any good tutorials
for QGIS = Inkscape?

Thanks,

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


Re: [Qgis-user] QGIS = Inkscape Issues

2012-08-26 Thread David Fawcett
Andreas,

Thank you.  That is good confirmation.

I had tried to ungroup it, but the result was just about 6 more groups.  I
later figured out that I had to do another ungroup to get to the individual
features.

Thanks again,

David.

On Sun, Aug 26, 2012 at 4:36 PM, Andreas Neumann a.neum...@carto.netwrote:

 Hi David,

 You probably have to ungroup it (potentially several times).

 Unfortunately the file structure of the exported SVG is not optimal.
 Ideally there could be one group per layer with an id indicating which
 group is which layer.

 Hope this helps,
 Andreas

 Am 26.08.2012 21:02, schrieb David Fawcett:
  I have created a map in QGIS and exported it as SVG.  I am attempting to
  now edit and use the exported features in Inkscape.
 
  I am having some issues placing text on the vector paths.  It appears
 that
  Inkscape is treating the whole chunk of SVG exported from QGIS as one
  object.  When I attempt to select an individual street line in Inkscape,
 I
  get all of the features together.  I can use the path edit tool to modify
  an individual line segment.  I can also symbolize it independently.
 
  Does anyone have any experience with this?  Are there any good tutorials
  for QGIS = Inkscape?
 
  Thanks,
 
  David.
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 

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

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


Re: [Qgis-user] Explorer Arcgis online with linux?

2012-08-11 Thread David Fawcett
I would suggest that this is way off topic...



On Aug 11, 2012, at 3:02 AM, Johan Nilsson joni8...@gmail.com wrote:

 Hi.
 It's maybe little of topics for QGIS, but I think here maybe are people here 
 with linux. We have a student-task where we should use ESRIs explorer arcgis 
 online. I don't have MS Windows and silverlight. The url are: 
 http://www.arcgis.com/explorer/  I think I have downloaded and installed 
 moonlight, but I only get an empty page :(
 Someone who know if it's possible to use linux (Ubuntu) on 
 arcgis.com/explorer ?
 
 /Cheers
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Autocreating a qix file

2012-06-01 Thread David Fawcett
There is the shpTree Utility that comes with MapServer:
http://trac.osgeo.org/mapserver/wiki/ShpTree

David.

On Fri, Jun 1, 2012 at 6:54 AM, Jonathan Moules 
jonathanmou...@warwickshire.gov.uk wrote:

 I have a process which creates a new shapefile on a regular basis which I
 then provide to one of our users, however I'd like the new file to be
 spatially indexed.

 Is there a way to automatically generate a qix (QGIS shapefile index)
 file? By which I mean one that doesn't require any manual intervention.

 Thanks,
 Jonathan


 This transmission is intended for the named addressee(s) only and may
 contain sensitive or protectively marked material up to RESTRICTED 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 email traffic sent to or from us,
 including without limitation all GCSX traffic, may be subject to recording
 and/or monitoring in accordance with relevant legislation.

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


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


Re: [Qgis-user] Copy a raster

2012-03-21 Thread David Fawcett
Try right-clicking on the layer in QGIS and selecting 'Save As...'

You have the option of saving the data in different file formats too.

David.

On Wed, Mar 21, 2012 at 9:17 PM, john.polo jp...@mail.usf.edu wrote:
 QGIS Users,

 New QGIS user here, as well as a novice at GIS, with what is probably a
 basic question. If I want to copy a raster (.tif), should I just Cntl-C the
 file in the folder and paste and rename the copied file back into the
 folder? In ArcGIS I'd export the data and make all the copies I want. (Not
 griping against QGIS, just trying to give a better indication of what I
 intended to do) I looked in the edit menu and couldn't find an export or
 copy function. The edit toggle doesn't activate the layer for me to copy
 like I would a polygon. I checked the raster menu and wasn't sure which
 function would make a copy of the raster.

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


Re: [Qgis-user] Spatialite data portability

2012-03-15 Thread David Fawcett
I second Andreas.  The Spatialite list is great.

You could also use the spatialite-gui:
https://www.gaia-gis.it/fossil/spatialite_gui/index

David.

On Thu, Mar 15, 2012 at 7:16 AM, Andreas Neumann a.neum...@carto.net wrote:
 Hi Walter,

 Unfortunately I can't help. But I suggest that you ask the SpatiaLite cracks
 at their mailinglist:
 http://groups.google.com/group/spatialite-users

 I am pretty sure they can help you better than we here.

 Good luck!

 Andreas


 On Thu, 15 Mar 2012 12:09:57 +, Walter Ludwick wrote:

 Following the consensus opinion of all those who kindly answered my
 inquiry (Re: QGIS Farm Application), i have installed Spatialite and
 managed to export all the data from a layer to a .SQLITE file, and
 then view it from several different SQLite browsers, which confirms
 integrity of data  database structure. This already is a constructive
 step forward (thanks to all those who helped, too numerous already to
 mention :).

 Moreover, i have managed to create a database in LibreOffice based
 upon that .sqlite file (after (re)learning more than i really wanted
 to know about ODBC drivers!), which displays all the data as it
 should. This is another good step forward, because -tho the business
 of my farm is predicated on geo-located resources (e.g. a paddock on
 the ground) having certain attributes that are best defined in QGIS
 (e.g. perimeter, area, etc.)- i will still be working with that data
 in spreadsheets on a much more dynamic basis.

 However: When i try to edit those .sqlite files from QGIS in another
 tool, i'm running into an error message that varies slightly,
 depending on the editor i use (anything but OO at this point: ODBC is
 too much pain, until i get these other mechanics worked out), but the
 message is essentially this (from SQLiteStudio):
      Error while updating cell value; no such function: RTreeAlign.

 Presuming that what i am trying to do is in fact possible*;  then i
 am left scratching my head as to why all these SQL tools are having
 this trouble, and where that problematic function is coming from. Does
 that error message suggest anything to you?

 * (Of course, if what i am trying to do with such round-trip editing
 is in fact not possible, i would sure appreciate if someone could let
 me know :)

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


 --
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland

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


[Qgis-user] mmqgis on OSX

2012-03-13 Thread David Fawcett
I am running QGIS 1.9.90-Alpha  revison e13e45f  on OSX Snow Leopard
from William's installers at kyngchaos.com.

QGIS works great and seems to run faster than past versions.  I am
running into an issue with the mmqgis pluggin.  Maybe this dev build
is just not fresh enough.

I can successfully find and install the plugin.  When I select any of
the options from the plugginsmmqgis menu, no dialogs appear.  I am
guessing that it is an issue with Qt.

Here is what I see in the console:

3/13/12 8:23:08.565 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
loading of qgis translation failed
[/Applications/QGIS-1.9.app/Contents/MacOS/../Resources/i18n//qgis_en_US]
3/13/12 8:23:08.566 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
loading of qt translation failed
[/Applications/QGIS-1.9.app/Contents/translations/qt_en_US]
3/13/12 8:23:14.069 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
QFSFileEngine::open: No file name specified
3/13/12 8:23:22.256 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
QHttp: empty path requested is invalid -- using '/'
3/13/12 8:27:12.413 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
Object::connect: No such signal QComboBox::textChanged( const QString
)
3/13/12 8:27:12.413 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
Object::connect:  (sender name:   'cmbTheme')
3/13/12 8:27:12.413 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
Object::connect:  (receiver name: 'QgsOptionsBase')
3/13/12 8:27:12.413 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
Object::connect: No such signal QComboBox::textChanged( const QString
)
3/13/12 8:27:12.413 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
Object::connect:  (sender name:   'cmbIconSize')
3/13/12 8:27:12.414 PM [0x0-0x15015].org.qgis.qgis-dev: Warning:
Object::connect:  (receiver name: 'QgsOptionsBase')


If anyone thinks that there is a clear issue that warrants a ticket,
let me know and I will file one.

Thanks,

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


Re: [Qgis-user] Sorry for my faux pau

2012-03-12 Thread David Fawcett
John,

I had actually drafted a response to your query and was going to
recommend that you go with Windows because Linux commands and paths
are case sensitive, but I didn't send because I thought that you might
not find the humor in it...

Welcome to QGIS.

David.

On Mon, Mar 12, 2012 at 1:12 PM, john raskulinecz jera...@hotmail.com wrote:
 Dear Micha, Actually I was told about shouting before so my apologies for
 not remembering and thanks for the polite admonishment. I will give the
 linux download option a try.
 and thanks again for the quick post and info,
 J.R.

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

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


Re: [Qgis-user] [PROPOSAL] From srs.db to file-based CRS storage

2012-01-30 Thread David Fawcett
I am definitely not advocating for a switch to a different CRS database.

I would guess that the SQLite solution performs better than proj.4 as
well.  On recommendation for improving performance in applications
like MapServer that use proj.4 is to delete out the SRS definitions
that you will never use...

David.

On Mon, Jan 30, 2012 at 3:07 PM, Andreas Neumann a.neum...@carto.net wrote:
 Well - in my opinion, if one really wants to edit CRS it would be best
 to document the process well in the manual and leave the CRS storage  as is.

 1. - one doesn't need to edit the definitions very often
 2. - one needs to do it very carefully. CRS definitions are far more
 complex than SQL in my opinion. You really need to know what you do or
 your data will end up corrupted.
 3. - SQLite databases are very accessible. Even QGIS can be used to open
 and edit the tables. SQLiteMan comes with every Linux distribution and
 also as a firefox plugin.
 4. - with SQLite, the data is at least structure. With text-based
 formats you need to parse the format and you open doors for mistakes and
 unstructured data.
 5. - if definitions are missing, people should contribute them to the
 project so others can use them as well.

 Just my two cents.

 Andreas

 On 01/30/2012 09:31 PM, Alexander Bruy wrote:
 Hi Andreas,

 2012/1/30 Andreas Neumann a.neum...@carto.net:
 srs.db is file-based already. You can easily edit and update it with any
 sqlite compatible db application, such as sqliteman, openoffice, qgis,
 firefox, etc.

 Working with sqlite requires SQL knowledge and database manager/editor,
 while moving and editing flat text files is much easier for ordinal users.


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


Re: [Qgis-user] Re: [Qgis-developer] Excel Export from QGIS attribute table

2011-12-01 Thread David Fawcett
If the QGIS team decides to add this feature, they might want to look
at the freexl library.  (Brought to you by Sandro of SpatiaLite fame.

http://www.gaia-gis.it/FreeXL/freexl-1.0.0a-doxy-doc/index.html

David.

On Thu, Dec 1, 2011 at 4:34 AM, Filipe Silva Dias filipesd...@gmail.com wrote:
 Hello,

 I agree that such a tool would be very useful for many people. In my work I
 frequently have to collect environmental variables in a GIS and then export
 them to Excel/Calc for processing. To be able to this quickly with a few
 clicks would save me (and many people) a lot of time and patience.

 In ArcGIS this is only possible via the XtoolsPro extension (which is partly
 free), which directly exports the attribute table to a Excel spreadsheet (
 http://www.xtoolspro.com/tools.asp#e5 ). I used ArcGIS for several years and
 during that time users kept asking ESRI to include the extension in core,
 with no success.

 This is obviously a detail for QGIS development, but for many end users like
 me, it makes a LOT of difference. Sometimes small details like these play a
 huge role when it comes to decide to start using a software.

 Best regards


 On Thu, Dec 1, 2011 at 10:06 AM, Giovanni Manghi giovanni.man...@gmail.com
 wrote:

 Hi Andreas

   Who else would be interested in such functionality?

 this is one of the features qgis users/trainees ask more around here. So
 I guess that if they represent a part of the qgis users universe, such
 feature will interest quite a lot of people :)

 cheers

 -- Giovanni --

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



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

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


Re: [Qgis-user] graduated symbols for point layers

2011-11-28 Thread David Fawcett
To me, I don't know if this is a bug or not, but it is definitely not
intuitive for new (or old) users...

On Mon, Nov 28, 2011 at 7:37 AM, Giovanni Manghi
giovanni.man...@gmail.com wrote:
 This is tricky:

 if you select advanced - select scale field *before* hitting
 classify then the size symbols won't be scaled.

 If you do the other way it will work as expected.

 cheers

 -- Giovanni --


 On Tue, 2011-11-22 at 09:03 -0600, David Fawcett wrote:
 I can confirm that this is a problem in 1.8.0-Trunk.

 Graduated symbols used to 'just work', now they don't.  If they do
 somehow still work, it is very unintuitive.  I recently tried to show
 off some data using QGIS in a workshop that I was teaching.  I had
 upgraded QGIS to show off the latest look and features.  It was
 embarrassing when I couldn't do something simple like make graduated
 size symbols...

 Here is the version that I am using (on Win32)


 QGIS version
 1.8.0-Trunk
 QGIS code revision
 33b7e31
 Compiled against Qt
 4.7.1
 Running against Qt
 4.7.1
 GDAL/OGR Version
 1.8.1
 GEOS Version
 3.2.2
 PostgreSQL Client Version
 8.3.10
 SpatiaLite Version
 2.4.0
 QWT Version
 5.2.1
 This copy of QGIS writes debugging outpute.


 David.

 On Mon, Nov 14, 2011 at 10:06 AM, Caroline Rendon
 caroline.t.ren...@gmail.com wrote:
  Hi Sake,
 
  This doesn't work for me. The symbols still appear in graduated colors, all
  the same size - and the size doesn't seem to change when I change the
  number, although it does between millimeters and map units. I'm sure 
  there's
  just something I'm missing (I'm new to QGIS) but I can't figure it out.
  Thanks for your help!
 
  Caroline
 
  On Sat, Nov 12, 2011 at 3:08 AM, Sake Wagenaar sw1...@planet.nl wrote:
 
  Hi Caroline,
 
  If you use new symbology, the option to scale point symbols is hidden
  under the button 'Advanced'. With 'Size scale field' you can select a 
  field.
  Next you have to change 'Size', to give the symbols the size you want. If
  the values are large, and you use millimeters, the symbols get much too
  large, even if you use the smallest possible value for Size (0,01).  A
  better option is to use map units.
 
  Sake Wagenaar
 
  Op 11-11-2011 23:08, Caroline Rendon schreef:
 
  Hi,
  I'm trying to create graduated symbols for a point layer, and the only
  option it will give me is by color, but I want graduated symbols by size. 
  I
  was only able to get the color to work with old symbology because in new
  symbology the layer would just disappear altogether and I had to re-add 
  it.
  So in old symbology I can get dots of different colors but not different
  sizes. Am I missing a plugin or something? I'm working in 1.7.1 on Win XP.
  Thanks in advance for your help!!
 
  Caroline Rendon
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



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


Re: [Qgis-user] Profile Tool

2011-09-01 Thread David Fawcett
Alister,

Thank you for this new strategy!

David.

On Wed, Aug 31, 2011 at 5:18 PM, Alister Hood
alister.h...@synergine.com wrote:
 Hi guys,
 You can manually extract the files from the shapely installer (using
 e.g. Izarc or 7zip, or possibly just by renaming it as .zip or
 something), and put them in the right places.
 You need to put the shapely folder (from inside PURELIB) in e.g.
 C:\OSGeo4W\apps\Python25\Lib\site-packages\, and the geos.dll and
 libgeos-3-2-2.dll in I think C:\OSGeo4W\bin, although instead of
 installing those I seem to have got it working by editing
 C:\OSGeo4W\apps\Python25\Lib\site-packages\shapely\geos.py to use the
 lib from OSGeo4W instead (C:\OSGeo4W\bin\geos_c.dll).

 For the record, there is also an open ticket (with a suggested script)
 for registering the OSGeo4W Python with Windows, so that python package
 installers can find it: http://trac.osgeo.org/osgeo4w/ticket/114

 Regarding the profile tool plugin, Micha, it definitely runs on Windows.
 But on one of my machines I also got that error message about having no
 Qwt5.
 If I remember correctly, the problem was something like this: it
 requires the latest Qwt5 (or PyQwt5) in the OSGeo4W repository, but this
 machine only had an older version installed, and the OSGeo4W installer
 was not showing the latest version for some reason.
 I believe to fix it I uninstalled PyQwt5 and Qwt5, then reinstalled
 them.

 Alister

 Date: Wed, 31 Aug 2011 10:35:44 -0500
 From: David Fawcett david.fawc...@gmail.com
 Subject: Re: [Qgis-user] Profile Tool
 To: Ricardo Filipe Soares Garcia da ricardo.garcia.si...@gmail.com
 Cc: qgis-user@lists.osgeo.org
 Message-ID:

 CAF7K3b-RvCLBswiq807pE-a9+_pCB2LUwu+X+eQmK0=pekg...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 There is a windows installer for Shapely.
 http://pypi.python.org/pypi/Shapely#downloads

 The problem that I ran into was that the installer defaults to the
 Python install listed in the Registry.  For me, (and probably most
 people), that is not the Python instance installed by OSGEO4W.  At
 least last time that I attempted the install, there was no way to tell
 the Shapely installer to use a different Python instance.

 David.

 On Wed, Aug 31, 2011 at 8:15 AM, Ricardo Filipe Soares Garcia da
 ricardo.garcia.si...@gmail.com wrote:
  Hi Micha
 
  Concerning the 'Profile from Line' plugin, I've opened a ticket some
  months ago at OSGEO4W's bugtracker asking for packaging of a more
  recent version of the Shapely package but haven't had a reply. I
 guess
  they haven't gotten around to do it yet.
 
  However, I believe there must be a way of installing Shapely (and
  other Python packages) separately and then make them available
 inside
  OSGEO4W. Unfortunately I have never tried to do so, as I never had
  such a need. Maybe others can help out.
 
  Best regards
 
  2011/8/31 Micha Silver mi...@arava.co.il:
  I'm trying to install the Profile Tool plugin on an OSGeo4W setup.
 The
  plugin won't install saying it needs Qwt5, but that library should
 be
  install by the OSGeo4W-setup.
 
  WHat am I missing?
 
  BTW, the Profile from Line plugin need s Shapely 1.2 and the
 OSGeo4W has
  shapely 1.0. So is there no profile tool for Win users?
 
  Thanks,
 
  Micha

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


Re: [Qgis-user] Profile Tool

2011-08-31 Thread David Fawcett
There is a windows installer for Shapely.
http://pypi.python.org/pypi/Shapely#downloads

The problem that I ran into was that the installer defaults to the
Python install listed in the Registry.  For me, (and probably most
people), that is not the Python instance installed by OSGEO4W.  At
least last time that I attempted the install, there was no way to tell
the Shapely installer to use a different Python instance.

David.

On Wed, Aug 31, 2011 at 8:15 AM, Ricardo Filipe Soares Garcia da
ricardo.garcia.si...@gmail.com wrote:
 Hi Micha

 Concerning the 'Profile from Line' plugin, I've opened a ticket some
 months ago at OSGEO4W's bugtracker asking for packaging of a more
 recent version of the Shapely package but haven't had a reply. I guess
 they haven't gotten around to do it yet.

 However, I believe there must be a way of installing Shapely (and
 other Python packages) separately and then make them available inside
 OSGEO4W. Unfortunately I have never tried to do so, as I never had
 such a need. Maybe others can help out.

 Best regards

 2011/8/31 Micha Silver mi...@arava.co.il:
 I'm trying to install the Profile Tool plugin on an OSGeo4W setup. The
 plugin won't install saying it needs Qwt5, but that library should be
 install by the OSGeo4W-setup.

 WHat am I missing?

 BTW, the Profile from Line plugin need s Shapely 1.2 and the OSGeo4W has
 shapely 1.0. So is there no profile tool for Win users?

 Thanks,

 Micha

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





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

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


Re: [Qgis-user] Best way to store temperature info

2011-06-28 Thread David Fawcett
Jorge,

I did a very similar thing with some air modeling data.  The spatial
features were vector 'grid' cells.  I stored these in PostGIS.  For
each feature, there was one data measurement for each day of the year
and some additional aggregated data values.  I stored this data as
related tables in the same database.

To create animations, I used MapServer to create the individual image
slices.  I used a URL variable to pass each individual date in to
MapServer.  MapServer incorporated that value into a query where
condition used to pull data from PostGIS, and then it built the
associated image.

David.

On Tue, Jun 28, 2011 at 2:52 PM,  jorge.canel...@binarium.pt wrote:
 Quite true, what I want to ultimately do is an animation of temerture
 variations in several areas

 I was thinking in making a related table to store temepratures for points
 and areas indexed by date.

 thanks


 On Tue, 28 Jun 2011 17:45:09 +0200, Andreas Neumann wrote:

 I think Jorge wants to store data just at a single point (not a full
 raster). Any QGIS datasource would do: sqlite, PostgreSQL, etc.

 sqlite is easier to exchange with other people, Postgis makes more
 sense in a centralized multiuser environment. Both have good
 performance and SQL capabilities, PostgreSQL is of course more
 powerful.

 Netcdf would definitely be overkill if one stores temperature values
 just at a single point.

 Andreas

 On Tue, 28 Jun 2011 16:28:41 +0100, M.E.Dodd wrote:

 I have tried to work with with this format and find it a nightmare to
 deal with unless you are a experienced programmer and work with this
 kind of information all the time, i.e. you spend ages learning then
 its ok, I did not manage to get there.  Incidentally can qgis deal
 with it, think I asked this question a year or two ago and I suspect
 the answer was no although I may be wrong.

 -Original Message-
 From: Noli Sicad [mailto:nsi...@gmail.com]
 Sent: 28 June 2011 01:06
 To: jorge.canel...@binarium.pt
 Cc: Qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] Best way to store temperature info

 I think the best way is NetCDF.

 http://en.wikipedia.org/wiki/NetCDF



 http://www.mail-archive.com/search?q=GDAL+and+.nc+%28netCDF%29+and+qgisl=qgis-user%40lists.osgeo.org

 Noli

 On 6/28/11, jorge.canel...@binarium.pt jorge.canel...@binarium.pt
 wrote:

 Hi all

 what do you think is the best way to store temerature data in one poin?
 using attributes ? like Time, Date , Temp in a simgle point and keep
 repeating that point ? or can I have something like a relational DB on
 a shapefile ? or should I use postgis to achieve that ?

 Thanks
 Jorge

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

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

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

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


Re: [Qgis-user] FW: Esri File Geodatabase API Is Now Available

2011-06-08 Thread David Fawcett
I can't find a link to the TOU/License, but early on, I believe that
there were some restrictions like single-user, no server installs.
That may have changed.

David.

On Wed, Jun 8, 2011 at 1:30 AM, Paolo Cavallini cavall...@faunalia.it wrote:
 Il 07/06/2011 23:08, Advrk Aplmrkt ha scritto:
 YES. Our lab is trying to get out of the ArcGIS licencing trap which
 is prohibitively costly.
 The key would be a relatively easy way for us to convert our existing
 library of Arc geodatabases.
 Hope such a feature appears in QGIS very soon.

 I think your best option is to save shapefiles and convert them to either 
 PostGIS or
 SpatiaLite. The disadvantage is that you have to rebuild views and joins, but 
 I think
 this option is easier and more reliable than others.
 All the best.
 --
 Paolo Cavallini: http://www.faunalia.it/pc
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] Re: [Qgis-developer] Selecting an Enterprise GIS Solution - QGIS is Selected!

2011-01-10 Thread David Fawcett
I do think that it is ironic that many people will see the new ESRI
certification as a strong validation of GIS skills, but apparently
through anecdotes, these same people would have a very difficult time
doing these same universal geospatial tasks in QGIS.

Working in a mixed OpenSource/Proprietary environment, what I really
like is that I have thought and learned more about what is going on
behind the scenes, the actual spatial operations, transformations,
etc.

Hopefully, once introduced, these people will realize that QGIS isn't
very hard to use.  I honestly think that the transition from ArcGIS to
QGIS is more simple than Photoshop to GIMP or even Word to Pages on
the Mac...

David.



On Sun, Jan 9, 2011 at 10:31 PM, Alex Mandel tech_...@wildintellect.com wrote:
 On 01/08/2011 05:10 AM, Paolo Cavallini wrote:
 Il giorno sab, 08/01/2011 alle 11.36 +0100, xavi ha scritto:
 I think that maybe it's  off-topic, but please, I want to know your
 opinion on this question :)

 Thanks for your interest.
 I do not think it is OT. I reiterate what I wrote on qgis-dev (sorry for
 crossposting):
 ===
 I was referring to the statement:
 The use of Quantum GIS is not intended to replace DSE's investment in
 ArcGIS for more sophisticated analysis, mapping and data management
 activities
 I am sure the *investment* in QGIS is far more effective, functions for
 money, that any other. When organizations stop (or reduce) their
 investment in proprietary GIS solutions, and channel the same resources
 into QGIS, the advantages are evident.
 What is wrong is to compare investment in one solution with no
 investment in the other.
 ===
 More generally, I think the many institutions around the world that are
 more or less formally evaluating QGIS would do much better doing it in
 the open, collaborative fashion that we use for all QGIS activities. A
 closer contact with the QGIS developer and user community would bring
 advantages to all.
 All the best.

 I completely agree with your sentiments but realize there are ongoing
 constraints. In this case, which sounds similar to many gov agencies
 I've worked with their is a well established core GIS group with many
 years experience on ArcGIS, but what the org is looking for is a way to
 roll basic GIS viewing/exploring or custom data entry apps to the rest
 of their users. Moving their existing GIS specialists off of ArcGIS
 would be traumatic and require significant retraining time which is
 why they probably can't jump all at once. That and they may have
 specific custom workflows built in Arc already.

 Our hope can be that if many users in an org start using QGIS, the GIS
 specialists will also get a taste and may move more towards FOSS for
 many of their projects when it fits. I've seen an anecdotal trend
 amongst people I work with moving parts of their work to QGIS because
 they need Postgis functionality for massive geoqueries that were
 crashing Arc.

 So I see it as a win even if just a small one.

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

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


Re: AW: Re: Fwd: [Qgis-user] QGIS Near

2010-10-28 Thread David Fawcett
Isn't a problem like this usually solved with a two-pass method.

The first pass uses the spatial index to eliminate all of the features
that could not possibly intersect/touch/etc.  And then in the second
pass, an actual (more expensive) spatial overlay operation is
performed on those candidates to determine their true spatial
relationships.

David.

On Thu, Oct 28, 2010 at 10:29 AM, Giuseppe Sucameli
sucam...@faunalia.it wrote:
 Hi Stefan,

 On Thu, Oct 28, 2010 at 7:48 AM, Ziegler Stefan stefan.zieg...@bd.so.ch
 wrote:

 thanks for looking into this. Do you think it's worth filling out a bug
 report since the nearestNeighbor method does not the  keep the promise or is
 this the normal behaviour of a spatial index based method?

 I think we should fill a bug report because the nearestNeighbor doesn't work
 as
 expected.
 I don't know if the QgsSpatialIndex can be improved to manage complex
 geometries,
 but AFAICS in the few inline comments within the code, in this moment it
 manages only
 Points, Lines and Regions (rectangles), so every polygonal geometry must be
 converted to Regions.

 This issue could take a lot of time to be fixed, but we can use the ticket
 to require
 the documentation about the QgsSpatialIndex class. In this moment it's
 missing.

 Cheers.


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


Re: [Qgis-user] Polygon colours in existing shape files

2010-10-08 Thread David Fawcett
There is potential for automatically styling data from MapInfo data
sets, I don't know how feasible it is or whether there is a large
enough MapInfo contingent that would be interested in funding the
effort if it is possible.

In a MapServer application,  one can specify that MapServer should use
the symbology/styling info stored in the .TAB file.  This
functionality depends on the GDAL/OGR driver, so I don't know how much
of this support is in OGR code and how much is the MapServer code.
http://mapserver.org/input/vector/mapinfo.html

Also, assuming license compatibility:  http://mapserver.org/copyright.html

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


[Qgis-user] QGIS 1.5 - Ability to set WMS provider version?

2010-10-01 Thread David Fawcett
I have successfully used QGIS to consume WMS v 1.1 services in the
past, but I can't seem to get them to work with QGIS 1.5.0 (WinXP via
OSGEO4W built against 13923M).  The server is advertising only WMS
version 1.1 in the getCapabilities doc, but QGIS is using OGC Web Map
Service version 1.3 data provider.

I can't find anywhere to manually set the correct WMS data provider.
Any sugggestions?

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


Re: [Qgis-user] QGIS 1.5 - Ability to set WMS provider version?

2010-10-01 Thread David Fawcett
Jurgen,

Thanks for the quick reply.

I just figured it out.  It wasn't a problem with the WMS version.  The
layer was being added, but I wasn't seeing any imagery.  I think that
the problem was that when I was in the dialog where you choose the
layer from a connected WMS, I didn't select the radio button for JPEG.

This WMS only advertises/supports one imagetype, 'image/jpeg'.  Even
though there is only one Image Encoding option, the ratio button was
not selected by default.  I had added a WMS layer that was of type
image/png and the radio button was automatically selected by default.

So, user error.

Thanks again,

David.

On Fri, Oct 1, 2010 at 10:19 AM, Jürgen E. j...@norbit.de wrote:
 Hi David,

 On Fri, 01. Oct 2010 at 10:11:40 -0500, David Fawcett wrote:
 I have successfully used QGIS to consume WMS v 1.1 services in the
 past, but I can't seem to get them to work with QGIS 1.5.0 (WinXP via
 OSGEO4W built against 13923M).  The server is advertising only WMS
 version 1.1 in the getCapabilities doc, but QGIS is using OGC Web Map
 Service version 1.3 data provider.
 I can't find anywhere to manually set the correct WMS data provider.

 That's just a static string from QGIS' only WMS provider.  Which problems
 are you actually seeing?   And is that WMS public so other could try to
 reproduce?


 Jürgen

 --
 Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
 Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
 Software Engineer         D-26506 Norden               http://www.norbit.de

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

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

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


Re: [Qgis-user] QGIS WEB Presence Capability

2010-03-04 Thread David Fawcett
Well said Brent.

In the OpenSource Geospatial world, individual projects tend to
specialize on one part of the 'stack' (desktop, maping server,
database, etc.)  Because many of these projects base their products on
open standards, they tend to work quite well together.

In some cases, there are people who are active in multiple OSGEO
projects.  This gives good cross-pollination and helps ensure that
products work well together.

It is a good thing that QGIS is only focusing on the desktop.  There
are some other very good projects focusing on the Web map, Web
services part of the stack.

David.

On Thu, Mar 4, 2010 at 12:36 AM,  pcr...@pcreso.com wrote:
 Hi Rudy,

 QGIS does not, but QGIS is only one application of the OSGEO stack, and other 
 applications in this suite can do this.

 http://www.osgeo.org

 For example, you have map data in shapefiles or PostGIS databases

 You can use Geoserver or Mapserver (or a few other FOSS or expensive 
 programs) to read these data sources  provide them via OGC web services such 
 as WMS  WFS.

 You can connect to such web services with QGIS (WMS natively  WFS via a 
 plugin) to view the data.

 You can use mapserver scripts, or javascript tools such as OpenLayers or 
 GeoMoose to provide web clients to display these data.

 One ESRI web mapping developer I have worked with used mapserver  Openlayers 
 for one application he was building. He said the development environment was 
 very primitive compared with ESRI- hand written mapfiles, etc. However he 
 also said it took about 1/3 the time to implement it than it would have taken 
 with ESRI tools,  it worked pretty much first go with no problems to debug  
 fix.

 So simple, inelegant but robust  effective :-)

 Tyler Mitchell's book on mapserver  related tools is a very good 
 introduction. You can have a system with basic functionality up  running on 
 Windows or Linux in about 10 minutes.

 HTH,

  Brent Wood

 --- On Thu, 3/4/10, Rudy BALANCE r...@balancernd.com.au wrote:

 From: Rudy BALANCE r...@balancernd.com.au
 Subject: [Qgis-user] QGIS WEB Presence Capability
 To: qgis-user@lists.osgeo.org
 Date: Thursday, March 4, 2010, 12:21 PM
 Many of the commercial applications
 Eg:  ARC GIS  Map INfo have the ability to provide
 a Web Based precense such that Internet users can browse
 various GIS data layers,

 Many local authorities provide this capability through
 ESRI's Eview see:
 http://www.esriaustralia.com.au/esri/2181.html

 Example Wollongong City COuncil:
 http://www.wollongong.nsw.gov.au/planninganddevelopment/map.asp



 DOES or WILL   QGIS have this capability
 ???


 Regards Rudy



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

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

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


Re: [Qgis-user] Othos and QGIS forum

2010-01-29 Thread David Fawcett

Tom,

Most OS GIS libraries can't read ESRI's proprietary .rrd and .aux  
files.  If your image is a georeferenced .tif, try the .tif file in a  
directory by itself.


David



On Jan 29, 2010, at 7:54 PM, Tom Mort tom_m...@sbcglobal.net wrote:

I am new to Quantum GIS and have a couple questions.  I have some  
layers from an Arcview GIS that I can use, however, I am having  
trouble with an ortho layer.


For the ortho layer I have 5 files.  They are .img, .img.xml,  
tif, .aux and .rrd.


The layer shows up on the left part of the screen and I can see its  
properties and so forth, however, I can't view the ortho image.   
Transparency is set to none and I have tried with only the ortho  
layer added as well as along with several other layers with the  
ortho either on top of the list or on the bottom.


I can't see the image in any case.  In the case where the ortho is  
the only layer turned on if I have transparency set to none  
everything is black, if at 50% everything is grey, 0% white.


Anyone have any idea what I am doing wrong?

Also, I tried to register for the qgis forum several months ago and  
could never login.  If I entered my username (email) and password it  
said it hadn't been activated but I never received an activation  
email.  I contacted someone and they said their server was having  
problems.  I tried again a few days later with another email with  
the same results.  My issue was that qgis wouldn't install with  
Fedora 11 so I dropped the matter.  Since that time I've upgraded to  
Fedora 12 and there is a different qgis package for it which does  
install, however, I still can't login to the forum and I can't use  
either of my emails because they are both associated with  
(inactivated) accounts.


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

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


Re: [Qgis-user] GDAL and .nc (netCDF) and qgis

2010-01-12 Thread David Fawcett
For a quick check of the data, you might want to use OpenEV. It is
part of the FWTools distribution.

http://fwtools.maptools.org/
http://openev.sourceforge.net/

David.



On Tue, Jan 12, 2010 at 11:04 AM, M.E.Dodd m.e.d...@open.ac.uk wrote:
 Thanks for the replies on this one.
 I am indeed looking at other tools to open netCDF files.
 However I just noticed that in qgis 1.4 there is a .nc option (well two 
 actually presumably different formats) when opening a raster image.  So I 
 tried it, unfortunately the file opened upside down and possibly a little 
 smaller than it should have done.
 Has anyone else used this in qgis to confirm the qgis part is working OK so I 
 can go back to the data provider and check the original data itself.

 -Original Message-
 From: Mike Toews [mailto:mwto...@sfu.ca]
 Sent: 07 January 2010 18:19
 To: M.E.Dodd
 Cc: qgis-user@lists.osgeo.org
 Subject: Re: [Qgis-user] GDAL and .nc (netCDF) and qgis

 M.E.Dodd wrote:
 I would like to open some large gridded met data files, produce means of the 
 values for each grid square (data for each square are given each year for a 
 number of years and I want a mean of all the years) and write the data out 
 again showing just the means per grid square.


 I would look at other tools for doing calculations on multi-dimensional
 NetCDF files. I've used NCO in the past for this,[1] which can average a
 time dimension in a 3D grid to produce a 2D grid (which can be converted
 to any other raster format using GDAL). You can do much more with NCO
 utilities. However, NCO is not user-friendly, since it is command-line
 work, requires a lot of documentation reading to understand the usage,
 and is available for almost all operating systems except MS Windows.

 [1] http://nco.sourceforge.net

 -Mike


 The Open University is incorporated by Royal Charter (RC 000391), an exempt 
 charity in England  Wales and a charity registered in Scotland (SC 038302).
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] alternatives to join attributes

2009-12-17 Thread David Fawcett
Have you thought about loading the data into PostGIS?  You would load
the data into the db and then be able to query and display only the
data that you want at any time.

David.

On Thu, Dec 17, 2009 at 8:46 AM, Carbonari, Katie (IS)
katie.carbon...@ngc.com wrote:
 Good morning. I have a lot of data I need to visualize in QGIS (142 time
 steps, each with over 200,000 points). I need a way to quickly and easily
 load this data in QGIS. All of my data is in separate .csv files (one file
 per time step). I load each file via the csv plug-in and then use join
 attributes to connect my csv data to the polygon data that defines my grid.
 Join attributes takes forever (trying to do 4,000 points took an hour). Any
 one know of any other, faster way to do this? Or a way to speed up my join
 attributes? I know 200,000 points is a lot to ask and can easily cut that
 down a bit, but an hour to do 4000 points seems very slow. At that rate, it
 would take 3 weeks to load the entire time series into QGIS. I'm running the
 latest version of QGIS (Mimas) on a Mac OsX.

 Thanks,
 Katie

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


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


Re: [Qgis-user] alternatives to join attributes

2009-12-17 Thread David Fawcett
On Thu, Dec 17, 2009 at 10:19 AM, Edmond, Brian S
brianedm...@missouristate.edu wrote:
 Katie,



 Your foray into PostgreSQL and PostGIS will not be wasted if you plan to do
 more GIS in the future.  Even if you do it only for this project, it should
 help you tremendously.

Katie,

It can be a little daunting to figure out where to start with PostGIS,
but when you are dealing with large amounts of spatial features and
related attribute records, moving to a spatially-enabled relational
database is really the best solution.

Like Brian said, learning PostGIS will not be wasted time.  Even if
you end up using a different spatial database in the future, most of
the knowledge transfers well.

If you aren't already using William Kyngesburye's GIS frameworks and
binaries for the Mac, I recommend it.  It is quite a reasonable way to
install QGIS, PostGIS, MapServer, and all of the software dependencies
that they need.

http://www.kyngchaos.com/macosx:index
http://www.kyngchaos.com/macosx:build:index

You can download the PostGIS workshop from FOSS4G 2009 at:
http://2009.foss4g.org/workshops/#workshop_03

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


Re: [Qgis-user] seting up a wms server problems

2009-11-09 Thread David Fawcett
Ricardo,

This is probably a better question for the MapServer list, but I will
give it a shot:

I would suggest creating a WMS request and testing it directly in a
browser.  In your example URL[2], you are making a mode=map request,
not a WMS request.  If you get this to work, you know that you have a
working WMS server.

I am wondering if the issue with the WMS request not working is due to
the spatial reference system used by your QGIS project.

David.

On Sat, Nov 7, 2009 at 9:20 PM, Ricardo Filipe Soares Garcia da
ricardo.garcia.si...@gmail.com wrote:
 Hello list

 I've been trying to set up a wms server on my laptop for testing
 purposes but I can't seem to make it work.
 I'm using mapserver, having installed version 5.4.2 as supplied by the
 ubuntugis-unstable repository for ubuntu 9.10, which is my operating
 system.
 I created the mapfile[1], tested the GetCapabilities request through a
 web browser (it came out without any warnings) and I can see my map
 through shp2img and also through a web browser[2]. However, I cannot
 see it through Qgis. I am defining my wms server with the following
 connection string:

 http://pig/cgi-bin/mapserv?map=/home/ricardo/Public/public_html/pig/mapfiles/teste.map

 ('pig' is just the name I gave to my apache virtual host, so that is
 why it is there, instead of 'localhost')

 I can connect to the server and see the available layers, but when I
 select one layer to be loaded Qgis acts like it loaded the layer but I
 get only a blank image that is not even showing up in the place that
 it was supposed to.

 Maybe this question would be better suited for the mapserver
 mailing-list but I can see the map through a browser, so I am guessing
 that my mistake is in the definition of the wms server inside Qgis...

 Please note that I can use the default wms servers that come with Qgis
 (the JPL, Lizardtech and DMSolutions) without any problem.

 As a side note, I tried the same thing with Kosmo and the result was
 the same. I can see the available layers but when I load a layer the
 result is just a blank image. Through Kosmo I can even see the legend
 of the map, which appears fine, showing my 2 classes and their color..

 Thanks for helping me out


 [1] - mapfile named teste.map follows:

 # testes para mapfile para PIG
 map
    name nomeServWMS
    status on
    size 800 600
    extent -89082.193 -100704.460 -88936.384 -100604.0546
    units meters
    imagecolor 255 0 255
    imagetype png
    projection
        init=epsg:27492
    end
    web
        imagepath /home/ricardo/Public/public_html/pig/temp_images/
        imageurl /temp_images
        log testes.log
        header /home/ricardo/Public/public_html/pig/templates/header.html
        template /home/ricardo/Public/public_html/pig/templates/blank.html
        footer /home/ricardo/Public/public_html/pig/templates/footer.html
            metadata
                wms_title titulo do servico
                wms_abstract pequena descricao do servico wms
                wms_onlineresource
 http://pig/cgi-bin/mapserv?map=/home/ricardo/Public/public_html/pig/mapfiles/teste.map;
                wms_srs epsg:27492
            end
        end
    layer
        name salasP1
        type polygon
        status on
        connectiontype postgis
        connection host=localhost dbname=pigTeste user=gisuser
 password=resusig
        #data the_geom from (select * from sala where pi_gid=1) as
 salaP1 using unique sa_gid using srid=27492
        data the_geom from salasp1 using unique sa_gid using srid=27492
        template ../templates/blank.html
        dump true
        projection
            init=epsg:27492
        end
        metadata
            wms_title salasP1tit
            wms_abstract Breve descricao
            wms_keywordlist teste
            wms_srs epsg:27492
            wms_include_items all
            gml_include_items all
            wms_feature_info_mime_type text/plain
        end
        classitem tipo
        class
            name WC
            expression Casa de banho
            style
                color 232 232 232
                outlinecolor 0 0 0
            end
        end
        class
            name Sala
            expression Sala
            style
                color 255 0 0
                outlinecolor 0 0 0
            end
        end
    end
 end


 [2] - calling it as
 http://pig/cgi-bin/mapserv?map=/home/ricardo/Public/public_html/pig/mapfiles/teste.mapservice=wmsmode=maplayer=salasP1

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

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


Re: [Qgis-user] Within Quantum GIS can you open ESRI file geodatabases and export to shapefile?

2009-03-27 Thread David Fawcett
No, the file geodatabase is a proprietary format.  OGR can read the  
Access based Personal Geodatabse though.  At least the feature info  
anyway.


David.



On Mar 27, 2009, at 6:50 AM, John Mitchell mitchellj...@gmail.com  
wrote:



Hi,

Within Quantum GIS can you open ESRI file geodatabases and export to  
shapefile?


Thanks,

John

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

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


Re: [Qgis-user] rephrased;. import 3D line into a shapefile?

2009-03-18 Thread David Fawcett
Tom,

You have laid out an interesting (fun) problem.  I don't have a
solution for you, but a few thoughts on how I would approach it.

1.  I am not sure how you want to display the 3D shape in QGIS.  If
you are just going to symbolize the depth by coloring the line
segments, you could get by with a 2D shapefile and an attribute for
depth.

2.  I would likely write a python script using the ogr python module
to calculate the x,y,z values for each vertex in your line and then
create the shapefile.

3.  Instead of using lat/lon for your spatial reference system, you
may want to think about projecting your original point to a coordinate
system like UTM.  This should make your calculations easier.

David.

On Wed, Mar 18, 2009 at 1:46 PM,  mtnbiketr...@zzz.com wrote:
 Okay, let me rephrase the question. I did look at ogr2ogr, csv file import.
 I have a 3D line, but only the beginning vertex has x,y,z. The line is a
 survey of a cave, so only the entrance has a latitude, longitude, and z
 coordinate. The rest are relative to the control point. Any suggestions on
 how to import that?
 Tom

 Subject: [Qgis-user] import 3D line into a shapefile?
 To: qgis-user@lists.osgeo.org
 Message-ID: 49bfe4b3.60...@zzz.com
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Hi, I'm a beginner user.
 Is it possible to import a 3D line into QGIS? I have the text file with
 distance, compass, and azimuth and want to have it show as a shapefile(?) in
 3 dimensions inside QGIS.  How would I go about doing that? Also, correct
 me, don't I have to use the correct datum to show 3d. Like WGS84? I don't
 think NAD83 can handle 3D?

 thanks,
 Tom


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

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


Re: [Qgis-user] World file

2008-12-19 Thread David Fawcett
Augustin,

Below is a Python function that I threw together to calculate world
file params for a rotated image and write them out to a file.  It
might be of some help to you.

David.



# creates a world file for the air photo
# Args:
#   outputFile - directory to write the world files to
#   xResolution - pixel resolution in x direction
#   yResolution - pixel resolution in y direction
#   angleDeg - the angle of rotation in degrees


def 
writeWorldFile(outputFile,xResolution,yResolution,angleDeg,rotatedUlXcoord,rotatedUlYcoord):

angleRad = -math.radians(angleDeg)
line1 = xResolution * math.cos(angleRad)
line2 = -xResolution * math.sin(angleRad)
line3 = -yResolution * math.sin(angleRad)
line4 = -yResolution * math.cos(angleRad)
line5 = rotatedUlXcoord
line6 = rotatedUlYcoord

try:
newWorldfFile = open(outputFile+.jgw,w)
except:
print couldn't open file

fileText = str(line1) + '\n' + str(line2) + '\n' + str(line3)
+ '\n' + str(line4) + '\n' + str(line5) + '\n' + str(line6) + '\n'

newWorldfFile.write(fileText)
newWorldfFile.close()
return


On Fri, Dec 19, 2008 at 10:31 AM, José María Michia
jose.maria.mic...@gmail.com wrote:
 2008/12/19 Agustin Lobo aloboa...@gmail.com:
 This could be considered a bit off-topic.

 If a jpg image were well alligned with a N-S grid,
 the world file would be something like:

 0.4007552
 0
 0
 -0.4007552
 438209.4
 4625526

 but if I have to rotate 90 deg. to the left, how should I make the
 file?

 Any orientation,pointer etc?

 The file TFW  must be:

 0
 0.4007552
 0.4007552
 0
 438209.4
 4625526

 For explanations see:

 http://www.omg.unb.ca/~jonnyb/processing/geotiff_tifw_format.html
 http://lists.maptools.org/pipermail/geotiff/2007-January/000362.html

 Saludos
 José María

 Thanks

 Agus
 --
 Dr. Agustin Lobo
 Institut de Ciencies de la Terra Jaume Almera (CSIC)
 LLuis Sole Sabaris s/n
 08028 Barcelona
 Spain
 Tel. 34 934095410
 Fax. 34 934110012
 email: agustin.l...@ija.csic.es
 http://www.ija.csic.es/gt/obster
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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

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


Re: [Qgis-user] one raster from tiles

2008-04-21 Thread David Fawcett
I think that you have brought up an interesting idea though.

After getting used to the idea of being able to use a tile index for large
raster data sets in MapServer.  I have really wished that this feature
existed in desktop GIS.  In ArcGIS, you can create a raster catalog, but you
have to use a geodatabase and their 'tile index' layer doesn't give actual
footprints of the images, just the bounding boxes.

I think that it would be great to be able to use a tileindex in qGIS.

David.

On Mon, Apr 21, 2008 at 8:51 AM, Lionel Roubeyrie [EMAIL PROTECTED]
wrote:

 Big thanks Yves for pointing gdal (never thinking at all for it), there's
 a
 special command to merge multiple tiles into one with gdal_merge.py.
 Keep gdaltindex under the pillow :-)

 Le lundi 21 avril 2008, Jacolin Yves a écrit :
  Le Monday 21 April 2008 14:04:39 Lionel Roubeyrie, vous avez écrit :
   Hi all,
   I have several tiles rasters (geotiff) describing a large area in high
   resolution, and generally I work on a small area, having to import all
   tiles because they don't have explicit names (and without the
 possibility
   to put them directly under a group (see a previous post), which should
 be
   a great improvement).
   Then, is it possible to extract/create a new raster for the desired
 area
   with QGIS/GRASS (know it's possible with Arcmap, with difficulties) ?
   Thanks
 
  Hi Lionel,
 
  You can use gdaltindex to create an indexof your tile in shapefile
 format,
  after displaying it you can show the location field on your map and
 find
  the filename of the Raster you have to load for your area.
 
  If you want to extract an area from your raster you can again use gdal
 [1]
  with some option to cut all data out of your area. I think you can use
  g.region to zoom into your area and then export the raster from your
 view
  region, after creating one main raster.
 
  I am agreeing with you for a better group management ;) May I need to
  create a new ticket? Another possibility should be that QGIS manage
 index
  file.
 
  Y.



 --
 Lionel Roubeyrie - [EMAIL PROTECTED]
 Chargé d'études et de maintenance
 LIMAIR - la Surveillance de l'Air en Limousin
 http://www.limair.asso.fr

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

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