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

2012-03-19 Thread Nathan Woodrow
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] PostGIS database creation wizzard

2012-03-19 Thread mick
On Fri, 9 Mar 2012 08:05:47 +1100
Noli Sicad  wrote:

Thanks to all who offered advice, I'm still looking into what is most 
comfortable for me, in between hospital stays, so its taking me more effort and 
time than usual.

mick

> Correction, I was not using osm2postgresql but osm2pgsql
> 
> http://wiki.openstreetmap.org/wiki/Osm2pgsql
> 
> Thanks.
> 
> Noli
> 
> On 3/9/12, Noli Sicad  wrote:
> > Last time, I used osm2postgresql, I had difficulties using it in
> > PostgeSQL 9.x, but works in PostgreSQL 8.x.
> >
> > Here's screenshot using Australia.osm.pbf, QGIS 1.7.1 mac os x and SVN
> > osm2postgresql
> >
> > https://picasaweb.google.com/116847891529748214201/PostGISPostgreSQLOSM2PGSQLOSMToPostgreSQLAndQGIS171#5661639420915526386
> >
> > Regards,
> >  Noli
> >
> > On 3/9/12, Mayeul Kauffmann  wrote:
> >> Hi,
> >> The tools mentioned are nice but hstore format is not recognised by
> >> qgis.
> >> That's why I created osm2postgresql: it's tailored to keep as much
> >> information as possible (keep all tags; a few  broken polygons are kept
> >> as lines, a very few features that would crash postgis are kept as
> >> nodes), and be accessible with QGIS.
> >> You can filter directly within qgis using a full text representation of
> >> the hstore.
> >> Demo here:
> >> http://www.youtube.com/watch?v=NBBYtH2svw0
> >>
> >> If you are not on Linux, do not worry! Latest version was customized and
> >> tested to work in a virtual machine.
> >> More here:
> >> http://wiki.openstreetmap.org/wiki/Osm2postgresql
> >>
> >> Even if you do not want to use the bash script, the sql code within the
> >> script will give you many ideas.
> >> No need to login to ask help in the help forum:
> >> http://sourceforge.net/projects/osm2postgresql/forums/forum/1683571
> >> Regards,
> >> Mayeul
> >>
> >>
> >>
> >> -
> >> Mayeul Kauffmann
> >> Le lundi 05 mars 2012 à 09:56 +, Alexandre Neto a écrit :
> >>> the book "Postgis in action" has a very good explanation about
> >>> Organizing spatial data, and the example used includes uploading a OSM
> >>> database from Paris, using different data models.
> >>>
> >>>
> >>> Also, Bostongis has a very nice tutorial  of Loading OpenStreetMap
> >>> data into PostGIS: An Almost Idiot's Guide
> >>>
> >>>
> >>> Hope it helps.
> >>>
> >>>
> >>> Alexandre Neto
> >>>
> >>> On Sun, Mar 4, 2012 at 4:26 AM, mick  wrote:
> >>> I'm having a devil of a time getting my head around creating
> >>> database to store parts of the open street map dataset.
> >>>
> >>> I wish to store some of the elements (relating to the
> >>> landscape and the Roman occupation of Britain with the
> >>> possibility of adding other periods) and only relevant tag
> >>> values.
> >>>
> >>> Is there a wizzard that can help with this task or a genius
> >>> who could develop one.
> >>>
> >>> My thoughts on the process are:
> >>>
> >>> scan the .osm file and create a list of keys that have been
> >>> used
> >>>
> >>> present the list of keys for inclusion or exclusion
> >>>
> >>> produce code to create the table(s) according to the
> >>> selections above
> >>>
> >>> create a process to import the file.
> >>>
> >>> I have no idea how much effort this would take or how
> >>> universal this kind of tool would be. If it is too much work
> >>> and/or too specific a few hints might get me going.
> >>>
> >>> mick
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] create hotspots [OOPS]

2012-03-19 Thread mick
On Tue, 20 Mar 2012 10:32:16 +1000
mick  wrote:

> On Mon, 19 Mar 2012 10:40:14 -0400
>  wrote:
> 
> > I am attempting to use QGIS to create hotspots for location homeless in
> > Williamsburg Virginia,USA. I am sure such a remote area of the USA would
> > not be in  your gis data. The map would have to have some detail due to
> > some of the hotspots having to cover wooded areas.  Can you suggest a
> > site or tutorial that would show me the data format I would need to
> > conform to  so that QGIS could read it?
> > 
> >  
> > 
> > I am going to attempt to acquire the gis database coordinate data from
> > either local or federal government sources.  Thanks for nay help you can
> > offer
> 
> I can't say for sure if it has the detail you require but it might be worth 
> checking OpenStreetMap ( 
> http://www.openstreetmap.org/?lat=37.8646&lon=-78.1928&zoom=14&layers=M ) as 
> a starting point.
> 
> mick
Sorry, that was the wrong place, try this:
http://www.openstreetmap.org/?lat=37.2787&lon=-76.7034&zoom=13&layers=M

forgot to mention that data is held for objects that are not rendered on the 
map shown, either export a section if its not too big (50,000 nodes) or try 
http://download.geofabrik.de/osm/north-america/us/virginia.osm.bz2 for the 
whole state then use the OSM plugin to import to QGIS and save as a shape file 
so you can edit it (e.g. crop to a more relevant subset)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] create hotspots

2012-03-19 Thread Noli Sicad
> I can't say for sure if it has the detail you require but it might be worth
> checking OpenStreetMap (
> http://www.openstreetmap.org/?lat=37.8646&lon=-78.1928&zoom=14&layers=M ) as
> a starting point.

The, you can import this OSM data using QGIS OSM plugin to QGIS (e.g.
convert to shapefile).

(see the screenshot in here - almost at bottom of this blog)

http://blog.untogether.co.uk/post/17554554409/i-had-no-idea-how-to-make-custom-maps-so-i-learnt-by

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


Re: [Qgis-user] create hotspots

2012-03-19 Thread mick
On Mon, 19 Mar 2012 10:40:14 -0400
 wrote:

> I am attempting to use QGIS to create hotspots for location homeless in
> Williamsburg Virginia,USA. I am sure such a remote area of the USA would
> not be in  your gis data. The map would have to have some detail due to
> some of the hotspots having to cover wooded areas.  Can you suggest a
> site or tutorial that would show me the data format I would need to
> conform to  so that QGIS could read it?
> 
>  
> 
> I am going to attempt to acquire the gis database coordinate data from
> either local or federal government sources.  Thanks for nay help you can
> offer

I can't say for sure if it has the detail you require but it might be worth 
checking OpenStreetMap ( 
http://www.openstreetmap.org/?lat=37.8646&lon=-78.1928&zoom=14&layers=M ) as a 
starting point.

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


[Qgis-user] Fwd: [talk-ph] Fwd: [OSM-talk] Esri donation to OpenStreetMap Foundation

2012-03-19 Thread Noli Sicad
ESRI (ArcGis) is into OSM geodata as well. Noli

-- Forwarded message --
From: Eugene Alvin Villar 
Date: Tue, 20 Mar 2012 06:50:32 +0800
Subject: [talk-ph] Fwd: [OSM-talk] Esri donation to OpenStreetMap Foundation
To: OpenStreetMap Philippines 

Hi guys (especially the GIS people),

It seems that Esri has donated an undisclosed amount of money to the
OpenStreetMap Foundation.


-- Forwarded message --
From: Richard Weait 
Date: Tue, Mar 20, 2012 at 5:48 AM
Subject: [OSM-talk] Esri donation to OpenStreetMap Foundation
To: osmf-t...@openstreetmap.org, t...@openstreetmap.org


http://blog.osmfoundation.org/2012/03/19/esri-donation/
http://www.esri.com/news/releases/12-1qtr/esri-donation-supports-collaboration-with-openstreetmap-community.html

Thanks Esri!

___
talk mailing list
t...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

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


Re: [Qgis-user] Relative paths

2012-03-19 Thread Alister Hood
Depending on where the svgs are you might be experiencing this:
http://hub.qgis.org/issues/4056

> Date: Mon, 19 Mar 2012 10:49:13 +
> From: Gerhardus Geldenhuis 
> Subject: Re: [Qgis-user] Relative paths
> To: Andreas Neumann 
> Cc: qgis-user@lists.osgeo.org
> Message-ID:
> 
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Thanks!
> There seems to be a small bug though because I had to reassign all the
> symbols that I had set previously. To make sure I restarted QGIS but it did
> not had the desired effect.
> 
> Regards
> 
> On 19 March 2012 10:42, Andreas Neumann  wrote:
> 
> > "Settings" --> "Options" --> "Rendering" tab --> "SVG paths"
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Transferiing a project from MapInfor to QGIS....Please help.....

2012-03-19 Thread Goyo
El día 19 de marzo de 2012 00:59, naomi jackson
 escribió:

> This project will be launched on PC's for certain departments and they do
> not work with QGIS(they need it for display only) and most of the time
> they require a automated program where they do not need to learn steps
> of opening up projects

But then do yo want to automatically open a layer or automatiaclly
open a project?

You can achieve the latter this way:
qgis --project projectfile

> What do you gain if you have a separate tree in the menu if you already
> have a layer tree in QGIS?
> a click and all is done.

That's two clicks: (1) open the menu item, (2) select the desired
layer. Zoom to layer from the legend also requires two clicks usually.

> Is it possible to automatically update the QGIS database when we make
> changes in Access table??or it has to be done manually every time we
> update the Access table(.mbd)

Which QGIS database and which Access table?
You can add layers from a .mdb ESRI geodatabase to a QGIS proyect, if
that's what you mean. But I think they're read only --you can't edit
them from QGIS.

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


Re: [Qgis-user] Collecting Events

2012-03-19 Thread pcreso
Hi Jim,

I don't think you can do quite the same thing... but you can achieve a 
comparable result. 

I generate a dataset which has the location & number of events there, then use 
the symbology tool to scale the symbol by the count, & optionally use the count 
as the label. 

I manage virtually all my data in Postgis, & do most of that sort of 
aggregation & data manipulation in the database. QGIS tends to be more the 
visualisation tool.

HTH,

   Brent Wood

--- On Tue, 3/20/12, Jim(tm)  wrote:

From: Jim(tm) 
Subject: [Qgis-user] Collecting Events
To: qgis-user@lists.osgeo.org
Date: Tuesday, March 20, 2012, 5:52 AM

Greetings, all!

I am attempting to create size-graduated point markers for burglary data
based on the number of burglaries per address.  With Arc, one would use the
Collect Events tool to combine multiple points into a single weighted point
- eg, from 5 points representing burglaries at one address you would get one
point with the weighted value of 5.  How is this done in QGIS?


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


[Qgis-user] Collecting Events

2012-03-19 Thread Jim(tm)
Greetings, all!

I am attempting to create size-graduated point markers for burglary data
based on the number of burglaries per address.  With Arc, one would use the
Collect Events tool to combine multiple points into a single weighted point
- eg, from 5 points representing burglaries at one address you would get one
point with the weighted value of 5.  How is this done in QGIS?


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

2012-03-19 Thread GREGORY.WILSON
I am attempting to use QGIS to create hotspots for location homeless in
Williamsburg Virginia,USA. I am sure such a remote area of the USA would
not be in  your gis data. The map would have to have some detail due to
some of the hotspots having to cover wooded areas.  Can you suggest a
site or tutorial that would show me the data format I would need to
conform to  so that QGIS could read it?

 

I am going to attempt to acquire the gis database coordinate data from
either local or federal government sources.  Thanks for nay help you can
offer

The information contained in this message is intended only for the recipient, 
and may otherwise be privileged and confidential. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer. This footnote also 
confirms that this email has been scanned for all viruses by the Hampton 
University Center for Information Technology Enterprise Systems service.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Sequential Route Assessment

2012-03-19 Thread Paolo Cavallini
Il 19/03/2012 14:24, Matt Nelson ha scritto:
> Hi Everyone, I was wondering if anyone can help? I want to get a set of 
> distances
> along a non linear vector line (road) from point a to point b, where they 
> cross a
> raster image with 2 distinct colours. I found the "Terrain Profile" python 
> plugin
> which would be perfect but need to do this for a non linear vector line. 
> Cheers, Matt

profile from line?

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Sequential Route Assessment

2012-03-19 Thread Matt Nelson
Hi Everyone,

I was wondering if anyone can help? I want to get a set of distances along a
non linear vector line (road) from point a to point b, where they cross a
raster image with 2 distinct colours. I found the "Terrain Profile" python
plugin which would be perfect but need to do this for a non linear vector
line.

Cheers,

Matt

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Sequential-Route-Assessment-tp4633280p4633280.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] banco de dados..

2012-03-19 Thread Andreas Neumann

Hi Rodrigo,

In the layers properties dialogue (double click a layer to open the 
dialogue) you can find the "Fields" tab. For each column you can select 
a widget. You can select "Unique Values" or "Value Map" or even a value 
relation to another table containing the entries.


Hope this helps.

Andreas

On Mon, 19 Mar 2012 08:59:27 -0300, Rodrigo Moreira Maia wrote:

Caros amigos, gostaria de saber como se cria um banco de dados na
tabela de atributos dos arquivos shape .shp..

para por exemplo..
numa rodovia, posso colocar pavimentada ? sim ou não apenas, e o 
campo

não é livre para escrever
obrigado...

Dear friends, I wonder how you create a database in the attribute
table of shapefiles. Shp ..

for eg ..
a highway, I can put paved? yes or no only, and the field is not free
to write 
thanks ...
___
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] banco de dados..

2012-03-19 Thread Rodrigo Moreira Maia
Caros amigos, gostaria de saber como se cria um banco de dados na
tabela de atributos dos arquivos shape .shp..

para por exemplo..
numa rodovia, posso colocar pavimentada ? sim ou não apenas, e o campo
não é livre para escrever
obrigado...

Dear friends, I wonder how you create a database in the attribute
table of shapefiles. Shp ..

for eg ..
a highway, I can put paved? yes or no only, and the field is not free
to write 
thanks ...
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Relative paths

2012-03-19 Thread Gerhardus Geldenhuis
Thanks!
There seems to be a small bug though because I had to reassign all the
symbols that I had set previously. To make sure I restarted QGIS but it did
not had the desired effect.

Regards

On 19 March 2012 10:42, Andreas Neumann  wrote:

> "Settings" --> "Options" --> "Rendering" tab --> "SVG paths"
>
> Andreas
>
>
-- 
Gerhardus Geldenhuis
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Relative paths

2012-03-19 Thread Andreas Neumann

"Settings" --> "Options" --> "Rendering" tab --> "SVG paths"

Andreas

On Mon, 19 Mar 2012 10:36:21 +, Gerhardus Geldenhuis wrote:

HiOne more thing. My custom symbols have also all disappeared and I
were not prompted by QGIS to set this path. I vaguely remember 
setting
a path for them but can't remember and would really appreciate a 
quick

nudge in the right direction.

Regards

On 19 March 2012 10:26, Andreas Neumann  wrote:


Sure: go to "Settings" --> "Project properties" --> "General tab"
--> "Save paths" --> relative

Andreas

On Mon, 19 Mar 2012 10:22:00 +, Gerhardus Geldenhuis wrote:


Hi 
My external harddrive broke on which I kept my QGIS files. This
meant
that in the new location all my data sources are broken, as in
they
point to a specific location rather than relative to the main
project
file. Is there a way to make paths relative or is this a design
intention?

Regards


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org [1]
http://lists.osgeo.org/mailman/listinfo/qgis-user [2]


--
--
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


Re: [Qgis-user] Relative paths

2012-03-19 Thread Gerhardus Geldenhuis
Hi
One more thing. My custom symbols have also all disappeared and I were not
prompted by QGIS to set this path. I vaguely remember setting a path for
them but can't remember and would really appreciate a quick nudge in the
right direction.

Regards

On 19 March 2012 10:26, Andreas Neumann  wrote:

> Sure: go to "Settings" --> "Project properties" --> "General tab" -->
> "Save paths" --> relative
>
> Andreas
>
>
> On Mon, 19 Mar 2012 10:22:00 +, Gerhardus Geldenhuis wrote:
>
>> Hi
>> My external harddrive broke on which I kept my QGIS files. This meant
>> that in the new location all my data sources are broken, as in they
>> point to a specific location rather than relative to the main project
>> file. Is there a way to make paths relative or is this a design
>> intention?
>>
>> Regards
>>
>
> --
> --
> 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
>



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


Re: [Qgis-user] Relative paths

2012-03-19 Thread Gerhardus Geldenhuis
Hi
Awesome, thanks for the quick replies.

I can't remember setting it... would relative potentially be a better
default setting?

Regards

On 19 March 2012 10:26, Andreas Neumann  wrote:

> Sure: go to "Settings" --> "Project properties" --> "General tab" -->
> "Save paths" --> relative
>
> Andreas
>
>
> On Mon, 19 Mar 2012 10:22:00 +, Gerhardus Geldenhuis wrote:
>
>> Hi
>> My external harddrive broke on which I kept my QGIS files. This meant
>> that in the new location all my data sources are broken, as in they
>> point to a specific location rather than relative to the main project
>> file. Is there a way to make paths relative or is this a design
>> intention?
>>
>> Regards
>>
>
> --
> --
> 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
>



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


Re: [Qgis-user] Relative paths

2012-03-19 Thread Andreas Neumann
Sure: go to "Settings" --> "Project properties" --> "General tab" --> 
"Save paths" --> relative


Andreas

On Mon, 19 Mar 2012 10:22:00 +, Gerhardus Geldenhuis wrote:

Hi 
My external harddrive broke on which I kept my QGIS files. This meant
that in the new location all my data sources are broken, as in they
point to a specific location rather than relative to the main project
file. Is there a way to make paths relative or is this a design
intention?

Regards


--
--
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


Re: [Qgis-user] Relative paths

2012-03-19 Thread Giovanni Manghi

>  Is there a way to make paths relative or is this a design intention?

there is an option in the project properties: use relative or absolute
paths.


cheers

-- Giovanni --


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


[Qgis-user] Relative paths

2012-03-19 Thread Gerhardus Geldenhuis
Hi
My external harddrive broke on which I kept my QGIS files. This meant that
in the new location all my data sources are broken, as in they point to a
specific location rather than relative to the main project file. Is there a
way to make paths relative or is this a design intention?

Regards

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


Re: [Qgis-user] Re: QGIS + Inkscape

2012-03-19 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/03/12 09:04, G. Allegri wrote:
> I agree with Jukka. Working to a lower level of binding (through GDAL/OGR) 
> would let other foss
> software leavarage the improvements. I don't know Inkscape very much, but 
> I've tried to import
> the latter example from Jukka (the multilayer PDF) and it keeps the layers 
> correctly. Working
> on the GDAL level is probably harder then doing the work on the Python level 
> directly between
> Qgis and Inkscape, but I feel it would be far most used and useful to improve 
> the GDAL PDF 
> support...
> 
> giovanni
> 
> 2012/3/19 Jukka Rahkonen  >
> 
> Brylie Oxley  writes:
> 
>> 
>> Hello, My name is Brylie Oxley. I am a student at Sierra College in Nevada 
>> City, CA. I would
>> like to apply for the GSoC program.
>> 
>> I have been studying GIS at Sierra College, where the courses focus on 
>> proprietary tools. For
>> libre GIS tools to be viable options, we need high quality cartographic 
>> tools. This is where
>> I see Inkscape as an EXCELLENT candidate.
>> 
>> I would like to make an extension for QGIS and/or Inkscape that would enable 
>> us to send data
>> from QGIS directly to Inkscape. It would also be nice to be able to have 
>> Inkscape leverage
>> the QGIS API to import data/layers into a cartographic project.
>> 
>> I am glad to get any feedback regarding users' experiences sharing data 
>> between these two
>> programs. I would also like to know what some of the components are that I 
>> can leverage to
>> create a bridging extension/improved cartographic interface for QGIS.
>> 
>> Thank you for your time and consideration, Brylie Oxley

I think that would be a good idea - essentially a mapcomposer on steroids.

What would be needed (just some ideas) is:

a) the possibility to send a map with selected layers and everything to 
inkscape as an object this
could be done via gdal, but I *think* it might be easier to make this directly

b) implement the basic map related features (north arrow, scale, legend, ...) 
in the same way

c) make sure that inkscape (for the map related elements) is *aware* of the 
fact that it is a map,
i.e. if the map is rotated, the north arrow should rotate as well, scale 
changes, ...)

I don't think the pdf driver from gdal offers the flexibility needed (but I 
must admit I don't
know it).



Cheers,

Rainer



> 
> There is heavy work going on with GDAL PDF driver 
> http://gdal.org/frmt_pdf.html Mapserver can
> already make georeferenced PDF files like this with the trunk version of GDAL
> http://latuviitta.org/documents/Lahti_geospat.pdf Reading the geospatial info 
> of that certain
> PDF needs TerraGo Toolbar which is an add-on to Adobe Acrobat reader. Here is 
> another PDF
> output example http://latuviitta.org/documents/raitiovaunulinjat.pdf It is 
> made with OpenJUMP
> derivative SkyJUMP and it demostrates using vector layers on to of a raster 
> layer (tram lines
> in this case). User can toggle the layer visibility at least with Adobe 
> Acrobat Reader. I am
> not sure if GDAL can do such layered output yet. However, I have a feeling 
> that GDAL may soon
> be able to support direct conversion of raster files with OGR vector file 
> overlays into layered
> and georeferenced PDF files. See recent PDF commits by Evan Rouault at 
> http://trac.osgeo.org/gdal/timeline


> 
> Perhaps that work will help you with the QGIS to Inkcape work flow. At least 
> it might be good
> to study what could be done by feeding GDAL from QGIS before dublicating 
> those functionalities
> into QGIS.
> 
> 
> -Jukka Rahkonen-
> 
> ___ 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


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk9m8/oACgkQoYgNqgF2egpaIwCdFVErJxHsAx38aMSjpNTVieg2
WeEAnjGMCSJx5Q6ldOzVbfbvOBLrnV7q
=HPne
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: QGIS + Inkscape

2012-03-19 Thread Ari Jolma

On 03/19/2012 10:04 AM, G. Allegri wrote:

I agree with Jukka.
Working to a lower level of binding (through GDAL/OGR) would let other 
foss software leavarage the improvements.
I don't know Inkscape very much, but I've tried to import the latter 
example from Jukka (the multilayer PDF) and it keeps the layers correctly.
Working on the GDAL level is probably harder then doing the work on 
the Python level directly between Qgis and Inkscape, but I feel it 
would be far most used and useful to improve the GDAL PDF support...


I agree too, but would like to see SVG better supported in GDAL. Right 
now there seems to be only read support. Some years ago I made some 
tests using librsvg and GDAL and writing glue code in Perl. It works and 
the basics are not difficult but with styles and rasters it gets more 
complicated.


librsvg seems to me the best choice for the low level library to use.

gdal-dev cc'd.

Ari



giovanni

2012/3/19 Jukka Rahkonen >


Brylie Oxley  writes:

>
> Hello,
> My name is Brylie Oxley. I am a student at Sierra College in Nevada
> City, CA. I would like to apply for the GSoC program.
>
> I have been studying GIS at Sierra College, where the courses
focus on
> proprietary tools. For libre GIS tools to be viable options, we need
> high quality cartographic tools. This is where I see Inkscape as an
> EXCELLENT candidate.
>
> I would like to make an extension for QGIS and/or Inkscape that
would
> enable us to send data from QGIS directly to Inkscape. It would
also be
> nice to be able to have Inkscape leverage the QGIS API to import
> data/layers into a cartographic project.
>
> I am glad to get any feedback regarding users' experiences
sharing data
> between these two programs. I would also like to know what some
of the
> components are that I can leverage to create a bridging
> extension/improved cartographic interface for QGIS.
>
> Thank you for your time and consideration,
> Brylie Oxley

There is heavy work going on with GDAL PDF driver
http://gdal.org/frmt_pdf.html
Mapserver can already make georeferenced PDF files like this with
the trunk
version of GDAL http://latuviitta.org/documents/Lahti_geospat.pdf
Reading the geospatial info of that certain PDF needs TerraGo
Toolbar which is
an add-on to Adobe Acrobat reader. Here is another PDF output example
http://latuviitta.org/documents/raitiovaunulinjat.pdf
It is made with OpenJUMP derivative SkyJUMP and it demostrates
using vector
layers on to of a raster layer (tram lines in this case). User can
toggle the
layer visibility at least with Adobe Acrobat Reader. I am not sure
if GDAL can
do such layered output yet. However, I have a feeling that GDAL
may soon be able
to support direct conversion of raster files with OGR vector file
overlays into
layered and georeferenced PDF files. See recent PDF commits by
Evan Rouault at
http://trac.osgeo.org/gdal/timeline

Perhaps that work will help you with the QGIS to Inkcape work
flow. At least it
might be good to study what could be done by feeding GDAL from
QGIS before
dublicating those functionalities into QGIS.


-Jukka Rahkonen-

___
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] Re: QGIS + Inkscape

2012-03-19 Thread G. Allegri
I agree with Jukka.
Working to a lower level of binding (through GDAL/OGR) would let other foss
software leavarage the improvements.
I don't know Inkscape very much, but I've tried to import the latter
example from Jukka (the multilayer PDF) and it keeps the layers correctly.
Working on the GDAL level is probably harder then doing the work on the
Python level directly between Qgis and Inkscape, but I feel it would be far
most used and useful to improve the GDAL PDF support...

giovanni

2012/3/19 Jukka Rahkonen 

> Brylie Oxley  writes:
>
> >
> > Hello,
> > My name is Brylie Oxley. I am a student at Sierra College in Nevada
> > City, CA. I would like to apply for the GSoC program.
> >
> > I have been studying GIS at Sierra College, where the courses focus on
> > proprietary tools. For libre GIS tools to be viable options, we need
> > high quality cartographic tools. This is where I see Inkscape as an
> > EXCELLENT candidate.
> >
> > I would like to make an extension for QGIS and/or Inkscape that would
> > enable us to send data from QGIS directly to Inkscape. It would also be
> > nice to be able to have Inkscape leverage the QGIS API to import
> > data/layers into a cartographic project.
> >
> > I am glad to get any feedback regarding users' experiences sharing data
> > between these two programs. I would also like to know what some of the
> > components are that I can leverage to create a bridging
> > extension/improved cartographic interface for QGIS.
> >
> > Thank you for your time and consideration,
> > Brylie Oxley
>
> There is heavy work going on with GDAL PDF driver
> http://gdal.org/frmt_pdf.html
> Mapserver can already make georeferenced PDF files like this with the trunk
> version of GDAL http://latuviitta.org/documents/Lahti_geospat.pdf
> Reading the geospatial info of that certain PDF needs TerraGo Toolbar
> which is
> an add-on to Adobe Acrobat reader. Here is another PDF output example
> http://latuviitta.org/documents/raitiovaunulinjat.pdf
> It is made with OpenJUMP derivative SkyJUMP and it demostrates using vector
> layers on to of a raster layer (tram lines in this case). User can toggle
> the
> layer visibility at least with Adobe Acrobat Reader. I am not sure if GDAL
> can
> do such layered output yet. However, I have a feeling that GDAL may soon
> be able
> to support direct conversion of raster files with OGR vector file overlays
> into
> layered and georeferenced PDF files. See recent PDF commits by Evan
> Rouault at
> http://trac.osgeo.org/gdal/timeline
>
> Perhaps that work will help you with the QGIS to Inkcape work flow. At
> least it
> might be good to study what could be done by feeding GDAL from QGIS before
> dublicating those functionalities into QGIS.
>
>
> -Jukka Rahkonen-
>
> ___
> 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 + Inkscape

2012-03-19 Thread Jukka Rahkonen
Brylie Oxley  writes:

> 
> Hello,
> My name is Brylie Oxley. I am a student at Sierra College in Nevada 
> City, CA. I would like to apply for the GSoC program.
> 
> I have been studying GIS at Sierra College, where the courses focus on 
> proprietary tools. For libre GIS tools to be viable options, we need 
> high quality cartographic tools. This is where I see Inkscape as an 
> EXCELLENT candidate.
> 
> I would like to make an extension for QGIS and/or Inkscape that would 
> enable us to send data from QGIS directly to Inkscape. It would also be 
> nice to be able to have Inkscape leverage the QGIS API to import 
> data/layers into a cartographic project.
> 
> I am glad to get any feedback regarding users' experiences sharing data 
> between these two programs. I would also like to know what some of the 
> components are that I can leverage to create a bridging 
> extension/improved cartographic interface for QGIS.
> 
> Thank you for your time and consideration,
> Brylie Oxley

There is heavy work going on with GDAL PDF driver http://gdal.org/frmt_pdf.html
Mapserver can already make georeferenced PDF files like this with the trunk
version of GDAL http://latuviitta.org/documents/Lahti_geospat.pdf
Reading the geospatial info of that certain PDF needs TerraGo Toolbar which is
an add-on to Adobe Acrobat reader. Here is another PDF output example
http://latuviitta.org/documents/raitiovaunulinjat.pdf
It is made with OpenJUMP derivative SkyJUMP and it demostrates using vector
layers on to of a raster layer (tram lines in this case). User can toggle the
layer visibility at least with Adobe Acrobat Reader. I am not sure if GDAL can
do such layered output yet. However, I have a feeling that GDAL may soon be able
to support direct conversion of raster files with OGR vector file overlays into
layered and georeferenced PDF files. See recent PDF commits by Evan Rouault at
http://trac.osgeo.org/gdal/timeline

Perhaps that work will help you with the QGIS to Inkcape work flow. At least it
might be good to study what could be done by feeding GDAL from QGIS before
dublicating those functionalities into QGIS.


-Jukka Rahkonen-

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