[Qgis-user] Re: MrSID programs

2009-04-02 Thread mtnbiketrail
I saw recently on the list where someone was trying to use .sid files. I 
found these programs on Lizardtech. Maybe they will be useful to someone...

Tom

http://www.lizardtech.com/download/dl_options.php?page=geo#12

MrSID SDW
Command line utility that generates .sdw file for associated 
georeferenced .sid file.

Latest Release: 09-2003

MrSID Decode
Command line utility that allows for decompression of MG2 or MG3 .sid 
files to .tif, GeoTiff, and other formats.

Latest Release: 11-2008

MrSID Info
Command line utility that displays metadata information embedded in 
.sid, .tif, and other formats. Latest Release: 06-2006



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


Re: [Qgis-user] Python scripting

2009-04-02 Thread georgew



Alessandro et al.,
> I'm also interested in using python and QGIS for simple scripts 
> espacially for batch processing, and some examples could be very useful!
Attached is a python script for performing some basic geoprocessing 
functions on vector layers. The header of the file contains usage 
examples to help get you started... it's probably not the cleanest 
python code, nor the most pythonistic... but you get the idea ;-)

Hope this helps to get you started...

The other good resource for python scripting is: 
http://wiki.qgis.org/qgiswiki/PythonBindings

Cheers,

Carson


 Many thanks Carson and Alex, your help has been invaluable, and I am sure not 
just for myself. Thanks Carson for the example, more than I asked for and much 
appreciated.
regards
George
-- 
View this message in context: 
http://n2.nabble.com/Python-scripting-tp2577010p2577897.html
Sent from the qgis-user mailing list archive at Nabble.com.

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


Re: [Qgis-user] Python scripting

2009-04-02 Thread Carson Farmer

Alessandro et al.,
I'm also interested in using python and QGIS for simple scripts 
espacially for batch processing, and some examples could be very useful!
Attached is a python script for performing some basic geoprocessing 
functions on vector layers. The header of the file contains usage 
examples to help get you started... it's probably not the cleanest 
python code, nor the most pythonistic... but you get the idea ;-)


Hope this helps to get you started...

The other good resource for python scripting is: 
http://wiki.qgis.org/qgiswiki/PythonBindings


Cheers,


Carson

Thanks
Ale

georgew ha scritto:
ThanKs Alex, the problem is I have not been able to find any example 
that is free standing, all seem to be plugins or use QT to generate a 
UI. Can you point me to a working example, however simple (e.g. read 
shapefile, project,write shapefile) that can set me off on the right 
path?

Many thanks
G.
  


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



--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
National University of Ireland, Maynooth,
Email: carson.far...@gmail.com
Web:   http://www.carsonfarmer.com/
  http://www.ftools.ca/

from PyQt4.QtCore import *
from qgis.core import *

class GeoprocessingEngine( ):
'''
USAGE:

GeoprocessingEngine( func, layerA, layerB, outPath, encoding, param, merge )
func : geoprocessing function
1: Buffer
2: Convex Hull
3: Difference
4: Dissolve
5: Intersection
6: Union
7: Symetrical Difference
8: Clip
layerA : QgsVectorLayer
layerB : QgsVectorLayer
outPath : string -> "/home/cfarmer/Desktop/test.shp"
encoding : default is 'System'
param : a parameter, may be used for buffer, and dissolve
merge : should the results be merged (buffer)

EXAMPLE:

# import engine
from Geoprocessing import GeoprocessingEngine
layerA = QgsVectorLayer("/path/to/layer.shp", "layerA", "ogr")
layerB = QgsVectorLayer("/path/to/layer.shp", "layerB", "ogr")
# create geo engine
geo = GeoprocessingEngine( 5, layerA, layerB, '/home/cfarmer/Desktop/test.shp')
# compute geoprocessing event, and output result
outlayer = geo.compute() # compute() returns the output layer as a QgsVectorLayer

This alows us to link multiple runs together:
geo1 = GeoprocessingEngine( 5, layerA, layerB, '/home/cfarmer/Desktop/test1.shp')
outlayer = geo1.compute() 
geo2 = GeoprocessingEngine( 3, layerA, outlayer, '/home/cfarmer/Desktop/test2.shp')
outlayer = geo2.compute()
...
...

temp files are created for better usage of memory when using large layers

'''
def __init__( self, function, layerA, layerB, outputName, encoding = 'System', param = 0, merge = False ):
self.myFunction = function
self.success = False
self.layerA = layerA
self.layerB = layerB
self.param = param
self.merge = merge
self.outputName = outputName
self.encoding = encoding

def compute( self ):
check = QFile( self.outputName )
if check.exists():
if not QgsVectorFileWriter.deleteShapeFile( self.outputName ):
return None
self.geoprocessing( self.myFunction, self.layerA, self.layerB, self.param, self.merge, self.outputName, self.encoding )
return QgsVectorLayer( self.outputName, "temp", "ogr" )


def geoprocessing( self, function, myLayerA, myLayerB, myParam, myMerge, myName, myEncoding ):
self.myFunction = function
self.myLayerA = myLayerA
self.myLayerB = myLayerB
self.myParam = myParam
self.myMerge = myMerge
self.myName = myName
self.myEncoding = myEncoding

self.vlayerA = self.myLayerA
if self.myFunction == 1 or self.myFunction == 2 or self.myFunction == 4:
( self.myParam, useField ) = self.checkParameter( self.vlayerA, self.myParam )
if not self.myParam is None:
if self.myFunction == 1:
geos, feature, match = self.buffering( useField )
elif self.myFunction == 2:
geos, feature, match = self.convex_hull( useField )
elif self.myFunction == 4:
geos, feature, match = self.dissolve( useField )
else:
self.vlayerB = self.myLayerB
if self.myFunction == 3:
geos, feature, match = self.difference()
elif self.myFunction == 5:
geos, feature, match = self.intersect()
elif self.myFunction == 6:
geos, feature, match = self.union()
elif self.myFunction == 7:
geos, feature, match = self.symetrical_difference()
elif self.myFunction == 8:
geos, feature, match = self.clip()

def buffering( self, useField ):
GEOS_EXCEPT = True
FEATURE_EXCEPT = True
vproviderA = self.vlaye

Re: [Qgis-user] Python scripting

2009-04-02 Thread Alessandro Sarretta
I'm also interested in using python and QGIS for simple scripts 
espacially for batch processing, and some examples could be very useful!

Thanks
Ale

georgew ha scritto:

ThanKs Alex, the problem is I have not been able to find any example that is 
free standing, all seem to be plugins or use QT to generate a UI. Can you point 
me to a working example, however simple (e.g. read shapefile, project,write 
shapefile) that can set me off on the right path?
Many thanks
G.
  


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


Re: [Qgis-user] Python scripting

2009-04-02 Thread Alex Mandel
georgew wrote:
> 
> 
> georgew wrote:
>> Hi all, I have not been able to find an answer to this question: Using the 
>> latest stable version of QGIS from OSGeo4W on WinXP SP3 is it possible to 
>> write free standing Python programs/scripts that will access QGIS objects 
>> (vectors, shapefiles, etc) and process them in batch, without the need for 
>> GUI or user intervention other than to run the script from Python command 
>> line (or within an IDE)?
> 
> It should be possible, I believe OSGeo4w installs it's own python and
> hence all python libraries would be on it's path not on your system
> installed python.
> 
> To use the libraries with your regular python install you probably need
> to and to the PYTHONPATH environment variable of your system the path to
>   something like C:\OSGEO4W\QGIS\
> 
> Then import qgis.core and such should work.
> 
> Alex
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
> ThanKs Alex, the problem is I have not been able to find any example that is 
> free standing, all seem to be plugins or use QT to generate a UI. Can you 
> point me to a working example, however simple (e.g. read shapefile, 
> project,write shapefile) that can set me off on the right path?
> Many thanks
> G.

Sorry, I don't have an example. But python is much more flexible than
you a giving it credit for. All of the plugins will work as examples for
you, just ignore the parts of the code that involve the UI.

In python if you
import qgis.core
and then start writing code that uses functions from the core it will
just work.

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


Re: [Qgis-user] Python scripting

2009-04-02 Thread georgew



georgew wrote:
> Hi all, I have not been able to find an answer to this question: Using the 
> latest stable version of QGIS from OSGeo4W on WinXP SP3 is it possible to 
> write free standing Python programs/scripts that will access QGIS objects 
> (vectors, shapefiles, etc) and process them in batch, without the need for 
> GUI or user intervention other than to run the script from Python command 
> line (or within an IDE)?

It should be possible, I believe OSGeo4w installs it's own python and
hence all python libraries would be on it's path not on your system
installed python.

To use the libraries with your regular python install you probably need
to and to the PYTHONPATH environment variable of your system the path to
  something like C:\OSGEO4W\QGIS\

Then import qgis.core and such should work.

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


ThanKs Alex, the problem is I have not been able to find any example that is 
free standing, all seem to be plugins or use QT to generate a UI. Can you point 
me to a working example, however simple (e.g. read shapefile, project,write 
shapefile) that can set me off on the right path?
Many thanks
G.
-- 
View this message in context: 
http://n2.nabble.com/Python-scripting-tp2577010p2577236.html
Sent from the qgis-user mailing list archive at Nabble.com.

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


Re: [Qgis-user] Python scripting

2009-04-02 Thread Alex Mandel
georgew wrote:
> Hi all, I have not been able to find an answer to this question: Using the 
> latest stable version of QGIS from OSGeo4W on WinXP SP3 is it possible to 
> write free standing Python programs/scripts that will access QGIS objects 
> (vectors, shapefiles, etc) and process them in batch, without the need for 
> GUI or user intervention other than to run the script from Python command 
> line (or within an IDE)?

It should be possible, I believe OSGeo4w installs it's own python and
hence all python libraries would be on it's path not on your system
installed python.

To use the libraries with your regular python install you probably need
to and to the PYTHONPATH environment variable of your system the path to
  something like C:\OSGEO4W\QGIS\

Then import qgis.core and such should work.

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


[Qgis-user] Python scripting

2009-04-02 Thread georgew

Hi all, I have not been able to find an answer to this question: Using the 
latest stable version of QGIS from OSGeo4W on WinXP SP3 is it possible to write 
free standing Python programs/scripts that will access QGIS objects (vectors, 
shapefiles, etc) and process them in batch, without the need for GUI or user 
intervention other than to run the script from Python command line (or within 
an IDE)?
-- 
View this message in context: 
http://n2.nabble.com/Python-scripting-tp2577010p2577010.html
Sent from the qgis-user mailing list archive at Nabble.com.

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


Re: [Qgis-user] Projection question

2009-04-02 Thread Mikhail Umorin
Well, I did find out (by asking): the original .sid file (which I
converted to geotiff) did not contained any spatial/projection
information. No wonder!

Sorry for the trouble!

Mikhail.

>>> On 3/31/09 at 8:25 PM, in message
<419243249.20090331202...@gis-lab.info>,
Maxim Dubinin  wrote:
> Privet Mikhail,
> 
> Are you sure both shape and geoTIFF projections are assigned
> correctly? I mean is data really in the projection you says it is?
> 
> -- 
> Maxim
> 
> Вы писали 31 марта 2009 г., 20:08:01:
> 
> MU> Hello —
> 
> MU> I have a problem with rendering layers with different
projections. I
> MU> have an SHP file with "+proj=longlat +ellps=GRS80 +datum=NAD83
+no_defs"
> MU> and a geoTIFF file with "+proj=longlat +ellps=WGS84 +datum=WGS84
> MU> +no_defs". That's all the projection data from "Properties". They
cover
> MU> exactly the same area but do not even overlap in QGIS. I also
noticed
> MU> that when geotiff file is rendered the distances that should be
3
> MU> degrees are shown as about 10 degrees (my project options are set
to
> MU> Decimal Degrees) . I suspect that there is some confusion with
> MU> meters/feet somewhere in the reprojection process. 
> 
> MU> Is there any way to add "+units" option to the description of
the
> MU> layer's projection? Would this solve the problem?
> 
> MU> Thank you for your time, 
> 
> MU> Mikhail.
> MU> ___
> MU> Qgis-user mailing list
> MU> Qgis-user@lists.osgeo.org 
> MU> 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] Venue for next hackfest...Vienna?

2009-04-02 Thread Borys Jurgiel
Thursday 02 April 2009 15:25:28 Jürgen E. Fischer napisał(a):
> Hi Werner,
> 
> On Thu, 02. Apr 2009 at 09:09:19 +0200, Werner Macho wrote:
> > I were just at the university and asked and got acceptance
> > immediately.
> 
> Cool.  +1 from me.

No problem for me too :-)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Projection question

2009-04-02 Thread Mikhail Umorin
Thank you for the suggestions, Zoltan —

Unfortunately, no luck. I enabled "on the fly" and set project's CRS to
WGS84 (same as the GoeTiff's) but no changes in the way they are
rendered in QGIS: different size and far from each other.

What else can I try?

Mikhail.

>>> On 4/1/09 at 3:14 AM, in message
,
Siki Zoltan  wrote:
> Hi Mikhail,
> 
> Did you enable on the fly projection in the project properties
window?
> QGIS cannot reproject rasters on the fly, so you must set your
project 
> projection to the same projection of your raster layer. QGIS will 
> reproject vectors on the fly.
> 
> regards,
> Zoltan
> 
> On Tue, 31 Mar 2009, Mikhail Umorin wrote:
> 
>> Hello ̇̇
>>
>> I have a problem with rendering layers with different projections.
I
>> have an SHP file with "+proj=longlat +ellps=GRS80 +datum=NAD83
+no_defs"
>> and a geoTIFF file with "+proj=longlat +ellps=WGS84 +datum=WGS84
>> +no_defs". That's all the projection data from "Properties". They
cover
>> exactly the same area but do not even overlap in QGIS. I also
noticed
>> that when geotiff file is rendered the distances that should be 3
>> degrees are shown as about 10 degrees (my project options are set
to
>> Decimal Degrees) . I suspect that there is some confusion with
>> meters/feet somewhere in the reprojection process.
>>
>> Is there any way to add "+units" option to the description of the
>> layer's projection? Would this solve the problem?
>>
>> Thank you for your time,
>>
>> Mikhail.
>> ___
>> 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] Projection question

2009-04-02 Thread Mikhail Umorin
Privet, Maxim —

I am not 100% sure, but I am reasonably certain: I got them from a
public Texas agency that provides spatial data (www.tnris.org). How do I
find out for sure?

Mikhail.

>>> On 3/31/09 at 8:25 PM, in message
<419243249.20090331202...@gis-lab.info>,
Maxim Dubinin  wrote:
> Privet Mikhail,
> 
> Are you sure both shape and geoTIFF projections are assigned
> correctly? I mean is data really in the projection you says it is?
> 
> -- 
> Maxim
> 
> Вы писали 31 марта 2009 г., 20:08:01:
> 
> MU> Hello —
> 
> MU> I have a problem with rendering layers with different
projections. I
> MU> have an SHP file with "+proj=longlat +ellps=GRS80 +datum=NAD83
+no_defs"
> MU> and a geoTIFF file with "+proj=longlat +ellps=WGS84 +datum=WGS84
> MU> +no_defs". That's all the projection data from "Properties". They
cover
> MU> exactly the same area but do not even overlap in QGIS. I also
noticed
> MU> that when geotiff file is rendered the distances that should be
3
> MU> degrees are shown as about 10 degrees (my project options are set
to
> MU> Decimal Degrees) . I suspect that there is some confusion with
> MU> meters/feet somewhere in the reprojection process. 
> 
> MU> Is there any way to add "+units" option to the description of
the
> MU> layer's projection? Would this solve the problem?
> 
> MU> Thank you for your time, 
> 
> MU> Mikhail.
> MU> ___
> MU> Qgis-user mailing list
> MU> Qgis-user@lists.osgeo.org 
> MU> 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] Venue for next hackfest...Vienna?

2009-04-02 Thread Jürgen E . Fischer
Hi Werner,

On Thu, 02. Apr 2009 at 09:09:19 +0200, Werner Macho wrote:
> I were just at the university and asked and got acceptance
> immediately.

Cool.  +1 from me.

Flights look cheap from here.   I'll ignore the train ride from here to
the next airport for now - You know why ;)


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +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


Re: [Qgis-user] raster projection not recognized

2009-04-02 Thread shaneL



Hi all.
When loading a jpg raster, the shell says:

Critical: QgsCoordinateReferenceSystem::createFromWkt -- theWkt is
uninitialised, operation failed

Hi - I am still novice in use of qgis (previously used 0.11), but recently 
installed qgis1.0.1 as per apt-get for linux (ubuntu hardy) (did remove 
previous qgis as per instructions)

During install process, there were a lot of other dependencies that were 
suggested, I did (nearly) all of them.

when I then started to use qgis, got a similar msg as above when loading a jpg 
raster (msg when starting qgis in terminal). Checked up with GUI Synaptic 
Package Manager, added in what looked like another dependency i'd missed, and I 
can now load the jpg, but I still get the same message... if I wait a bit, the 
image loads...
Beyond me, but just thought the feedback may be useful or at least of interest 
to someone out there?!
-- 
View this message in context: 
http://n2.nabble.com/raster-projection-not-recognized-tp2503003p2574797.html
Sent from the qgis-user mailing list archive at Nabble.com.

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


Re: [Qgis-user] QGIS windows v's linux from a newbie perspective

2009-04-02 Thread Andreas Neumann
so in my opinion you should contact the companies involved with MrSID and
ecw to change their licence in some sort of dual licence like other
companies did (e.g. Trolltech, MySQL). After all they are interested in
widespread use of their technology - so they should open up and change
their licence so it can become a regular component of gdal/ogr. Otherwise
I don't see an easy solution.

An alternative would be to ask the data providers for their original data.
I am sure they have their data somehwer available with lossless
compression - they wouldn't throw their originals away - would they? Both
MrSID and ECW are lossy compressions ...

Andreas

On Thu, April 2, 2009 10:44 am, Agustin Lobo wrote:
> I absolutely disagree. I'm not the question, I can compile (provided
> the appropriate directions are there). The problem is that if my 30
> students twice a year have to
> compile or, worse, have to hire someone to do it in order to
> be able to use mrsid/ecw, they will just keep using windows. Or not
> using qgis.
>
> Linux cannot be a system for which you have to either become
> able of compiling QGIS or hire someone to do it. If this were the case,
> binaries should not be distributed.
>
> Agus
>
> Craig Leat wrote:
>>
>>> ECW is easy to compile on Linux. I never tried to compile MrSid.
>>>
>>
>> MrSid seems to becoming the standard format for government raster data
>> here, so I self compile. Compiling on Ubuntu with MrSid libs is no big
>> deal and the performance of the MrSid SDK is excellent, in my
>> experience. Those that need ECW and MrSid and feel strongly against
>> compiling themselves, should hire someone to do it for them.
>>
>> Craig
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>
>


-- 
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/

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


[Qgis-user] AW: [Qgis-developer] Venue for next hackfest...Vienna?

2009-04-02 Thread Düster Horst
Hi all

It's a great idea to meet in Vienna. 

+1

Horst



Dr. Horst Düster
Stv. Amtschef / GIS-Koordinator 

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
SO!GIS Koordination
Rötistrasse 4
CH-4501 Solothurn

Telefon ++41(0)32 627 25 32
Telefax ++41(0)32 627 22 14

mailto:horst.dues...@bd.so.ch
http://www.agi.so.ch



-Ursprüngliche Nachricht-
Von: Tim Sutton [mailto:li...@linfiniti.com]
Gesendet am: Donnerstag, 2. April 2009 01:10
An: qgis-user List; qgis-developer; Werner Macho
Betreff: [Qgis-developer] Venue for next hackfest...Vienna?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all

Werner Macho has secured a location for a hackfest in Vienna in Oct
2009. Martin and others potentially attending - how would you like to
proceed? I am happy to go to Vienna this time and Prague the next and
would like to suggest that since Werner is so enthusiastic, we let him
run with it and we can start planning for the event.  Please vote +1 if
you are happy to go to Vienna

+1 from me


Venue details etc will go here:

http://wiki.qgis.org/qgiswiki/QgisHackfest2009_2

Regards


- --

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

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknT9DYACgkQqk07qZdiYjeOowCfYsFFsq68UDz9G/WGZ6/oVBp3
fsIAoLmVceN+eHJo+XyIQFWV1lgg4F20
=6TjQ
-END PGP SIGNATURE-
___
Qgis-developer mailing list
qgis-develo...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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


AW: [Qgis-user] Re: [Qgis-developer] Venue for next hackfest...Vienna?

2009-04-02 Thread Hugentobler Marco
Hi Werner

Thank you for the organisation. In my opinion Vienna is a very nice place for a 
hackfest, so +1 from my side.

I think the expensiveness is not so bad (at least compared to Zurich). And the 
location in the center of Europe makes it easily accessible for most community 
members (and Tim is used to long distance flights anyway :-) )

Regards,
Marco


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org im Auftrag von Werner Macho
Gesendet: Do 02.04.2009 09:09
An: Jachym Cepicky
Cc: qgis-user List; qgis-developer
Betreff: Re: [Qgis-user] Re: [Qgis-developer] Venue for next hackfest...Vienna?
 
Hi to all!

I already mentioned .. It seems that there's no _must_ to do the 
hackfest at this date in vienna..
If there are other (and better) places I'm open to come there too.

I were just at the university and asked and got acceptance immediately.

I told them that I've to ask first and if Vienna is accepted I'll 
contact them with further plans.
I think theres enough time to think about it - and all I can say is: 
"Vienna is ready for it"

I'll continue with arrangements and search for hotels .. At least I can 
use this information later on..

Can someone initiate something like a "voting-page?"

regards
Werner
___
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 windows v's linux from a newbie perspective

2009-04-02 Thread Paolo Cavallini
Craig Leat ha scritto:

> I struggle to understand why some people are so willing to pay for a
> Windows OS, but are repulsed by the idea of paying for a free software
> service??? (May be a bit harsh - I hope you understand what I
> mean...). This discussion is all hypothetical and obviously requires a
> willing and able builder.

I think we all agree more than it appears here: the question is, without
resources (preferably human, otherwise financial), free software cannot
exist. When a majority of the happy QGIS users will put some of their
time|money in it, we will be able to solve these and other problems easily.
So come and join our sponsorship and donation programme!
http://www.qgis.org/sponsorship.html
All the best.
-- 
Paolo Cavallini: http://faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS windows v's linux from a newbie perspective

2009-04-02 Thread Craig Leat
Agustin Lobo :
> I absolutely disagree. I'm not the question, I can compile (provided
> the appropriate directions are there). The problem is that if my 30 students
> twice a year have to
> compile or, worse, have to hire someone to do it in order to
> be able to use mrsid/ecw, they will just keep using windows. Or not using
> qgis.
>
> Linux cannot be a system for which you have to either become
> able of compiling QGIS or hire someone to do it. If this were the case,
> binaries should not be distributed.

Why would each student need to pay for a build service? Surely they
don't all run different OS variants on campus? In this hypothetical
arrangement, the consultant gets paid once (by the university?) for
his build service and you distribute the binary to your students,
family and friends (after all it's a GPL app).

I struggle to understand why some people are so willing to pay for a
Windows OS, but are repulsed by the idea of paying for a free software
service??? (May be a bit harsh - I hope you understand what I
mean...). This discussion is all hypothetical and obviously requires a
willing and able builder.

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


Re: [Qgis-user] QGIS windows v's linux from a newbie perspective

2009-04-02 Thread Agustin Lobo

I absolutely disagree. I'm not the question, I can compile (provided
the appropriate directions are there). The problem is that if my 30 
students twice a year have to

compile or, worse, have to hire someone to do it in order to
be able to use mrsid/ecw, they will just keep using windows. Or not 
using qgis.


Linux cannot be a system for which you have to either become
able of compiling QGIS or hire someone to do it. If this were the case,
binaries should not be distributed.

Agus

Craig Leat wrote:



ECW is easy to compile on Linux. I never tried to compile MrSid.



MrSid seems to becoming the standard format for government raster data
here, so I self compile. Compiling on Ubuntu with MrSid libs is no big
deal and the performance of the MrSid SDK is excellent, in my
experience. Those that need ECW and MrSid and feel strongly against
compiling themselves, should hire someone to do it for them.

Craig
___
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] Problem in compilation of source

2009-04-02 Thread Martin Dobias
Hi,

you'll have to upgrade GEOS to version 3.0 (or later) to compile svn trunk.

Regards
Martin

On Wed, Apr 1, 2009 at 8:16 PM,   wrote:
> When I try to build from source, I get:
>
> /home/mccue/system/dev/cpp/qgis/src/core/qgsgeometry.cpp: In member function
> ‘QgsGeometry* QgsGeometry::simplify(double)’:
> /home/mccue/system/dev/cpp/qgis/src/core/qgsgeometry.cpp:5348: error:
> ‘GEOSSimplify’ was not declared in this scope
> make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsgeometry.o] Error 1
> make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
> make: *** [all] Error 2
>
> This is revision 10449
>
> Ken McCue
> ___
> 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] Re: [Qgis-developer] Mrsid business

2009-04-02 Thread Agustin Lobo

Might some of these help:

http://trac.osgeo.org/gdal/wiki/MrSID
http://trac.osgeo.org/gdal/wiki/ECW
http://trac.osgeo.org/gdal/ticket/2385
http://trac.osgeo.org/gdal/ticket/2683
http://ubuntuforums.org/showthread.php?t=515046
http://wiki.gfoss.it/index.php/Come_abilitare_il_supporto_ai_file_ECW_in_GDAL_e_visualizzarli_in_GRASS_e_QGIS

I'm also starting to ask in the gdal list, but a developer would know 
better how to handle this issue.
My point is that this is not "just a gdal issue". For qgis users, this 
is a qgis issue. Maybe
this type of support is not seen as urgent in the gdal community, but 
our requests might

make them change their mind.

Agus

Andreas Neumann wrote:

Hi Alex,

Thanks for clarification.

I had a look at the LizardTech webpage
(http://www.lizardtech.com/download/) and couldn't find a source code
release to download and compile for gdal support. Would I have to download
a SDK (requires registration first?)

Does it also properly support 64bit Linux?

The problem with many of those free/but closed source apps is that they
usually only support mainstream platforms (usually 32 bit Intel Linux) -
they wouldn't support PowerPC/ARM, 64 bit/AMD Linux support. For the same
reason I don't like Flash and Acrobat. They usually also support only
mainstream platforms.

Andreas

On Thu, April 2, 2009 6:14 am, Alex Mandel wrote:
  

Reading threw several threads it kept coming up and I thought I'd try to
clarify from what I know.


MrSID is free to use, as with many linux distro's it's not part of the

defualt build of say gdal because it's not open source. But it is indeed
free just like acrobat or flash or an of those "non-free" apps.
This is what I understand from listening to MPG who I believe works for
lizardtech (which is an OSGeo sponsor).

Maybe we can offer up a 2nd build via launchpad for the "non-free"
version of gdal build with support turned on.

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





  


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


[Qgis-user] Re: [Qgis-developer] Mrsid business

2009-04-02 Thread Agustin Lobo

The question is not whether we like those formats, the question is that in
Catalonia we have 303 1:25000 RC orthoimages + 303*4 1:5000 RC orthoimages,
acquired at least twice in most of the country, actually 4 times in many 
cases,
+ additional cover in 1:25000 CIR for most of the country, some of it 
twice. All this

is freely distributed by our mapping agency as MrSid format.
Therefore, there is simply no room for a system not being able to read 
this imagery here.


I do not know for the rest of Spain, but at least for Andalucia the 
situation
is similar. I can look into it in more detail. I'm not sure which is the 
situation

in other European countries, can try to look into that as well.

And the data in the zulu server are 2 worldwide coverages of landsat 
images. Not

insignificant either.

Agus

Andreas Neumann wrote:

I try to avoid ecw and MrSid as you never know what these companies are up
to. Tomorrow they may charge you more to access your image data. It is
never good to store your data in formats you have no control of.

Storage space is so cheap nowadays that I store all of my data in tiffs.

ECW is easy to compile on Linux. I never tried to compile MrSid. Back when
I tried it was also slower than tiff (with pyramids) and interoperability
with other GIS software was poor.

Andreas


On Wed, April 1, 2009 6:51 pm, Agustin Lobo wrote:


Darren,

If you need ECW/Mrsid support (which is important here as most official
imagery is freely distributed
as MrSid and many (excellent) hiking maps as ECW, that in addition to
the Landsat imagery in the
https://zulu.ssc.nasa.gov/mrsid/), then, I must sadly state that you
face the following alternative:

You either use windows and qgis or use linux and not qgis

(unless you are able to make an special compilation of gdal libraries
and the compile qgis with those libraries in linux)

Also, as far as I have seen, using grass under windows is not as
straightforward as using it in linux, although it seems
that this is improving.

Agus
(an ubuntu user forced to often use windows)

  

Alex Mandel wrote:

Reading threw several threads it kept coming up and I thought I'd try to
clarify from what I know.

MrSID is free to use, as with many linux distro's it's not part of the
defualt build of say gdal because it's not open source. But it is indeed
free just like acrobat or flash or an of those "non-free" apps.
This is what I understand from listening to MPG who I believe works for
lizardtech (which is an OSGeo sponsor).

Maybe we can offer up a 2nd build via launchpad for the "non-free"
version of gdal build with support turned on.

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

  


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


Re: [Qgis-user] Re: [Qgis-developer] Venue for next hackfest...Vienna?

2009-04-02 Thread Werner Macho

Hi to all!

I already mentioned .. It seems that there's no _must_ to do the 
hackfest at this date in vienna..

If there are other (and better) places I'm open to come there too.

I were just at the university and asked and got acceptance immediately.

I told them that I've to ask first and if Vienna is accepted I'll 
contact them with further plans.
I think theres enough time to think about it - and all I can say is: 
"Vienna is ready for it"


I'll continue with arrangements and search for hotels .. At least I can 
use this information later on..


Can someone initiate something like a "voting-page?"

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