[Qgis-developer] QGIS 1.8.0 build issue

kamal_8783in at indiatimes.com kamal_8783in at indiatimes.com
Wed Dec 5 20:44:12 PST 2012


sir i am new to QGIS but having assginment to develop non commercial software for GIS analysis.
i had finalised to work on QGIS but sir i am unable to build QGIS on windows7 and visual studio 10.
i have tried from tutorials but i not able to resolve python import core module errorany help will be great waiting for ur invaluable support.

with regards
KAMAL
INDIA

----- Original Message -----
From: qgis-developer-request at lists.osgeo.org
To: qgis-developer at lists.osgeo.org
Sent: Thu, 6 Dec 2012 01:30:18 +0530 (IST)
Subject: Qgis-developer Digest, Vol 86, Issue 12

Send Qgis-developer mailing list submissions to
	qgis-developer at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.osgeo.org/mailman/listinfo/qgis-developer
or, via email, send a message with subject or body 'help' to
	qgis-developer-request at lists.osgeo.org

You can reach the person managing the list at
	qgis-developer-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-developer digest..."


Today's Topics:

   1. Re: Fleet Management Tools (Vincent Picavet)
   2. Where are the points? (Justin Hubbard)
   3. Re: Fleet Management Tools (Petros Apotsos)
   4. Re: Where are the points? (Ian Packham)


----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Dec 2012 14:32:28 +0100
From: Vincent Picavet <vincent.ml at oslandia.com>
To: qgis-developer at lists.osgeo.org
Cc: Petros Apotsos <petrosapotsos at gmail.com>
Subject: Re: [Qgis-developer] Fleet Management Tools
Message-ID: <201212051432.28971.vincent.ml at oslandia.com>
Content-Type: Text/Plain;  charset="utf-8"

Hello,

> Given a Point Cloud (either a file or a stream) that represents positions,
> speed and direction of a vehicle fleet (TAXIs in my case), and a graph
> (geometric network) that represents roads and intersections, I want to be
> able to do the following:

Your problem will probably be best answered through PostGIS queries, which you 
can then visualize with QGIS, and/or a custom web-based application.

Let's say you have a table taxi_position like this, where position is a point 
geometry :

| gid | taxi_id | speed | pos_time | position |

> 	1. Track down the route of any single vehicle, as a succession of
> points on the network.

Group by taxi_id, order by pos_time and make a line with the resulting points.

> 	2. Calculate the total passes of vehicles through any given point or
> segment of the network.

Join your segment (or node) network with your taxi_position table, allowing a 
tolerance around the segment/node (st_dwithin will do the trick), then group 
by taxi if you want to consider each vehicle only once.

> 	3. (Not as urgent as the above) Find the nearest TAXI to a random
> point on the network.

With PostGIS > 2.0, use KNN-search to do it fast as light. Otherwise, use 
st_dwithin with growing values for the search radius.

> All of the above need to be FOSS-based solutions.
check.

> Although I am willing and ready to program plugins or algorithms to do the
> above tasks, I am not really into re-inventing the wheel, so my questions
> are the following:
> 	A) Are there any libraries or plugins that handle the above tasks?
> Is there any FOSS work already done with them?

That would be a few SQL queries then.

> 	B) Is QGIS ready (aka efficient enough) to handle those tasks, or
> shall we try other tools/software?
Use QGIS as visualization tool, and PostGIS as a backend, and you're set for 
hundred of millions of positions without problem (well, do not visualize 
everything at once).

> Any opinions on my task would be greatly appreciated!
You're welcome

Vincent

> Thanx in advance!
> 
> Petros Apotsos
> 
> Rural & Surveying Engineer
> Technical Chamber of Greece Registry Number 96798
> ?: 2310 220345
> F: 2310 220346
> Ermou 18A, Postal Code 54624
> Thessaloniki, GREECE
> 
> 
> 
> 
> __________ Information from ESET Smart Security, version of virus signature
> database 7766 (20121205) __________
> 
> The message was checked by ESET Smart Security.
> 
> http://www.eset.com
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


------------------------------

Message: 2
Date: Wed, 5 Dec 2012 15:51:31 +0200
From: Justin Hubbard <justin at pyrotechsoftware.com>
To: qgis-developer <qgis-developer at lists.osgeo.org>
Subject: [Qgis-developer] Where are the points?
Message-ID:
	<CAMFSZzpMzT6mqkqyZ0jUjZYJ2ywAf3NrTWeR8UQbgRD1H=PHBg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

In my plugin, I am able to create features as per the cookbook. And when I
zoom to the layer extent I can see the points are there and they are
rendered as per my symbology.

However when I try to zoom / Pan to them, they disappear.
If I run QgsFeature.isValid() they all return true. I just cannot
understand it.

-- 

Warm regards
*Justin Hubbard*

*--*





*Justin Hubbard*

Software Engineer and Support



  Mobile:

  +27 (0)79 827 1657



  Fax:

  +27 (0)86 540 6016



  Email:

  justin at pyrotechsoftware.com <robert at plannermunicipalsoftware.co.za>



  Web Site:

  www.pyrotechsoftware.co <http://www.plannermunicipalsoftware.co.za/>m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121205/7f3f4d79/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 5 Dec 2012 18:05:34 +0200
From: "Petros Apotsos" <petrosapotsos at gmail.com>
To: <vincent.ml at oslandia.com>,	<qgis-developer at lists.osgeo.org>
Subject: Re: [Qgis-developer] Fleet Management Tools
Message-ID: <008901cdd302$6045e0c0$20d1a240$@com>
Content-Type: text/plain;	charset="UTF-8"

Wow,
a most prompt and to-the-point response!! I have absolutely no experience with PostGIS, but it was already in my priorities list, so I will get to it and post back with results and/or comments.
I have to say I disagree with some points of your answers, but I have to do some work first, before posting a formal reply.
Thank you again for your prompt and concise reply,


Petros Apotsos

Rural & Surveying Engineer
Technical Chamber of Greece Registry Number 96798
?: 2310 220345
F: 2310 220346
Ermou 18A, Postal Code 54624
Thessaloniki, GREECE



Hello,

> Given a Point Cloud (either a file or a stream) that represents 
> positions, speed and direction of a vehicle fleet (TAXIs in my case), 
> and a graph (geometric network) that represents roads and 
> intersections, I want to be able to do the following:

Your problem will probably be best answered through PostGIS queries, which you can then visualize with QGIS, and/or a custom web-based application.

Let's say you have a table taxi_position like this, where position is a point geometry :

| gid | taxi_id | speed | pos_time | position |

> 	1. Track down the route of any single vehicle, as a succession of 
> points on the network.

Group by taxi_id, order by pos_time and make a line with the resulting points.

> 	2. Calculate the total passes of vehicles through any given point or 
> segment of the network.

Join your segment (or node) network with your taxi_position table, allowing a tolerance around the segment/node (st_dwithin will do the trick), then group by taxi if you want to consider each vehicle only once.

> 	3. (Not as urgent as the above) Find the nearest TAXI to a random 
> point on the network.

With PostGIS > 2.0, use KNN-search to do it fast as light. Otherwise, use st_dwithin with growing values for the search radius.

> All of the above need to be FOSS-based solutions.
check.

> Although I am willing and ready to program plugins or algorithms to do 
> the above tasks, I am not really into re-inventing the wheel, so my 
> questions are the following:
> 	A) Are there any libraries or plugins that handle the above tasks?
> Is there any FOSS work already done with them?

That would be a few SQL queries then.

> 	B) Is QGIS ready (aka efficient enough) to handle those tasks, or 
> shall we try other tools/software?
Use QGIS as visualization tool, and PostGIS as a backend, and you're set for hundred of millions of positions without problem (well, do not visualize everything at once).

> Any opinions on my task would be greatly appreciated!
You're welcome

Vincent

> Thanx in advance!
> 
> Petros Apotsos
> 
> Rural & Surveying Engineer
> Technical Chamber of Greece Registry Number 96798
> ?: 2310 220345
> F: 2310 220346
> Ermou 18A, Postal Code 54624
> Thessaloniki, GREECE
> 
> 
> 
> 
> __________ Information from ESET Smart Security, version of virus 
> signature database 7766 (20121205) __________
> 
> The message was checked by ESET Smart Security.
> 
> http://www.eset.com
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
 

__________ Information from ESET Smart Security, version of virus signature database 7766 (20121205) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
 

__________ Information from ESET Smart Security, version of virus signature database 7768 (20121205) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 



------------------------------

Message: 4
Date: Wed, 05 Dec 2012 18:35:32 GMT
From: Ian Packham <i.packham at ucd.ie>
To: Justin Hubbard <justin at pyrotechsoftware.com>
Cc: qgis-developer <qgis-developer at lists.osgeo.org>
Subject: Re: [Qgis-developer] Where are the points?
Message-ID: <7280a4022a84.50bf93f4 at ucd.ie>
Content-Type: text/plain; charset="us-ascii"

Justin

Which version of QGIS are you using? Are you using code exactly as in the cookbook (Using Vector Layers chapter?)?. If not, can you provide the code? Also how did you create the symbology?

Ian

----- Original Message -----
From: Justin Hubbard <justin at pyrotechsoftware.com>
Date: Wednesday, December 5, 2012 1:51 pm
Subject: [Qgis-developer] Where are the points?
To: qgis-developer <qgis-developer at lists.osgeo.org>

> In my plugin, I am able to create features as per the cookbook. And when I zoom to the layer extent I can see the points are there and they are rendered as per my symbology.
> However when I try to zoom / Pan to them, they disappear. > If I run QgsFeature.isValid() they all return true. I just cannot understand it.
> 
> -- 

> Warm regards
> Justin Hubbard
 > 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121205/17b0ef9f/attachment-0001.html>

------------------------------

_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


End of Qgis-developer Digest, Vol 86, Issue 12
**********************************************



More information about the Qgis-developer mailing list