Re: [Qgis-user] Organizing a US / North American User Group

2014-01-22 Thread richard burcher
Great idea and def needed on this side of the Atlantic! 

Given the vast distances to get anywhere I'd add that a monthly virtual
meetup would be a good idea. Google Hangout to start and see where it goes. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Organizing-a-US-North-American-User-Group-tp5099515p5099548.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


Re: [Qgis-user] New Processing version

2013-10-29 Thread richard burcher
Thanks for this! Really like the idea of a weekly release.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Processing-version-tp5086310p5086463.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


Re: [Qgis-user] Kriging in Mac

2013-07-21 Thread richard burcher
Hi Manuel,

What was the issue installing SAGA? Have you tried the newest release of
2.1.0? For other methods with Kriging in QGIS, you're still using some
external program to accomplish the procedure. Have you looked at other R
libraries such as geoR [2]? Have a look over this list [1].

Cheers,

Richard


[1]
http://gis.stackexchange.com/questions/1041/open-source-methods-for-kriging/1072#1072
[2] http://streaming.stat.iastate.edu/~stat506/notes/ordkrigeexamp.pdf




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Kriging-in-Mac-tp5067834p5067845.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


Re: [Qgis-user] Projection Issues

2013-07-17 Thread richard burcher
Hi Joseph,

Can you copy & paste the projection meta data from the following layers: 1)
layer causing the problem & 2) layer that is correct.

Do you have on the fly-projection turned on? Screen capture of the offset
between the layers would also be great.


Cheers,

Richard 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Projection-Issues-tp5066857p5067174.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


Re: [Qgis-user] Rasterize (vector to raster) no longer exists

2013-07-17 Thread richard burcher
I'd double check paths for GDAL. I'm running nightly build on Mac OSX Lion
with no issue accessing the vector to raster conversion.

Screen capture of my GDAL path settings from Raster--GdalTool Settings.


 


Hope this sheds some light on it for you.


Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Rasterize-vector-to-raster-no-longer-exists-tp5066152p5067169.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


Re: [Qgis-user] hydro-flatenning process ?

2013-07-09 Thread richard burcher
QGIS provides plenty of tools, both SAGA GIS (have to install binaries and
access through SEXTANTE) & GRASS (either through grass plugin or SEXTANTE).
Both SAGA & GRASS have strong raster & hydrology based tools. You would need
to elaborate on the exact methodology desired, but look around these tools.

Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/hydro-flatenning-process-tp5065093p5065256.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


Re: [Qgis-user] Hick-ups with ASCII DEM

2013-06-20 Thread richard burcher
Hello,

This is a case for better meta-data from the portal. Incorrect file
extension & no additional data for coordinate system. From looking over the
portal [1] is Lidar based data (nice!). I would save yourself the
frustration & contact them [2] (Could not get Google to translate). I
received the same error message.

Cheers,

Richard


[1]http://www.vermessung.bayern.de/geobasis_lvg/gelaendemodell/dgm2.html
[2]
http://geoportal.bayern.de/geoportalbayern/anwendungen/Suche/ci=5e15f0776ae0f1d64244a8a40eabe48b/fi=11a99679-32de-3d42-ab00-7cff9e07523d/Digitales%20Gel%C3%A4ndemodell



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Hick-ups-with-ASCII-DEM-tp5061396p5061423.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


Re: [Qgis-user] Opening Spatialite view in QGIS gives me Error in atribute table

2012-09-01 Thread richard burcher
Hi Alexandre,

Please refer to the Spatialite Cookbook [0], it provides a walk through.

To create a view do the following:

# overview of my table to become view from "pragma table_info(analysisMspa)

cid nametypenotnull dflt_value  pk
0   pkuid   integer 0   None1
1   geometryMULTIPOLYGON0   None0
2   mspaClass   integer 0   None0

# create view -- must have "ROWID" to work correctly. i am casting pkuid (pk
in table) as "ROWID"
create view viewTest as select c.pkuid as ROWID,c.geometry as
geometry,c.mspaClass as mspaClass from analysisMspa as c;

# must register this. refer to [1], sandro gives a good explanation. f_*
columns ref orginial table
insert into views_geometry_columns
(view_name,view_geometry,view_rowid,f_table_name,f_geometry_column) values
('viewTest','geometry','ROWID','analysisMspa','geometry');

# check if registered correctly
select * from views_geometry_columns;

## my output for reference
#view_name  view_geometry   view_rowid  f_table_name
f_geometry_column
#viewTest   geometryROWID   analysisMspageometry

# must add view from "add spatialite layer" from qgis menu
connect to db & select view, click add

[0]
http://www.gaia-gis.it/spatialite-3.0.0-BETA/spatialite-cookbook/html/sp-view.html
[1]
https://groups.google.com/forum/?fromgroups=#!searchin/spatialite-users/qgis$20views/spatialite-users/1LPOk4ivl1E/MxTGl4IqgIcJ


Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Opening-Spatialite-view-in-QGIS-gives-me-Error-in-atribute-table-tp4998995p4999171.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


Re: [Qgis-user] Cannot export selected layer

2012-08-29 Thread richard burcher
hi roy,

you've gone through the correct steps for exporting a selected layer.

could you post your data? (sub-sample would do) so i could look at it.

what os?


cheers,

richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Cannot-export-selected-layer-tp4998714p4998741.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


Re: [Qgis-user] problems making grass training map via qgis

2012-08-16 Thread richard burcher
Thanks Giovanni for this.

Paolo there is no problem as I reported earlier, I was using the cli
incorrectly (attempting to pass arguments).

Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/problems-making-grass-training-map-via-qgis-tp4995324p4995728.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


Re: [Qgis-user] problems making grass training map via qgis

2012-08-15 Thread richard burcher
Hi Paolo,

Could you please elaborate on accessing the grass cli through qgis? 

I only see the grass plugin shell command prompt which doesn't seem to work?
(gives dos prompt without access to grass plugin modules).

setup:
qgis 1.8
win 7


Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/problems-making-grass-training-map-via-qgis-tp4995324p4995509.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


Re: [Qgis-user] Transparency for vector layer

2012-08-15 Thread richard burcher
Hi Jonathan,

There is no global (from what i see) setting for transparency to be applied
to each category. 

I've tried the following: (win 7 qgis 1.8)
1) categorize a polygon layer by some unique id -- classifiy
2) right click each symbol color for context menu

Context menu provides option for transparency for that symbol.

Cheers,

Richard






--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Transparency-for-vector-layer-tp4995386p4995394.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


Re: [Qgis-user] problems making grass training map via qgis

2012-08-15 Thread richard burcher
Another option is to create training polygons & use [1] SAGA for the
supervised classification (either standalone or through the Sextante
plugin). I've recently gone this way for a maximum likelihood
classification.

[1] http://www.saga-gis.org/en/index.html

Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/problems-making-grass-training-map-via-qgis-tp4995324p4995387.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


Re: [Qgis-user] random locations sample from the actual map

2012-08-15 Thread richard burcher
Hi Chathura,

For vector data try the fTools. Look under Vector -- Research Tools, there
are several ie Random Selection & Random Selection within subsets. This
would do for selecting already present polygon/point type features & export
selected layer from table of contents as a new layer.

To select only a range of coordinates (point based data) you can add the x &
y columns to attribute table. select layer for edit, add column of type real
(remember to set precision to > 2) & from Geometry group in Function list
window select $x or $y. Save & stop editing, you may notice that the columns
go null -- this is a bug (i'm using 1.8 windows 7), close & reopen attribute
table. You can now use the query builder to filter out a range of values,
export selection & apply the fTools discussed above. 

For more advanced options I would look at the mangeR plugin.

Plugins of interest:
Point Sampling tool
Spatial Data Analysis for point pattern -- very extensive functionality


Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/random-locations-sample-from-the-actual-map-tp4995315p4995384.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


Re: [Qgis-user] QGIS-1.8.0 Build Problem

2012-08-10 Thread richard burcher
Thanks for this. 

Ran into similar a few nights ago. 

Is there a work around for using package manager installed version?


Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QGIS-1-8-0-Build-Problem-tp4983054p4994541.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


Re: [Qgis-user] Vector/Raster Projection Problem

2012-08-10 Thread richard burcher
Hi Terry,

You shouldn't be having such a difficult time getting them to align. I've
done similiar with SRTM/GDEM etc.

Have you projected the shapefile to wgs84 to review alignment?

Can you please put together a small subset clip of raster data for area &
the shapefile you are using. Drop me a the link from Dropbox or other
service & I will take a look over.

Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Vector-Raster-Projection-Problem-tp4994512p4994540.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


Re: [Qgis-user] call grass modules via qgis python console

2012-08-10 Thread richard burcher
Hi maning,

Take a look at Sextante plugin. Can call grass modules from python console
very easily.

example:
#import sextante python bindings
from sextante.core.Sextante import Sextante

#search avaible modules -- all
Sextante.alglist()
#search specific 
Sextante.alglist("voronoi")
[output] v.voronoi - Creates a Voronoi diagram from an input vector map
containing points or centroids.--->grass:v.voronoi

#get help on alg inputs
Sextante.alghelp("grass:v.voronoi")
[output] ALGORITHM: v.voronoi - Creates a Voronoi diagram from an input
vector map containing points or centroids.
input 
-l 
-t 
GRASS_REGION_PARAMETER 
GRASS_REGION_CELLSIZE_PARAMETER 
output 

#run algorithm
Sextante.runalg("grass:v.voronoi",[follow from Sextante.alghelp output])

Use the svn update of Sextante. Checkout my blog post on setting up svn for
this
http://geotechrichard.com/2012/06/08/how-to-keep-pace-with-qgis-sextante-svn-of-course/

Cheers,

Richard




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/call-grass-modules-via-qgis-python-console-tp4994410p4994471.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


Re: [Qgis-user] SEXANTE testing

2012-08-01 Thread richard burcher
Hi

I've added a link on the http://hub.qgis.org/wiki/sextante/Wiki page to
point to the Testing Wiki. 

Will be submitting to it shortly.

Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/SEXANTE-testing-tp4986233p4992474.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


Re: [Qgis-user] options of using neighborhood/moving windows analysis in QGIS

2012-07-29 Thread richard burcher
AFAIK Raster Calculator can not do moving neighbor analysis with a defined
kernel.

If you need a custom kernel (adaptive filter approaches) also look at
r.mfilter. Note r.mapcalulator can be used but the r.mfilter kernel file is
a bit easier to work with.

If you install SAGA Gis, you have several options under the Grid -- Filter
menu.

Cheers,

Richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/options-of-using-neighborhood-moving-windows-analysis-in-QGIS-tp4991528p4991668.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


Re: [Qgis-user] Qgis Sextante plugin trouble

2012-07-18 Thread richard burcher
I've posted here becasue I think there is an issue with unicode decoding? &
didn't want to duplicate on list.

I've encountered a similar issue with the ascii codec error today. Testing
custom script & passing vector layer to parse location (##input=vector), get
the error message below. However if I use (##input=file) no error returned.

Sextante.runalg("script:test","C:\1_WorkStation_Folders\Work\NRCAN_GEMS\Tmp\tmpShape2.shp")

'ascii' codec can't decode byte 0xc2 in position 13977: ordinal not in
range(128)
Traceback (most recent call last):
  File
"C:/Users/richard/.qgis//python/plugins\sextante\core\GeoAlgorithm.py", line
116, in execute
self.processAlgorithm(progress)
  File
"C:/Users/richard/.qgis//python/plugins\sextante\script\ScriptAlgorithm.py",
line 156, in processAlgorithm
script+=self.script
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 13977:
ordinal not in range(128)


Should I be filing a bug report?

Cheers,

Richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Qgis-Sextante-plugin-trouble-tp4988993p4989106.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


Re: [Qgis-user] google maps processing

2012-07-13 Thread richard burcher
Please don't attempt to extract vector data from the google images, this data
is copy righted.

As was mentioned, I would look at the Open Street Map data
(http://www.openstreetmap.org/) & the qgis openstreetmap plugin.

Cheers,

Richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/google-maps-processing-tp4987988p4988321.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


Re: [Qgis-user] Problems with profile from line altitude values + r.water.outlet command

2012-07-13 Thread richard burcher
Hi Jaime,

http://www.saga-gis.org/ Saga GIS  allows calculation of the hyposmetric
curve; under Terrain Analysis--Morphometry-->Hypsometry. If you install on
your system & install the sextante plugin, you can access this function
within qgis.

Cheers,

Richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Problems-with-profile-from-line-altitude-values-r-water-outlet-command-tp4988221p4988272.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


Re: [Qgis-user] Smooth DEMs

2012-07-11 Thread richard burcher
Hi Clemens,

To smooth dems, use the following:

Install  http://www.saga-gis.org/en/index.html saga gis  & install the
sextante plugin. Under the Analysis menu, open the Sextante options &
configuration, click on saga. Sextante should find your install of saga (I'm
assuming a windows platform here) at something like c:/program
files/saga-gis/. Ensure the "use min covering grid system for resampling" is
checked.

Click Analysis menu -- Sextante Toolbar. This opens the toolbox, you can
type filter in the text search. Alternatively, just expand saga -- grid
filter, you will have ~ 10 filter choices. Not sure of the filtering
application (cartographic or analytical) you can employ the "simple" filter
with its default smooth using 11*11 for ~ 990m output. If maintaining slopes
are important, review the multi-directional filter as it implements a lee
based filter.

I'm pretty sure the input raster must be tif.

#-

Moving the srtm 90m? to 1km resolution is resampling the dataset. You can
use the built in gdal tools--  http://www.gdal.org/gdalwarp.html warp 
dialog for this. In the dialog after you have entered the information click
the pencil to allow editing of the config text, add the following argument
(before the -r method) to allow resample to 1km -tr 1000 1000. Ensure
resample method is not near but bicubic.

#-

You can empose spatial scale on your orginial srtm90m by filtering with a
large filter say 11*11 (~990m support area) but the dem posting will remain
90m. This avoids resampling & may be a better way forward, I've used the
aforementioned approach for some soil tools. 


Cheers,

Richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Smooth-DEMs-tp4987519p4987640.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


Re: [Qgis-user] Several Spatialite Functions Not Found: Qgis 1.8

2012-07-11 Thread richard burcher
Hi Asahi,

Yep, that's the issue. Thx for forwarding link. 

Does anyone know when an updated geos will be applied to the osgeo4w
installer?


Cheers,

Richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Several-Spatialite-Functions-Not-Found-Qgis-1-8-tp4987294p4987628.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] Several Spatialite Functions Not Found: Qgis 1.8

2012-07-10 Thread richard burcher
Hi Folks,

Problem:
Several spatialite functions not found when accessing spatialite db from
python console.

Setup:
OSGeo4W installer used:
qgis 1.8.0-3
pyspatialite 2.3.1-3

Code:

## output software versions
from pyspatialite import dbapi2 as db
conn=db.connect("C:/../../test2.sqlite")
cur=conn.cursor()

rs=cur.execute("select
sqlite_version(),spatialite_version(),proj4_version(),geos_version()")

for row in rs:
print ">sqlite v%s, spatialite v%s, proj4 v%s, geos v%s"
%(row[0],row[1],row[2],row[3])

>sqlite v3.7.10, spatialite v3.0.1, proj4 vRel. 4.8.0, 6 March 2012, geos
v3.2.2-CAPI-1.6.2


## attempt spatial function -- line_interpolate_point
rs=cur.execute("SELECT line_interpolate_point('db_test'.'geometry') as
Geometry FROM 'db_test'")
---
OperationalError  Traceback (most recent call last)
 in ()
> 1 rs=cur.execute("SELECT line_interpolate_point('db_test'.'geometry')
as Geometry FROM 'db_test'")

OperationalError: no such function: line_interpolate_point


Functions not found so far:
line merge
line substring
line interpolate point
line locate point
single sided bufffer

These functions appear to be driven by geos? From the output of software
versions, geos is installed. 

Not sure what the cause is. Thoughts?

Cheers,

Richard






--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Several-Spatialite-Functions-Not-Found-Qgis-1-8-tp4987294.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


Re: [Qgis-user] Accessing Spatialite 3.0.1 in QGIS 1.8 using Python Console

2012-07-08 Thread richard burcher
i believe that pysqlite2 is named sqlite3.

i was able to access the spatial functions. thx for helping point me in the
right direction!

to update, i've since removed the standalone version & moved to the osgeo4w
installer. current setup:
qgis 1.8.0-3
pyspatialite 2.3.1-3

gone with pyspatialite so i don't need to worry bout loading the extensions.
figured this would be easier & reduce an area where i may be loading the
incorrect spatial.dlls.

test db contains a multipolygon feature.

this is the code i'm using:

from pyspatialite import dbapi2 as db
conn=db.connect("C:/../../../test2.sqlite")
cur=conn.cursor()
rs=cur.execute("SELECT sqlite_version(),spatialite_version()")
for row in rs:
msg=">SQLITE v%s Spatialite v%s" %(row[0],row[1])
print msg 
SQLITE v3.7.10 Spatialite v3.0.1

cheers,

richard



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Accessing-Spatialite-3-0-1-in-QGIS-1-8-using-Python-Console-tp4986619p4986802.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


Re: [Qgis-user] Accessing Spatialite 3.0.1 in QGIS 1.8 using Python Console

2012-07-07 Thread richard burcher
thx gene for reply.

i didnt look close enought at the python functions, thx for pointing that
out.

update:
removed the standalone qgis 1.8 & installed via osgeo4w for qgis desktop
1.8.0-3

ive installed pysqlite-2.6.3 & started ipython from cmd. when i attempt the
load_extension statement using "spatialite.dll" (under osgeo4w/bin) i get
iconv.dll not found. set path to include osgeo4w/bin where the dll is
located but same issue of not finding it.

is the spatialite.dll the correct one encapsulating spatial functions?

ideas of how to overcome the iconv.dll issue?

again, big thx for ur time!

cheers,

richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Accessing-Spatialite-3-0-1-in-QGIS-1-8-using-Python-Console-tp4986619p4986704.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] Accessing Spatialite 3.0.1 in QGIS 1.8 using Python Console

2012-07-06 Thread richard burcher
Hi Folks,

I'm trying to access spatialite from the python console with aim to building
a plugin. I'm fairly new to qgis dev & understanding the api. 

>From checking it seems there are two versions of spatialite?: using
pyspatialite module the version stated is 2.3.1 but I need access to 3.0.1
(referenced in about dialog).

System:
windows 7 x64
qgis 1.8 standalone

Steps so far:
Importing sqlite3, the load_extension(True) does not return any messages but
I can not find a system dll ie "libspatialite-.dll". The only reference to a
spatialite dll is spatialite.dll in the qgis/bin folder. I attempted to use
that to load the extensions but message recieved is "operational error: not
authorized".

How to I load the 3.0.1 spatial extensions? What have I missed?

Cheers,

Richard

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Accessing-Spatialite-3-0-1-in-QGIS-1-8-using-Python-Console-tp4986619.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