Re: [Qgis-user] Data capture in QGIS with offline PostGIS

2012-03-20 Thread Ivan Mincik
On 03/20/2012 06:58 AM, Nathan Woodrow wrote:
 Hi all,
 
 I'm currently looking at building a data collection program based on QGIS.
 One of the requirements is that it must have an offline datastore with
 syncing to the server on demand/timed.
 
 I have tried the Offline editing plugin but it's not quite what I was
 looking for.  More looking for something that you press once and it syncs
 all the changes from upstream and downstream but leaves the project
 offline.  The offline plugin currently returns the project to a online
 state when used and recreates the database when going offline again.
 
 Does anyone know of anything I can use with PostGIS? I have been looking at
 Postgres replication but it's looking like a real pain in the neck to setup.

Hi Nathan,
when using PostgreSQL on both sides, I have found pg_comparator script
[1][2] as very handy tool to sync tables.

Do You have any idea how to handle concurent editing ?


[1] - http://pgfoundry.org/projects/pg-comparator/
[2] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646131


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


[Qgis-user] Re: Collecting Events

2012-03-20 Thread eriveltonguedes
That´s not your answer but may be useful:

http://www.wikicrimes.org

Best regards,

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Collecting-Events-tp4633998p4636464.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.7.4

2012-03-20 Thread Alexandre Neto
Is there any news about this problem?

I'm trying Union both in 1.7.4 and 1.9.90-Alpha QGIS code revision
f3b78ef, in a Windows XP computer.

Union is not working correctly, he union the geometries but looses
some attributes in the process.

Alex

PS: just lost the opportunity of selling Quantum GIS to a german
trainee... snif


On Tue, Feb 28, 2012 at 1:04 PM, Agustin Lobo alobolis...@gmail.com wrote:
 Correcting myself:
 it works fine on windows, empty table on ubuntu 10.04
 Agus

 El día 28 de febrero de 2012 13:55, Agustin Lobo
 alobolis...@gmail.com escribió:
 Werner,

 As far as I can see,
 #4567 Fix Union tool to produce correct attribute table
 has not been fixed despite the claim in
 http://www.qgis.org/en/about-qgis/qgis-releases.html
 1. On ubuntu, I get an empty table including the fields of both layers
 (i.e, id for one and id_2 for the other)
 2. On windows, the table is populated, but the fields are not merged
 (i.e, id for one and id_2 for the other),

 Should I reopen #4567 ?
 Could some body else verify?
 This is the kind of error users must be warned about

 (btw, Merge Shapefiles to one works fine on ubuntu 10.04, but not on 
 windows)


 Agus
 ___
 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 1.7.4

2012-03-20 Thread Giovanni Manghi
Hi,


 Union is not working correctly, he union the geometries but looses
 some attributes in the process.


can you please provide sample data and details here

http://hub.qgis.org/issues/4567

thanks




 PS: just lost the opportunity of selling Quantum GIS to a german
 trainee... snif


why?




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


[Qgis-user] Add non-spatial table data

2012-03-20 Thread Klaus Mithoefer
Dear All,

I have a data layer (shape format) and an attribute table (text file) I
want to join in QGIS. How do I add the textile (only attributes, no
coordinates) to my project? I have seen only the possibility to add text
files with geographic information.
Thank you
Best regards

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


Re: [Qgis-user] Add non-spatial table data

2012-03-20 Thread Giovanni Manghi

 I have a data layer (shape format) and an attribute table (text file)
 I want to join in QGIS. How do I add the textile (only attributes, no
 coordinates) to my project? I have seen only the possibility to add
 text files with geographic information.

it is not really intuitive... but you can use the add vector layer
dialog and even drag and drop the table in the canvas.

cheers

-- Giovanni --

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


Re: [Qgis-user] QGIS 1.7.4

2012-03-20 Thread Alexandre Neto
I will try. Never done this before.

Alex

PS: Because I challenge her work with QGIS, instead of ArcGIS, but the
analysis that she nedeed fail because of the union problem.

On Tue, Mar 20, 2012 at 1:27 PM, Giovanni Manghi
giovanni.man...@faunalia.pt wrote:
 Hi,


 Union is not working correctly, he union the geometries but looses
 some attributes in the process.


 can you please provide sample data and details here

 http://hub.qgis.org/issues/4567

 thanks




 PS: just lost the opportunity of selling Quantum GIS to a german
 trainee... snif


 why?




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


Re: [Qgis-user] QGIS 1.7.4

2012-03-20 Thread Giovanni Manghi
On Tue, 2012-03-20 at 13:56 +, Alexandre Neto wrote:
 I will try. Never done this before.


it is not difficult, you will need an osgeo id

https://www2.osgeo.org/cgi-bin/ldap_create_user.py



 PS: Because I challenge her work with QGIS, instead of ArcGIS, but the
 analysis that she nedeed fail because of the union problem.


there are geoprocessing tools that are also failing in Arc*...


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


Re: [Qgis-user] QGIS 1.7.4

2012-03-20 Thread Alexandre Neto
OFC there are, and all the answer you will get if you report a bug is
  or  It will be corrected in the next version (If you are willing
to buy it).

I'm not complaining. I have successfully Evangelize some people
about using Quantum GIS to solve their GIS problems (instead of
proprietary softwares). But this time it was not possible, the trainee
needed to move on and try to do it in another software.

I already post some test data in the issues.

Thanks!

Alexandre Neto


On Tue, Mar 20, 2012 at 2:02 PM, Giovanni Manghi
giovanni.man...@faunalia.pt wrote:
 On Tue, 2012-03-20 at 13:56 +, Alexandre Neto wrote:
 I will try. Never done this before.


 it is not difficult, you will need an osgeo id

 https://www2.osgeo.org/cgi-bin/ldap_create_user.py



 PS: Because I challenge her work with QGIS, instead of ArcGIS, but the
 analysis that she nedeed fail because of the union problem.


 there are geoprocessing tools that are also failing in Arc*...


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


Re: [Qgis-user] Data capture in QGIS with offline PostGIS

2012-03-20 Thread Bob Basques

Nathan, 

I've been thinking about something similar, using XAMPP.  Would need to add in 
POSTGIS, Mapserver (and/or the new QGIS Server) and QGIS. 

I'm interested in setting up a package like this for the same sort of things, 
data collection in the field.  I've been working with PostGIS for the last 
couple of months, and find it very sable, and have discovered some interesting 
capabilities during my configuration related to syncing databases, etc. 

Problem id, I don't have any one customer pleading for the this capability at 
the moment.  So I would need to steal away time to develop a proof of concept.  
 Do you have any possible funding for something like this? 

bobb 





 Nathan Woodrow madman...@gmail.com wrote:


Hi all, 



I'm currently looking at building a data collection program based on QGIS. One 
of the requirements is that it must have an offline datastore with syncing to 
the server on demand/timed. 



I have tried the Offline editing plugin but it's not quite what I was looking 
for. More looking for something that you press once and it syncs all the 
changes from upstream and downstream but leaves the project offline. The 
offline plugin currently returns the project to a online state when used and 
recreates the database when going offline again. 



Does anyone know of anything I can use with PostGIS? I have been looking at 
Postgres replication but it's looking like a real pain in the neck to setup. 



Regards, 

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


Re: [Qgis-user] Data capture in QGIS with offline PostGIS

2012-03-20 Thread Bob Basques

Ivan, 

I was wondering about the concurrent editing as well.  I also wondered if it 
might not be possble to combine data via something external to POSTGIS, like a 
Mapserver mapfile, instead of (only) relying on the POSTGIS merging 
capabilities.  You could for example have a table per collector ID and then 
combine them for business needs and presentation.  I guess it depends somewhat 
on the buisness specifics. 

bobb 



 Ivan Mincik ivan.min...@gmail.com wrote:




 Does anyone know of anything I can use with PostGIS? I have been looking at
 Postgres replication but it's looking like a real pain in the neck to setup.

Hi Nathan,
when using PostgreSQL on both sides, I have found pg_comparator script
[1][2] as very handy tool to sync tables.

Do You have any idea how to handle concurent editing ?


[1] - http://pgfoundry.org/projects/pg-comparator/
[2] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646131


--
Ivan Mincik
___
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 1.7.4

2012-03-20 Thread Kris Nackaerts
I had problems with joins with non-spatial data and the not too userfriendly 
vector opertaions, and this mainly with students.

Our solution so far: we use spatialite as backend for students (postgis isn't 
that easy when lots of external data needs to be joined). It works great:

- The initial spatialite db was created using ogr2ogr from our postgis server.
- joining data is done in spatialite, with the spatialite-gui tool
- new x,y data is created in spatialite too, just link to a file, use the 
makepoint function, done
- spatial operations are performed in spatialite (some tricks needed, once you 
know, works great)

QGIS is used for visualisation and some basic operations.

The combination of both products works well for us.

Kris Nackaerts


 Original-Nachricht 
 Datum: Tue, 20 Mar 2012 13:56:50 +
 Von: Alexandre Neto senhor.n...@gmail.com
 An: giovanni.man...@faunalia.pt, QGIS User qgis-user@lists.osgeo.org
 Betreff: Re: [Qgis-user] QGIS 1.7.4

 I will try. Never done this before.
 
 Alex
 
 PS: Because I challenge her work with QGIS, instead of ArcGIS, but the
 analysis that she nedeed fail because of the union problem.
 
 On Tue, Mar 20, 2012 at 1:27 PM, Giovanni Manghi
 giovanni.man...@faunalia.pt wrote:
  Hi,
 
 
  Union is not working correctly, he union the geometries but looses
  some attributes in the process.
 
 
  can you please provide sample data and details here
 
  http://hub.qgis.org/issues/4567
 
  thanks
 
 
 
 
  PS: just lost the opportunity of selling Quantum GIS to a german
  trainee... snif
 
 
  why?
 
 
 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!  

Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] pyspatialite problems in qgis 1.7.4-3?

2012-03-20 Thread Josef K
I recently updated qgis to 1.7.4-3 by using the osgeo4w advanced
installation and now there seems to be something wrong with pyspatialite. I
get error messages from all the plugins QspatiaLite, SpatiaLite Manager and
DB Manager. And none of the following attempts to import at the python
console is working:
*from pyspatialite import dbapi2 as sqlite*
*from pyspatialite._spatialite import **

Strange thing is that I did include the pyspatialite package (2.3.1-2) and
all the plugins (including importing pyspatialite at python console) are
working fine in qgis-dev (f3b78ef).

Anyone else experiencing this?
/josef
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Collecting Events

2012-03-20 Thread Jim(tm)
Thanks for the replies.  
I came up with a slightly roundabout way of doing this.  First, I buffered
my points.  Next I ran points in polygons to get a point count with the
buffers.  Finally, I ran polygon centroids to get a points feature class
with the counts that I could represent as proportional symbols that show
number of crimes per address.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Collecting-Events-tp4633998p4637441.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] compiling QGIS version1.9.90-Alpha with GRASS 7.0

2012-03-20 Thread Paulo van Breugel

Hi,

I have compiled QIGS 1.9 successfully when building with GRASS 6.4 (on 
Ubuntu 11.10). However, when I try to build it with GRASS 7.0, I am 
running into problems.


In ccmake, I include the following when building with GRASS 6.4 (grass 
was build in usr/local/grass6.4.current):


GRASS_INCLUDE_DIR
/usr/local/grass6.4.current/grass-6.4.2svn/include

GRASS_PREFIX /usr/local/grass6.4.current/grass-6.4.2svn
LIB_PATH in  
/usr/local/grass6.4.current/grass-6.4.2svn/lib/libgrass_gproj.so


GRASS 7.0 is build in usr/local/grass7.current, thus used the following 
in the ccmake:


GRASS_INCLUDE_DIR
/usr/local/grass7.current/grass-7.0.svn/include

GRASS_PREFIX /usr/local/grass7.current/grass-7.0.svn
LIB_PATH /usr/local/grass7.current/grass-7.0.svn/lib

However, when running configure, it apparently cannot find the lib_path, 
even though I am sure the path is correct (the field for LIB_PATH is put 
to LIB_PATH_NOT_FOUND).


I can still continue with make and make install and QGIS installs and 
runs fine, but without GRASS toolbox.


Any help would be appreciated.

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


[Qgis-user] Digitizing Idea...

2012-03-20 Thread Gerhardus Geldenhuis
Hi
Not sure if this has already been done or thought of... probably

While clicking over a very winding river today to digitize an old map I was
thinking it would be really useful to combine some graphic package features
found in gimp/photoshop. The idea being that as you click it
would preferentially follow a certain line/colour. I could thus select a
colour on the map and then just click a rough path over the river with the
software recognizing my intention and adjusting the path the best fit the
line based on the colour I chose or follow the line.

Regards

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