[Qgis-user] warper for vector layers?

2011-10-25 Thread Agustin Lobo
Hi!

We have a vector layer that has been digitized over a raster with
wrong settings (wrong pixel resolution).
Is there any way to correct the geometry of the vector layer by
defining control points with the new coordinates and apply
a warping in qgis?

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


[Qgis-user] Modifying raster information?

2011-10-25 Thread Agustin Lobo
Hi!

We have a raster layer with wrong settings (in particular, wrong pixel
size). Is it possible
to edit these values? We have changed the resolution in R and it would
be possible
with grass also, but could this be done in qgis directly?

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


[Qgis-user] Avoiding Label Clustering and custom placement

2011-10-25 Thread Alister Hood
Hi,

> Date: Tue, 25 Oct 2011 00:13:25 +0100
> From: Gerhardus Geldenhuis 
> Subject: [Qgis-user] Avoiding Label Clustering and custom placement
> To: qgis-user@lists.osgeo.org
> Message-ID:
>

> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi
> I wanted to initially ask how do I avoid labels being on top of one
another
> if data points are very close to one another. I then had a look at
>
http://www.youtube.com/watch?v=sXK_0eEH3hc&feature=BFa&list=HL1319492137
&lf=mh_
> lolzwhich
> does to an extent have the answer I was looking for. It appears that
> there is not automatic way and that I have to manually do label
placement.

If you use the "new" labelling engine (the buttons on the toolbar) the
labels should automatically be positioned so that they do not overlap.
You should not need to use data-defined label placement to achieve this.
Perhaps you were previously using the "old" labelling engine which is
available as a tab in the layer properties?  The old labelling engine
does not avoid label collisions.

> However here is my problem, I have imported a set of points from a CSV
file
> using the "Add Delimited Text" layer plugin. Firstly I could not add
any
> custom columns that I could use to set my label x and y co-ordinates
again.
> So then I realized/thought that QGIS would probably not be writing
back to
> my CSV file, so it wont add additional columns. I then added my own
columns
> and set the values to 0 but when I set that my data defined positions
it
> does not work, my labels disappear. I have initialized the values to
be zero
> so perhaps that is the mistake... or perhaps qgis still can't or wont
write
> back to the CSV file.

QGIS opens CSV files read-only (well, there is a way to open them so
that you can add new entries, but not edit existing ones).

> So a number of questions:
> Is the CSV file only imported once or is it dynamic so will it thus
grow,
> shrink everytime there is a change to the file and I reload my
project?
> How can I add custom writeable attributes to a CSV imported layer, if
at
> all? Or do I need to "import" the CSV file and convert it to an QGIS
type
> format?
> Am I approaching this the correct way or is there an easier way to
customize
> my label setting so that I don't have labels overprinting.
> 
> Regards
> 
> --
> Gerhardus Geldenhuis

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


Re: [Qgis-user] warper for vector layers?

2011-10-25 Thread G. Allegri
I don't think Qgis has vector warping tools. The Georeferencer plugin
manages only raster data, and for its polynomial transformations based on
GCPs use GDAL directly, which itself implements warping for rasters only.

I think that writing a warping plugin for vectors woudn't be too hard, but
it's not what you were looking for ;)

giovanni

2011/10/25 Agustin Lobo 

> Hi!
>
> We have a vector layer that has been digitized over a raster with
> wrong settings (wrong pixel resolution).
> Is there any way to correct the geometry of the vector layer by
> defining control points with the new coordinates and apply
> a warping in qgis?
>
> 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] What is GrASS really?

2011-10-25 Thread Paolo Cavallini
Il 30/09/2011 14:49, adams ha scritto:

> Therefore I think the print-composer of QGIS is very helpful, there was
> also a talk at FOSS4G recently, dealing with making maps with QGIS and
> Inkscape:
> 
> http://2011.foss4g.org/sessions/quantum-gis-inkscape-cartographic-tools-attractive-maps
> 
> I think very soon you might get the presentations lsides and also a
> video of the presentation itself.

Still no slides available, AFAICT.
Anyone knows when they will be available?
Thanks.

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


Re: [Qgis-user] warper for vector layers?

2011-10-25 Thread Germán Carrillo
Hi Agustin,

if I understood well, you would need the Affine transformation plugin,
anyway, the current implementation ask you to include the transformation
parameters, so you need to do some calculations on your own before.

Regards,

Germán

2011/10/25 G. Allegri 

> I don't think Qgis has vector warping tools. The Georeferencer plugin
> manages only raster data, and for its polynomial transformations based on
> GCPs use GDAL directly, which itself implements warping for rasters only.
>
> I think that writing a warping plugin for vectors woudn't be too hard, but
> it's not what you were looking for ;)
>
> giovanni
>
>
> 2011/10/25 Agustin Lobo 
>
>> Hi!
>>
>> We have a vector layer that has been digitized over a raster with
>> wrong settings (wrong pixel resolution).
>> Is there any way to correct the geometry of the vector layer by
>> defining control points with the new coordinates and apply
>> a warping in qgis?
>>
>> 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
>
>


-- 
---
  |\__
(:>__)(
  |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] What is GrASS really?

2011-10-25 Thread Alex Mandel
On 10/25/2011 12:55 AM, Paolo Cavallini wrote:
> Il 30/09/2011 14:49, adams ha scritto:
> 
>> Therefore I think the print-composer of QGIS is very helpful, there was
>> also a talk at FOSS4G recently, dealing with making maps with QGIS and
>> Inkscape:
>>
>> http://2011.foss4g.org/sessions/quantum-gis-inkscape-cartographic-tools-attractive-maps
>>
>> I think very soon you might get the presentations lsides and also a
>> video of the presentation itself.
> 
> Still no slides available, AFAICT.
> Anyone knows when they will be available?
> Thanks.
> 

No, but it seems there is a need to follow up with the organizing
committee. I'll mention it to some people on the conference committee
and see what they say.

In the mean time that particular presentation is available elsewhere:
https://sites.google.com/site/mtobiasresearch/presentations

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


Re: [Qgis-user] changing the default behavior for "coordinate reference system of new layers" in QGIS general options?

2011-10-25 Thread Marco Hugentobler
Hi Giovanni and all

True, prompt seems to be a better default. It is changed now in master 
fecb0de028a83bcd6768cbb5663f2439bd2f920f

I'm also doing a backport to 1.7.1 if there are no urgent objections.

Regards,
Marco

Am Mittwoch, 19. Oktober 2011, 15.32:57 schrieb Giovanni Manghi:
> Hi all,
> 
> I would like to know your opinion about the above question.
> 
> My point of view, after giving many training courses, is that the
> default option should be changed to "prompt for CRS", eventually
> adding a checkbox in the dialog windows that pops up, to avoid being
> asked over and over for the reminder of the session.
> 
> 
> Why?
> 
> a few reasons:
> 
> *) common/new qgis users tend to not go and configure "options -> CRS
> -> coordinate reference system of new layers" to match their needs
> 
> *) common/new gis users do have and hard time understand how/when a
> layer do not have a explicit CRS, examples: a TIFF with worldfile or a
> Shapefile with no .prj file
> 
> *) a few tools, both core and 3rd party plugins, do produce output
> layers (in memory layers or file based layers) that are usually added
> to the canvas and given (in their properties) the CRS defined in "use
> default CRS displayed below" (of the "options -> CRS -> coordinate
> reference system of new layers" option). If the user do not change
> this option, it is by default WGS84 and in many cases is obviously
> wrong, leading to a number of problems (reprojections in the wrong
> place, layers saved with the wrong CRS, etc.). Exemples: the "cad
> tools" plugin and the "raster terrain analysis" plugin.
> 
> Please leave your feedback
> 
> 
> cheers
> 
> -- Giovanni --
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] warper for vector layers?

2011-10-25 Thread Agustin Lobo
Does the current raster georeferencer output the parameters used for
the warping? A fast solution would getting
trying on a raster layer first and then using the affine
transformation plugin with the same parameters.

Agus


El día 25 de octubre de 2011 10:06, Germán Carrillo
 escribió:
> Hi Agustin,
>
> if I understood well, you would need the Affine transformation plugin,
> anyway, the current implementation ask you to include the transformation
> parameters, so you need to do some calculations on your own before.
>
> Regards,
>
> Germán
>
> 2011/10/25 G. Allegri 
>>
>> I don't think Qgis has vector warping tools. The Georeferencer plugin
>> manages only raster data, and for its polynomial transformations based on
>> GCPs use GDAL directly, which itself implements warping for rasters only.
>> I think that writing a warping plugin for vectors woudn't be too hard, but
>> it's not what you were looking for ;)
>> giovanni
>>
>> 2011/10/25 Agustin Lobo 
>>>
>>> Hi!
>>>
>>> We have a vector layer that has been digitized over a raster with
>>> wrong settings (wrong pixel resolution).
>>> Is there any way to correct the geometry of the vector layer by
>>> defining control points with the new coordinates and apply
>>> a warping in qgis?
>>>
>>> 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
>>
>
>
>
> --
> ---
>   |\__
> (:>__)(
>   |/
>
> Soluciones Geoinformáticas Libres
> http://geotux.tuxfamily.org/
>
> ___
> 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] What is GrASS really?

2011-10-25 Thread G. Allegri
Thanks Alex. I tweeted it ;)

giovanni

2011/10/25 Alex Mandel 

> On 10/25/2011 12:55 AM, Paolo Cavallini wrote:
> > Il 30/09/2011 14:49, adams ha scritto:
> >
> >> Therefore I think the print-composer of QGIS is very helpful, there was
> >> also a talk at FOSS4G recently, dealing with making maps with QGIS and
> >> Inkscape:
> >>
> >>
> http://2011.foss4g.org/sessions/quantum-gis-inkscape-cartographic-tools-attractive-maps
> >>
> >> I think very soon you might get the presentations lsides and also a
> >> video of the presentation itself.
> >
> > Still no slides available, AFAICT.
> > Anyone knows when they will be available?
> > Thanks.
> >
>
> No, but it seems there is a need to follow up with the organizing
> committee. I'll mention it to some people on the conference committee
> and see what they say.
>
> In the mean time that particular presentation is available elsewhere:
> https://sites.google.com/site/mtobiasresearch/presentations
>
> Thanks,
> Alex
> ___
> 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] Double line Feature

2011-10-25 Thread Matej Mailing
Hi all,

It would be very useful to have a feature to draw a Double line in QGIS. Is
this currently possible?

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


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Noli Sicad
Probably, you can view this custom railway-style (below) and modify to
draw double line instead, if applicable.

http://linfiniti.com/2010/12/video-tutorial-1-creating-a-custom-railway-style/

Noli

On 10/25/11, Matej Mailing  wrote:
> Hi all,
>
> It would be very useful to have a feature to draw a Double line in QGIS. Is
> this currently possible?
>
> Thanks.
> Matej
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Nathan Woodrow
You could just draw the line and then use the CADTools parallel tool to
create the second one.

I think the use case for drawing a double line would be limited.

- Nathan

On Tue, Oct 25, 2011 at 8:01 PM, Matej Mailing  wrote:

> Hi all,
>
> It would be very useful to have a feature to draw a Double line in QGIS. Is
> this currently possible?
>
> Thanks.
> Matej
>
> ___
> 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] Double line Feature

2011-10-25 Thread Giovanni Manghi
In the cadtools toolbox you have a tool do draw parallel lines.

cheers

-- Giovanni --

On Tue, 2011-10-25 at 12:01 +0200, Matej Mailing wrote:
> Hi all,
> 
> It would be very useful to have a feature to draw a Double line in
> QGIS. Is this currently possible?
> 
> Thanks.
> Matej
> ___
> 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] Georeferncing Plugin issues (minus sign added to srcY and GCPs not removed)

2011-10-25 Thread G. Allegri
I'm doing some tests on the Georeferncing Plugin, and I wonder if the
following points are expected, my errors, or bugs

1) I'm testing it using a src raster in EPSG:3003 (projected CRS) and dst
raster in EPSG:23032 (projected CRS). When I insert a GCP, the srcY is saved
as a negative coordinate, i.e. the right value but with negative sign. This,
obviously, affects the georeferencing results.

2) When exiting the Plugin, it doesn't really get destroied but simply
hidden (opening it again doesn't creates a new instance, the plugin is shown
as we leave it), so that the GCPs on the main canvas are never
removed/hidden. If we want to keep the Plugin instance between hide/show
switches, I suppose that the canvas items should be managed the same way.

If someone can confirm these points, and they're bugs, I will open a ticket.
giovanni
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Georeferncing Plugin issues (minus sign added to srcY and GCPs not removed)

2011-10-25 Thread Giovanni Manghi

> 
> 
> 2) When exiting the Plugin, it doesn't really get destroied but simply
> hidden (opening it again doesn't creates a new instance, the plugin is
> shown as we leave it), so that the GCPs on the main canvas are never
> removed/hidden. 

there is already a ticket open about this issue

-- Giovanni --


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


Re: [Qgis-user] Georeferncing Plugin issues (minus sign added to srcY and GCPs not removed)

2011-10-25 Thread G. Allegri
I couldn't find it Giovanni. Could you point me to it?

thx,
giovanni

2011/10/25 Giovanni Manghi 

>
> >
> >
> > 2) When exiting the Plugin, it doesn't really get destroied but simply
> > hidden (opening it again doesn't creates a new instance, the plugin is
> > shown as we leave it), so that the GCPs on the main canvas are never
> > removed/hidden.
>
> there is already a ticket open about this issue
>
> -- Giovanni --
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Matej Mailing
Thanks for the information! We have looked at the CADTools and the option
for drawing parallel, but just to "assign" parallel lines to existing line
objects. What we are basically looking for is tool to draw double lines in a
separate layer, but in a way of snapping some existing line in the centre of
double line.

Thanks,
Matej

2011/10/25 Giovanni Manghi 

> In the cadtools toolbox you have a tool do draw parallel lines.
>
> cheers
>
> -- Giovanni --
>
> On Tue, 2011-10-25 at 12:01 +0200, Matej Mailing wrote:
> > Hi all,
> >
> > It would be very useful to have a feature to draw a Double line in
> > QGIS. Is this currently possible?
> >
> > Thanks.
> > Matej
> > ___
> > 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] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Koos Hagg
Hi Everyone,

Is there a way to force the Delimited text plugin to read/process UTF8
encoded .csv's?

I am working with Vietnamese characters, which display fine encoded UTF8.
Working from an access database, I export my queries/tables/whatever and
save them as a csv, in UTF8 with OpenOffice. That works fine. If I then open
my csv with notepad++ or similar, the characters are preserved- great! But
when I bring the file in with the Delimited text plugin, the characters are
messed up. Why is this? how can I fix it?

Alternatively:
I can save the tables I want as dbf, which actually load nicely into QGIS as
a table, no problems with characters. My tables have Lat & Long columns.

How can I tell QGIS to draw points/create a spatial layer based on those 2
columns? Is there a plugin for that that I have missed?

Right now my work-around is to load both a csv and a dbf, and then join the
dbf to the csv points layer, and save as shapefile, deleting the fields that
are no good. It works but it is a little cumbersome.

Thanks!
Koos Hagg

Oh, using QGIS 1.8+ on Windows 7 (64 bit)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Giovanni Manghi
>  What we are basically looking for is tool to draw double lines in a
> separate layer, but in a way of snapping some existing line in the
> centre of double line.

seems a nice idea for a plugin, feel free to evaluate the possibility to
have it developed.

cheers

-- giovanni --

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


Re: [Qgis-user] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Agustin Lobo
I think you must read it "wrong" and then use Save As to change the
encoding, but
I've not done that recently.
Agus

2011/10/25 Koos Hagg :
> Hi Everyone,
>
> Is there a way to force the Delimited text plugin to read/process UTF8
> encoded .csv's?
>
> I am working with Vietnamese characters, which display fine encoded UTF8.
> Working from an access database, I export my queries/tables/whatever and
> save them as a csv, in UTF8 with OpenOffice. That works fine. If I then open
> my csv with notepad++ or similar, the characters are preserved- great! But
> when I bring the file in with the Delimited text plugin, the characters are
> messed up. Why is this? how can I fix it?
>
> Alternatively:
> I can save the tables I want as dbf, which actually load nicely into QGIS as
> a table, no problems with characters. My tables have Lat & Long columns.
>
> How can I tell QGIS to draw points/create a spatial layer based on those 2
> columns? Is there a plugin for that that I have missed?
>
> Right now my work-around is to load both a csv and a dbf, and then join the
> dbf to the csv points layer, and save as shapefile, deleting the fields that
> are no good. It works but it is a little cumbersome.
>
> Thanks!
> Koos Hagg
>
> Oh, using QGIS 1.8+ on Windows 7 (64 bit)
>
> ___
> 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] Georeferncing Plugin issues (minus sign added to srcY and GCPs not removed)

2011-10-25 Thread G. Allegri
The srcY coordinate is set with a negative value inside:
https://github.com/qgis/Quantum-GIS/blob/master/src/plugins/georeferencer/qgsgcplistmodel.cpp#L128

I miss the logic of that...

giovanni


2011/10/25 G. Allegri 

> I couldn't find it Giovanni. Could you point me to it?
>
> thx,
> giovanni
>
>
> 2011/10/25 Giovanni Manghi 
>
>>
>> >
>> >
>> > 2) When exiting the Plugin, it doesn't really get destroied but simply
>> > hidden (opening it again doesn't creates a new instance, the plugin is
>> > shown as we leave it), so that the GCPs on the main canvas are never
>> > removed/hidden.
>>
>> there is already a ticket open about this issue
>>
>> -- Giovanni --
>>
>>
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Georeferncing Plugin issues (minus sign added to srcY and GCPs not removed)

2011-10-25 Thread Giovanni Manghi
On Tue, 2011-10-25 at 12:20 +0200, G. Allegri wrote:
> I couldn't find it Giovanni. Could you point me to it?
> 
http://hub.qgis.org/issues/4310


cheers!

-- Giovanni --


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


Re: [Qgis-user] Georeferncing Plugin issues (minus sign added to srcY and GCPs not removed)

2011-10-25 Thread G. Allegri
;)

2011/10/25 Giovanni Manghi 

> On Tue, 2011-10-25 at 12:20 +0200, G. Allegri wrote:
> > I couldn't find it Giovanni. Could you point me to it?
> >
> http://hub.qgis.org/issues/4310
>
>
> cheers!
>
> -- Giovanni --
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Andreas Neumann
If I understand you correctly, you just want to symbolize an existing 
LINESTRING feature with double lines. You don't want to add additional 
parallel features, correct?


If you look at the new symbology engine, you can stack multiple lines 
upon each other. F.e. you can create a thick black line and add a tinner 
white or yellow line on top of each other. This way you symbolize line 
features and they appear as a double line. You can also create two lines 
and offset them from the center.


For snapping, the center of the line will be used.

Is it this that you are looking for?

Andreas

On Tue, 25 Oct 2011 12:24:32 +0200, Matej Mailing wrote:

Thanks for the information! We have looked at the CADTools and the
option for drawing parallel, but just to "assign" parallel lines to
existing line objects. What we are basically looking for is tool to
draw double lines in a separate layer, but in a way of snapping some
existing line in the centre of double line.

Thanks,
Matej

2011/10/25 Giovanni Manghi


In the cadtools toolbox you have a tool do draw parallel lines.

cheers

-- Giovanni --

On Tue, 2011-10-25 at 12:01 +0200, Matej Mailing wrote:
> Hi all,
>
> It would be very useful to have a feature to draw a Double line
in
> QGIS. Is this currently possible?
>
> Thanks.
> Matej


___

> Qgis-user mailing list
> Qgis-user@lists.osgeo.org [1]
> http://lists.osgeo.org/mailman/listinfo/qgis-user [2]




Links:
--
[1] mailto:Qgis-user@lists.osgeo.org
[2] http://lists.osgeo.org/mailman/listinfo/qgis-user
[3] mailto:giovanni.man...@gmail.com


--
--
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] Double line Feature

2011-10-25 Thread Matej Mailing
Basically we need this to define some sort of "protected area" (for example,
30 cm in both sides from the cable) along some telecommunication network
cables (mainly optical) and therefore I don't think only the representation
would be sufficient. Probably some plugin that would create polygon with a
centralized line that we are "snapping to" and with defined area (width)
would be even better than just two lines, because this way we could define
some color of fill of that closed "part" around cable in our projects for
example. Hopefully I explained it enough clearly, if you need more
information, please let me know :-)

Thanks,
Matej

2011/10/25 Andreas Neumann 

> If I understand you correctly, you just want to symbolize an existing
> LINESTRING feature with double lines. You don't want to add additional
> parallel features, correct?
>
> If you look at the new symbology engine, you can stack multiple lines upon
> each other. F.e. you can create a thick black line and add a tinner white or
> yellow line on top of each other. This way you symbolize line features and
> they appear as a double line. You can also create two lines and offset them
> from the center.
>
> For snapping, the center of the line will be used.
>
> Is it this that you are looking for?
>
> Andreas
>
>
> On Tue, 25 Oct 2011 12:24:32 +0200, Matej Mailing wrote:
>
>> Thanks for the information! We have looked at the CADTools and the
>> option for drawing parallel, but just to "assign" parallel lines to
>> existing line objects. What we are basically looking for is tool to
>> draw double lines in a separate layer, but in a way of snapping some
>> existing line in the centre of double line.
>>
>> Thanks,
>> Matej
>>
>> 2011/10/25 Giovanni Manghi
>>
>>  In the cadtools toolbox you have a tool do draw parallel lines.
>>>
>>> cheers
>>>
>>> -- Giovanni --
>>>
>>> On Tue, 2011-10-25 at 12:01 +0200, Matej Mailing wrote:
>>> > Hi all,
>>> >
>>> > It would be very useful to have a feature to draw a Double line
>>> in
>>> > QGIS. Is this currently possible?
>>> >
>>> > Thanks.
>>> > Matej
>>>
>>>  __**_

>>> > Qgis-user mailing list
>>> > Qgis-user@lists.osgeo.org [1]
>>> > http://lists.osgeo.org/**mailman/listinfo/qgis-user[2]
>>>
>>
>>
>>
>> Links:
>> --
>> [1] mailto:Qgis-user@lists.osgeo.**org 
>> [2] 
>> http://lists.osgeo.org/**mailman/listinfo/qgis-user
>> [3] mailto:giovanni.manghi@gmail.**com 
>>
>
> --
> --
> 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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Richard Duivenvoorde
On 2011-10-25 13:52, Matej Mailing wrote:
> Basically we need this to define some sort of "protected area" (for
> example, 30 cm in both sides from the cable) along some
> telecommunication network cables (mainly optical) and therefore I don't
> think only the representation would be sufficient. Probably some plugin
> that would create polygon with a centralized line that we are "snapping
> to" and with defined area (width) would be even better than just two
> lines, because this way we could define some color of fill of that
> closed "part" around cable in our projects for example. Hopefully I
> explained it enough clearly, if you need more information, please let me
> know :-)

Ah, is that what you want :-)

That's called a 'Buffer' in gis terms:

- load your cable layer in qgis
- go to Vector menu and in Geoprocessing tools, choose Buffer
- there you can choose for example 20 meter, this will create a 20 meter
buffer == polygon around your lines
- by creating a second buffer of say 50 meter, and giving that another
color, I think you will have what you want

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Alexandre Neto
I also think that buffer is what you really need to use.

In order to snap to the original line just keep it in the project too.

On Tue, Oct 25, 2011 at 1:08 PM, Richard Duivenvoorde
wrote:

> On 2011-10-25 13:52, Matej Mailing wrote:
> > Basically we need this to define some sort of "protected area" (for
> > example, 30 cm in both sides from the cable) along some
> > telecommunication network cables (mainly optical) and therefore I don't
> > think only the representation would be sufficient. Probably some plugin
> > that would create polygon with a centralized line that we are "snapping
> > to" and with defined area (width) would be even better than just two
> > lines, because this way we could define some color of fill of that
> > closed "part" around cable in our projects for example. Hopefully I
> > explained it enough clearly, if you need more information, please let me
> > know :-)
>
> Ah, is that what you want :-)
>
> That's called a 'Buffer' in gis terms:
>
> - load your cable layer in qgis
> - go to Vector menu and in Geoprocessing tools, choose Buffer
> - there you can choose for example 20 meter, this will create a 20 meter
> buffer == polygon around your lines
> - by creating a second buffer of say 50 meter, and giving that another
> color, I think you will have what you want
>
> Regards,
>
> Richard Duivenvoorde
>
> ___
> 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] Double line Feature

2011-10-25 Thread Albin Blaschka



Am 25.10.2011 13:52, schrieb Matej Mailing:

Basically we need this to define some sort of "protected area" (for
example, 30 cm in both sides from the cable) along some
telecommunication network cables (mainly optical) and therefore I don't
think only the representation would be sufficient. Probably some plugin
that would create polygon with a centralized line that we are "snapping
to" and with defined area (width) would be even better than just two
lines, because this way we could define some color of fill of that
closed "part" around cable in our projects for example. Hopefully I
explained it enough clearly, if you need more information, please let me
know :-)


Hello!

That sounds like you need a buffer :-)
In QGIS, you find this functionality under Vector (fTools plugin) -> 
Geoprocessing (or similar, I have just the german version at hand at the 
moment...)


Albin


--
| Albin Blaschka, Mag.rer.nat.
| Etrichstrasse 26, A-5020 Salzburg
| * www.albinblaschka.info * www.thinkanimal.info *
| - It's hard to live in the mountains, hard but not hopeless!
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Koos Hagg
Thanks for the idea. I thought of that but unfortunately it's not working

when I load the csv (ignoring the incorrect characters) and go to save as a
new csv in utf8, a dialog pops up saying:

> Save Error
> Export to vector file failed.
> Error: creation of data source failed (OGR error:)
>

i get this error in 1.7.1-2and the latest dev version
So that's no go. tried doing the same thing 'save as' but then a shapefile,
but that still has incorrect characters.

I did see the XY tools plugin by Richard Duivenvoorde, but I think it's the
wrong way around for this case, seems to me that it is designed for
digitizing from the canvas, to fill x,y columns, instead of take xy columns
and plot them...


Koos


On Tue, Oct 25, 2011 at 5:51 PM, Agustin Lobo  wrote:

> I think you must read it "wrong" and then use Save As to change the
> encoding, but
> I've not done that recently.
> Agus
>
> 2011/10/25 Koos Hagg :
> > Hi Everyone,
> >
> > Is there a way to force the Delimited text plugin to read/process UTF8
> > encoded .csv's?
> >
> > I am working with Vietnamese characters, which display fine encoded UTF8.
> > Working from an access database, I export my queries/tables/whatever and
> > save them as a csv, in UTF8 with OpenOffice. That works fine. If I then
> open
> > my csv with notepad++ or similar, the characters are preserved- great!
> But
> > when I bring the file in with the Delimited text plugin, the characters
> are
> > messed up. Why is this? how can I fix it?
> >
> > Alternatively:
> > I can save the tables I want as dbf, which actually load nicely into QGIS
> as
> > a table, no problems with characters. My tables have Lat & Long columns.
> >
> > How can I tell QGIS to draw points/create a spatial layer based on those
> 2
> > columns? Is there a plugin for that that I have missed?
> >
> > Right now my work-around is to load both a csv and a dbf, and then join
> the
> > dbf to the csv points layer, and save as shapefile, deleting the fields
> that
> > are no good. It works but it is a little cumbersome.
> >
> > Thanks!
> > Koos Hagg
> >
> > Oh, using QGIS 1.8+ on Windows 7 (64 bit)
> >
> > ___
> > 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] urls / links as attribute values

2011-10-25 Thread Richard Duivenvoorde
Hi List,

we have a webservice which returns a shapefile with attributes.

one of the attribute values is a full url to some real time generated
report for every feature in the shape (one report for every feature).

I found it not so easy to select/copy/paste the link and open it in a
browser (after loading the shape in qgis)... Not from the attribute
window, nor via the getinfo tool (these are long complex url's).

Ideally it would be nice to be able to just click on those url's and
then let them open the report in a browser.

Is this possible, or has anybody a clever idea how to to that?

We can offcourse alway build a plugin for that :-)

Regards,

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


Re: [Qgis-user] urls / links as attribute values

2011-10-25 Thread Nathan Woodrow
Sure.  You can use layer Actions for that.   Here[1] is a example of opening
a photo using a layer Action, I'm pretty sure the same process can be done
with urls.

[1] http://www.youtube.com/watch?v=qXbtat3AsBs

- Nathan

On Tue, Oct 25, 2011 at 10:21 PM, Richard Duivenvoorde
wrote:

> Hi List,
>
> we have a webservice which returns a shapefile with attributes.
>
> one of the attribute values is a full url to some real time generated
> report for every feature in the shape (one report for every feature).
>
> I found it not so easy to select/copy/paste the link and open it in a
> browser (after loading the shape in qgis)... Not from the attribute
> window, nor via the getinfo tool (these are long complex url's).
>
> Ideally it would be nice to be able to just click on those url's and
> then let them open the report in a browser.
>
> Is this possible, or has anybody a clever idea how to to that?
>
> We can offcourse alway build a plugin for that :-)
>
> Regards,
>
> Richard Duivenvoorde
> ___
> 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] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Richard Duivenvoorde
On 2011-10-25 14:19, Koos Hagg wrote:
> I did see the XY tools plugin by Richard Duivenvoorde, but I think it's
> the wrong way around for this case, seems to me that it is designed for
> digitizing from the canvas, to fill x,y columns, instead of take xy
> columns and plot them...

Hi Koos,

if you have a dbf with the values in all columns, you could use the
XYtools plugin ... I think.
The XYtools actually has two functions: one is indeed to fill an X and Y
column of a csv or dbf file by clicking in a map.
But it also has an option to save that dbf file then as a shape file by
picking two columns as x and y column.

So please have a go: open your dbf in qgis, and then via 'Plugins/XY
tools/Save table as Point shape file' try to save it.
Not sure if it is utf-8 ready to be honest...

If you want, please sent me off list the dbf, then I can use that as a
test also :-)

Regards,

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


Re: [Qgis-user] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Agustin Lobo
I think you might be doing it right the second time (when you save as
shape in utf8 encoding), but perhaps you are still reading it
as non-UTF8 coding, hence you would see it wrong. When you open the
new shape file, do you select UTF8 as encoding?
Agus

2011/10/25 Koos Hagg :
> Thanks for the idea. I thought of that but unfortunately it's not working
>
> when I load the csv (ignoring the incorrect characters) and go to save as a
> new csv in utf8, a dialog pops up saying:
>>
>> Save Error
>> Export to vector file failed.
>> Error: creation of data source failed (OGR error:)
>
>
> i get this error in 1.7.1-2and the latest dev version
> So that's no go. tried doing the same thing 'save as' but then a shapefile,
> but that still has incorrect characters.
>
> I did see the XY tools plugin by Richard Duivenvoorde, but I think it's the
> wrong way around for this case, seems to me that it is designed for
> digitizing from the canvas, to fill x,y columns, instead of take xy columns
> and plot them...
>
>
> Koos
>
> On Tue, Oct 25, 2011 at 5:51 PM, Agustin Lobo  wrote:
>>
>> I think you must read it "wrong" and then use Save As to change the
>> encoding, but
>> I've not done that recently.
>> Agus
>>
>> 2011/10/25 Koos Hagg :
>> > Hi Everyone,
>> >
>> > Is there a way to force the Delimited text plugin to read/process UTF8
>> > encoded .csv's?
>> >
>> > I am working with Vietnamese characters, which display fine encoded
>> > UTF8.
>> > Working from an access database, I export my queries/tables/whatever and
>> > save them as a csv, in UTF8 with OpenOffice. That works fine. If I then
>> > open
>> > my csv with notepad++ or similar, the characters are preserved- great!
>> > But
>> > when I bring the file in with the Delimited text plugin, the characters
>> > are
>> > messed up. Why is this? how can I fix it?
>> >
>> > Alternatively:
>> > I can save the tables I want as dbf, which actually load nicely into
>> > QGIS as
>> > a table, no problems with characters. My tables have Lat & Long columns.
>> >
>> > How can I tell QGIS to draw points/create a spatial layer based on those
>> > 2
>> > columns? Is there a plugin for that that I have missed?
>> >
>> > Right now my work-around is to load both a csv and a dbf, and then join
>> > the
>> > dbf to the csv points layer, and save as shapefile, deleting the fields
>> > that
>> > are no good. It works but it is a little cumbersome.
>> >
>> > Thanks!
>> > Koos Hagg
>> >
>> > Oh, using QGIS 1.8+ on Windows 7 (64 bit)
>> >
>> > ___
>> > 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] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Koos Hagg
Hi Richard,
Your plugin will be great! I tried it but did not get the right result, all
of the points get loaded in to a shapefile (the table is intact), but it
they are all placed at one or two x,y points...
I attached a dbf, you can give it a try. These are the center points of
communes in a particular province in Vn.

Agustin, thanks for your reply- yes, I always hav my layer import encoding
set for UTF-8. I have had day where I forgot it though and was scratching my
head until I figured it out!

Koos


On Tue, Oct 25, 2011 at 7:29 PM, Richard Duivenvoorde
wrote:

> On 2011-10-25 14:19, Koos Hagg wrote:
> > I did see the XY tools plugin by Richard Duivenvoorde, but I think it's
> > the wrong way around for this case, seems to me that it is designed for
> > digitizing from the canvas, to fill x,y columns, instead of take xy
> > columns and plot them...
>
> Hi Koos,
>
> if you have a dbf with the values in all columns, you could use the
> XYtools plugin ... I think.
> The XYtools actually has two functions: one is indeed to fill an X and Y
> column of a csv or dbf file by clicking in a map.
> But it also has an option to save that dbf file then as a shape file by
> picking two columns as x and y column.
>
> So please have a go: open your dbf in qgis, and then via 'Plugins/XY
> tools/Save table as Point shape file' try to save it.
> Not sure if it is utf-8 ready to be honest...
>
> If you want, please sent me off list the dbf, then I can use that as a
> test also :-)
>
> Regards,
>
> Richard Duivenvoorde
>


VNcharacterTest1.dbf
Description: Binary data
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] urls / links as attribute values

2011-10-25 Thread Andreas Neumann
yes - as Nathan pointed it out, you can do this with an Action. You can 
either hardwire a specific browser or write a small shell/batch script 
to open the URL.


It would be nice, however, to have a new data type in the fields 
parameters named "URL/URI" which would automatically open the browser, 
either inline (through webkit) or by opening the systems default 
webbrowser.


Andreas

On Tue, 25 Oct 2011 14:21:00 +0200, Richard Duivenvoorde wrote:

Hi List,

we have a webservice which returns a shapefile with attributes.

one of the attribute values is a full url to some real time generated
report for every feature in the shape (one report for every feature).

I found it not so easy to select/copy/paste the link and open it in a
browser (after loading the shape in qgis)... Not from the attribute
window, nor via the getinfo tool (these are long complex url's).

Ideally it would be nice to be able to just click on those url's and
then let them open the report in a browser.

Is this possible, or has anybody a clever idea how to to that?

We can offcourse alway build a plugin for that :-)

Regards,

Richard Duivenvoorde
___
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


Re: [Qgis-user] Qgiswebclient: baselayer OSM ect.

2011-10-25 Thread Arif Arham
Andreas,
I've tried several times to add the script from OpenLayers tutorial, but it
didn't work :-(

By the way, I''m working on translation into Indonesian.

Good job Andreas!


-Arif
___
gis.biropembangunan.acehprov.go.id


On Mon, Oct 24, 2011 at 12:02 PM, Andreas Neumann wrote:

> This is not yet supported. You can always do it yourself. OpenLayers,
> the webmapping client used in QGIS web client supports it.
>
> Note that you restrict yourself to the one projection offered by
> OSM/Google Maps, though.
>
> I currently won't work on this, as I do not have interest in these data
> sources. Not sure if someone else works on it.
>
> Andreas
>
> On 10/24/2011 04:57 AM, Arif Arham wrote:
> > How to load one of the popular tile services (OSM,Google Maps) as a
> > background (baselayer) in QGIS Web Client, and load the QGIS WMS services
> on
> > top of it?
> >
> >
> > -Arif
> > ___
> > KhazanahArham.wordpress.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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Richard Duivenvoorde
On 2011-10-25 14:55, Koos Hagg wrote:
> Hi Richard,
> Your plugin will be great! I tried it but did not get the right result,
> all of the points get loaded in to a shapefile (the table is intact),
> but it they are all placed at one or two x,y points...

Me bad :-(

It's because I made the plugin for a case in our national reference
system which is in meters... so I cast every coordinate to an Integer...
which in this case put's all your points on either 105/21 or 104/21...

I will fix this this evening, and after an update of the plugin you will
have a good shape (I will sent you one off line also).

Regards,

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


Re: [Qgis-user] urls / links as attribute values

2011-10-25 Thread Giuseppe Sucameli
Hi all,

On Tue, Oct 25, 2011 at 3:05 PM, Andreas Neumann  wrote:
> It would be nice, however, to have a new data type in the fields parameters
> named "URL/URI" which would automatically open the browser, either inline
> (through webkit) or by opening the systems default webbrowser.

just set the action type to python and then use pyQT :)


The following python code should open the file pointed by %FIELD
with the default application (e.g. an image viewer):

from PyQt4.QtCore import QUrl; from PyQt4.QtGui import
QDesktopServices; QDesktopServices.openUrl( QUrl.fromLocalFile(%FIELD)
);


The next one will get an url instead, so if %FIELD contains
http://www.qgis.org it should open the web browser:

from PyQt4.QtCore import QUrl; from PyQt4.QtGui import
QDesktopServices; QDesktopServices.openUrl( QUrl(%FIELD) );


It's easy, isn't it? :)
Regards.

> Andreas
>
> On Tue, 25 Oct 2011 14:21:00 +0200, Richard Duivenvoorde wrote:
>>
>> Hi List,
>>
>> we have a webservice which returns a shapefile with attributes.
>>
>> one of the attribute values is a full url to some real time generated
>> report for every feature in the shape (one report for every feature).
>>
>> I found it not so easy to select/copy/paste the link and open it in a
>> browser (after loading the shape in qgis)... Not from the attribute
>> window, nor via the getinfo tool (these are long complex url's).
>>
>> Ideally it would be nice to be able to just click on those url's and
>> then let them open the report in a browser.
>>
>> Is this possible, or has anybody a clever idea how to to that?
>>
>> We can offcourse alway build a plugin for that :-)
>>
>> Regards,
>>
>> Richard Duivenvoorde
>> ___
>> 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
>



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


Re: [Qgis-user] urls / links as attribute values

2011-10-25 Thread Andreas Neumann
yes - and this should also work for all OS - not just, Windows, Linux 
or OSX.


Thanks,
Andreas

On Tue, 25 Oct 2011 15:44:54 +0200, Giuseppe Sucameli wrote:

Hi all,

On Tue, Oct 25, 2011 at 3:05 PM, Andreas Neumann 
 wrote:
It would be nice, however, to have a new data type in the fields 
parameters
named "URL/URI" which would automatically open the browser, either 
inline

(through webkit) or by opening the systems default webbrowser.


just set the action type to python and then use pyQT :)


The following python code should open the file pointed by %FIELD
with the default application (e.g. an image viewer):

from PyQt4.QtCore import QUrl; from PyQt4.QtGui import
QDesktopServices; QDesktopServices.openUrl( 
QUrl.fromLocalFile(%FIELD)

);


The next one will get an url instead, so if %FIELD contains
http://www.qgis.org it should open the web browser:

from PyQt4.QtCore import QUrl; from PyQt4.QtGui import
QDesktopServices; QDesktopServices.openUrl( QUrl(%FIELD) );


It's easy, isn't it? :)
Regards.


Andreas

On Tue, 25 Oct 2011 14:21:00 +0200, Richard Duivenvoorde wrote:


Hi List,

we have a webservice which returns a shapefile with attributes.

one of the attribute values is a full url to some real time 
generated
report for every feature in the shape (one report for every 
feature).


I found it not so easy to select/copy/paste the link and open it in 
a

browser (after loading the shape in qgis)... Not from the attribute
window, nor via the getinfo tool (these are long complex url's).

Ideally it would be nice to be able to just click on those url's 
and

then let them open the report in a browser.

Is this possible, or has anybody a clever idea how to to that?

We can offcourse alway build a plugin for that :-)

Regards,

Richard Duivenvoorde
___
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



--
--
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] urls / links as attribute values

2011-10-25 Thread Richard Duivenvoorde
Thanks all,

I was not very familiar with 'Actions', and it's really good working for
real data, and also for the WFS (which I actually have to use...)

I have to figure out what to do when I want to bring this data into a
WMS though  maybe instruct qgis to do featureinforequests with
format=text/plain and then fill a (attribute-like) table with it?

Anyway, thanks again,

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


Antw: Re: [Qgis-user] Questions on CSV plugin & UTF8, or dbf to spatial.

2011-10-25 Thread Asmus Harder
If you work from an MS-Access database, you can use the eVis-plugin to
draw the table as points. 
 
Have a look at
http://biodiversityinformatics.amnh.org/open_source/evis/documentation.php#d0e715

I don't know if this solve your problem with characters ...
But so you don't have to export your data to another file.
 
Regards,
Asmus Harder

2011/10/25 Koos Hagg :
> Hi Everyone,
>
> Is there a way to force the Delimited text plugin to read/process
UTF8
> encoded .csv's?
>
> I am working with Vietnamese characters, which display fine encoded
UTF8.
> Working from an access database, I export my queries/tables/whatever
and
> save them as a csv, in UTF8 with OpenOffice. That works fine. If I
then open
> my csv with notepad++ or similar, the characters are preserved-
great! But
> when I bring the file in with the Delimited text plugin, the
characters are
> messed up. Why is this? how can I fix it?
>
> Alternatively:
> I can save the tables I want as dbf, which actually load nicely into
QGIS as
> a table, no problems with characters. My tables have Lat & Long
columns.
>
> How can I tell QGIS to draw points/create a spatial layer based on
those 2
> columns? Is there a plugin for that that I have missed?
>
> Right now my work-around is to load both a csv and a dbf, and then
join the
> dbf to the csv points layer, and save as shapefile, deleting the
fields that
> are no good. It works but it is a little cumbersome.
>
> Thanks!
> Koos Hagg
>
> Oh, using QGIS 1.8+ on Windows 7 (64 bit)

LEHMANN +  PARTNER
DIE STRASSENGUTACHTER
LEHMANN + PARTNER GmbH, Schwerborner Straße 1, D-99086 Erfurt
Telefon: +49 (0) 361 51804 300   Fax: +49 (0) 361 51804 399
E-Mail: i...@lehmann-partner.de   Internet:
http://www.die-strassengutachter.de
Geschäftsführer: Dr. Dirk Ebersbach, Jens Morawietz
Amtsgericht: Jena HRB 100220  USt-IdNr.: DE 160 115 425
  
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Matej Mailing
This is almost it! :-)

Now we get a lot of polygons - is it possible to combine all the polygons
into one object (so that there are no "borders" inside it)?

Thanks,
Matej

2011/10/25 Albin Blaschka 

>
>
> Am 25.10.2011 13:52, schrieb Matej Mailing:
>
>  Basically we need this to define some sort of "protected area" (for
>> example, 30 cm in both sides from the cable) along some
>> telecommunication network cables (mainly optical) and therefore I don't
>> think only the representation would be sufficient. Probably some plugin
>> that would create polygon with a centralized line that we are "snapping
>> to" and with defined area (width) would be even better than just two
>> lines, because this way we could define some color of fill of that
>> closed "part" around cable in our projects for example. Hopefully I
>> explained it enough clearly, if you need more information, please let me
>> know :-)
>>
>
> Hello!
>
> That sounds like you need a buffer :-)
> In QGIS, you find this functionality under Vector (fTools plugin) ->
> Geoprocessing (or similar, I have just the german version at hand at the
> moment...)
>
> Albin
>
>
> --
> | Albin Blaschka, Mag.rer.nat.
> | Etrichstrasse 26, A-5020 Salzburg
> | * www.albinblaschka.info * www.thinkanimal.info *
> | - It's hard to live in the mountains, hard but not hopeless!
>
> __**_
> 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] Double line Feature

2011-10-25 Thread Giovanni Manghi
When doing the buffer check the "dissolve results" option.





On Tue, 2011-10-25 at 20:48 +0200, Matej Mailing wrote:
> This is almost it! :-)
> 
> Now we get a lot of polygons - is it possible to combine all the
> polygons into one object (so that there are no "borders" inside it)?
> 
> Thanks,
> Matej
> 
> 2011/10/25 Albin Blaschka 
> 
> 
> Am 25.10.2011 13:52, schrieb Matej Mailing:
> 
> Basically we need this to define some sort of
> "protected area" (for
> example, 30 cm in both sides from the cable) along
> some
> telecommunication network cables (mainly optical) and
> therefore I don't
> think only the representation would be sufficient.
> Probably some plugin
> that would create polygon with a centralized line that
> we are "snapping
> to" and with defined area (width) would be even better
> than just two
> lines, because this way we could define some color of
> fill of that
> closed "part" around cable in our projects for
> example. Hopefully I
> explained it enough clearly, if you need more
> information, please let me
> know :-)
> 
> 
> Hello!
> 
> That sounds like you need a buffer :-)
> In QGIS, you find this functionality under Vector (fTools
> plugin) -> Geoprocessing (or similar, I have just the german
> version at hand at the moment...)
> 
> Albin
> 
> 
> ___
> 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] Double line Feature

2011-10-25 Thread Lauri Kajan
On Tue, Oct 25, 2011 at 9:48 PM, Matej Mailing  wrote:
> This is almost it! :-)
>
> Now we get a lot of polygons - is it possible to combine all the polygons
> into one object (so that there are no "borders" inside it)?
>
> Thanks,
> Matej
>
> 2011/10/25 Albin Blaschka 
>>
>>
>> Am 25.10.2011 13:52, schrieb Matej Mailing:
>>>
>>> Basically we need this to define some sort of "protected area" (for
>>> example, 30 cm in both sides from the cable) along some
>>> telecommunication network cables (mainly optical) and therefore I don't
>>> think only the representation would be sufficient. Probably some plugin
>>> that would create polygon with a centralized line that we are "snapping
>>> to" and with defined area (width) would be even better than just two
>>> lines, because this way we could define some color of fill of that
>>> closed "part" around cable in our projects for example. Hopefully I
>>> explained it enough clearly, if you need more information, please let me
>>> know :-)
>>
>> Hello!
>>
>> That sounds like you need a buffer :-)
>> In QGIS, you find this functionality under Vector (fTools plugin) ->
>> Geoprocessing (or similar, I have just the german version at hand at the
>> moment...)
>>
>> Albin
>>
>>
>> --
>> | Albin Blaschka, Mag.rer.nat.
>> | Etrichstrasse 26, A-5020 Salzburg
>> | * www.albinblaschka.info * www.thinkanimal.info *
>> | - It's hard to live in the mountains, hard but not hopeless!
>> ___
>> 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
>
>

Hi Matej,

Sure it is possible.
You can use dissolve tool from Vector -> geoprosessing tools -> dissolve.
And in the dialog select dissolve all.

At least in the qgis 1.7.1 the dissolve tool is included in the buffer
tool. In the buffer dialog you can check a dissolve option to dissolve
all the buffers.

Hopefully this helps.

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


[Qgis-user] how to edit .gpx

2011-10-25 Thread M . E . Dodd
Can load a .gpx but can't seem to edit it, the editing button stays greyed out 
(qgis 1.7).  can save to .kml or shapefile and do edits but then loose some 
info from the original .gpx
looking at posts it seems that editing gpx has been in qgis for some time but i 
can't see how to do it.

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).

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


Re: [Qgis-user] problems with georeferencing results

2011-10-25 Thread G. Allegri
Thanks for the reply.
My raster infos are:

PROJCS["Monte Mario / Italy zone 1",
GEOGCS["Monte Mario",
DATUM["Monte_Mario",
SPHEROID["International 1924",6378388,297.00014,
AUTHORITY["EPSG","7022"]],
AUTHORITY["EPSG","6265"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4265"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",150],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","3003"]]
Origin = (1554747.23103449420,4924790.7699960)
Pixel Size = (100.000,-100.000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  ( 1554747.231, 4924790.770) (  9d41'17.95"E, 44d28'24.73"N)
Lower Left  ( 1554747.231, 4678290.770) (  9d39'49.22"E, 42d15'14.92"N)
Upper Right ( 1771747.231, 4924790.770) ( 12d24'49.32"E, 44d25'28.44"N)
Lower Right ( 1771747.231, 4678290.770) ( 12d17'30.22"E, 42d12'31.70"N)
Center  ( 1663247.231, 4801540.770) ( 11d 0'50.84"E, 43d20'53.55"N)
Band 1 Block=2170x1 Type=Float32, ColorInterp=Gray
  Min=-3.876 Max=2051.503
  Minimum=-3.876, Maximum=2051.503, Mean=152.789, StdDev=265.873
  NoData Value=0
  Metadata:
STATISTICS_MINIMUM=-3.8761155605316
STATISTICS_MAXIMUM=2051.5034179688
STATISTICS_MEAN=152.78946158147
STATISTICS_STDDEV=265.87340110007

As you can see the CRS is correctly defined, and the other metadata are
correct.
OTFR works fine, the raster is correctly reprojected on the 23032 reference.
No tfw or aux files in the same folder

It's making me crazy!
giovanni


2011/10/25 Richard Duivenvoorde 

> On 2011-10-25 19:04, G. Allegri wrote:
> > Here it is the GCP list picture: http://bit.ly/suh5UL
> > (I wonder why ths srcY coordinates are shown as negative values)
>
> What is projection of your raster, is it really epsg:3003 (to be tested
> with 'gdalinfo yourraster'.)
>
> Is there maybe a tfw file hanging around which determines another extent
> four your source raster? If seen this behaviour recently while using the
> plugin.
>
> Try to set your tiff aside from other files, create a fresh epsg:23032
> project with 'on the fly' and try again?
>
> Hope this helps.
>
> Regards,
>
> Richard Duivenvoorde
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] warper for vector layers?

2011-10-25 Thread Alex Mandel
The closest thing I've seen in qgsAffine plugin which should let you 
stretch and rotate your layer to match a better base layer, though it's 
by hand/vision.


Enjoy,
Alex

On 10/25/2011 12:48 AM, G. Allegri wrote:

I don't think Qgis has vector warping tools. The Georeferencer plugin
manages only raster data, and for its polynomial transformations based on
GCPs use GDAL directly, which itself implements warping for rasters only.

I think that writing a warping plugin for vectors woudn't be too hard, but
it's not what you were looking for ;)

giovanni

2011/10/25 Agustin Lobo


Hi!

We have a vector layer that has been digitized over a raster with
wrong settings (wrong pixel resolution).
Is there any way to correct the geometry of the vector layer by
defining control points with the new coordinates and apply
a warping in qgis?

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


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


Re: [Qgis-user] how to edit .gpx

2011-10-25 Thread Lauri Kajan
Hi,

This is a known limitation. You can delete and add objects but not
edit existing one.
See a bug report for more information: http://hub.qgis.org/issues/2219

-Lauri

On Tue, Oct 25, 2011 at 10:14 PM, M.E.Dodd  wrote:
> Can load a .gpx but can't seem to edit it, the editing button stays greyed 
> out (qgis 1.7).  can save to .kml or shapefile and do edits but then loose 
> some info from the original .gpx
> looking at posts it seems that editing gpx has been in qgis for some time but 
> i can't see how to do it.
>
> --
> The Open University is incorporated by Royal Charter (RC 000391), an exempt 
> charity in England & Wales and a charity registered in Scotland (SC 038302).
>
> ___
> 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] problems with georeferencing results

2011-10-25 Thread Barend Köbben
Hi Giovanni,

I don't understand: you want to change a projected raster (in CRS 3003) to
another projection (23023), so why do you need the georeferencing plugin?
The data is already referenced, so it sounds to me you just want to
re-project it, using the Raster > Warp menu.

Or am I missing something...?

Yours,

--
Barend Köbben (Senior Lecturer)
ITC - University of Twente, Faculty of Geo-Information
Science and Earth Observation
PO Box 217, 7500AE Enschede (The Netherlands)
+31-(0)53 4874 253



On 25-10-11 21:23, "G. Allegri"  wrote:

>Thanks for the reply.My raster infos are:
>
>PROJCS["Monte Mario / Italy zone 1",
>GEOGCS["Monte Mario",
>DATUM["Monte_Mario",
>SPHEROID["International 1924",6378388,297.00014,
>AUTHORITY["EPSG","7022"]],
>AUTHORITY["EPSG","6265"]],
>PRIMEM["Greenwich",0],
>UNIT["degree",0.0174532925199433],
>AUTHORITY["EPSG","4265"]],
>PROJECTION["Transverse_Mercator"],
>PARAMETER["latitude_of_origin",0],
>PARAMETER["central_meridian",9],
>PARAMETER["scale_factor",0.9996],
>PARAMETER["false_easting",150],
>PARAMETER["false_northing",0],
>UNIT["metre",1,
>AUTHORITY["EPSG","9001"]],
>AUTHORITY["EPSG","3003"]]
>Origin = (1554747.23103449420,4924790.7699960)
>Pixel Size = (100.000,-100.000)
>Metadata:
>  AREA_OR_POINT=Area
>Image Structure Metadata:
>  INTERLEAVE=BAND
>Corner Coordinates:
>Upper Left  ( 1554747.231, 4924790.770) (  9d41'17.95"E, 44d28'24.73"N)
>Lower Left  ( 1554747.231, 4678290.770) (  9d39'49.22"E, 42d15'14.92"N)
>Upper Right ( 1771747.231, 4924790.770) ( 12d24'49.32"E, 44d25'28.44"N)
>Lower Right ( 1771747.231, 4678290.770) ( 12d17'30.22"E, 42d12'31.70"N)
>Center  ( 1663247.231, 4801540.770) ( 11d 0'50.84"E, 43d20'53.55"N)
>Band 1 Block=2170x1 Type=Float32, ColorInterp=Gray
>  Min=-3.876 Max=2051.503
>  Minimum=-3.876, Maximum=2051.503, Mean=152.789, StdDev=265.873
>  NoData Value=0
>  Metadata:
>STATISTICS_MINIMUM=-3.8761155605316
>STATISTICS_MAXIMUM=2051.5034179688
>STATISTICS_MEAN=152.78946158147
>STATISTICS_STDDEV=265.87340110007
>
>
>As you can see the CRS is correctly defined, and the other metadata are
>correct.
>OTFR works fine, the raster is correctly reprojected on the 23032
>reference.
>No tfw or aux files in the same folder
>
>It's making me crazy!
>giovanni
>
>
>2011/10/25 Richard Duivenvoorde 
>
>On 2011-10-25 19:04, G. Allegri wrote:
>> Here it is the GCP list picture: http://bit.ly/suh5UL
>> (I wonder why ths srcY coordinates are shown as negative values)
>
>
>What is projection of your raster, is it really epsg:3003 (to be tested
>with 'gdalinfo yourraster'.)
>
>Is there maybe a tfw file hanging around which determines another extent
>four your source raster? If seen this behaviour recently while using the
>plugin.
>
>Try to set your tiff aside from other files, create a fresh epsg:23032
>project with 'on the fly' and try again?
>
>Hope this helps.
>
>Regards,
>
>Richard Duivenvoorde
>
>
>
>
>


Faculty of Geo-Information Science and Earth Observation (ITC)
University of Twente
Chamber of Commerce: 50130536

E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the 
addressee only. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution or action in relation to the content 
of this information is strictly prohibited. If you have received this e-mail by 
mistake, please delete the message and any attachment and inform the sender by 
return e-mail. ITC accepts no liability for any error or omission in the 
message content or for damage of any kind that may arise as a result of e-mail 
transmission.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Double line Feature

2011-10-25 Thread Matej Mailing
Thanks to all of you!

This is it - all current issues solved! :-)

QGIS rules.

With best regards,
Matej

2011/10/25 Lauri Kajan 

> On Tue, Oct 25, 2011 at 9:48 PM, Matej Mailing  wrote:
> > This is almost it! :-)
> >
> > Now we get a lot of polygons - is it possible to combine all the polygons
> > into one object (so that there are no "borders" inside it)?
> >
> > Thanks,
> > Matej
> >
> > 2011/10/25 Albin Blaschka 
> >>
> >>
> >> Am 25.10.2011 13:52, schrieb Matej Mailing:
> >>>
> >>> Basically we need this to define some sort of "protected area" (for
> >>> example, 30 cm in both sides from the cable) along some
> >>> telecommunication network cables (mainly optical) and therefore I don't
> >>> think only the representation would be sufficient. Probably some plugin
> >>> that would create polygon with a centralized line that we are "snapping
> >>> to" and with defined area (width) would be even better than just two
> >>> lines, because this way we could define some color of fill of that
> >>> closed "part" around cable in our projects for example. Hopefully I
> >>> explained it enough clearly, if you need more information, please let
> me
> >>> know :-)
> >>
> >> Hello!
> >>
> >> That sounds like you need a buffer :-)
> >> In QGIS, you find this functionality under Vector (fTools plugin) ->
> >> Geoprocessing (or similar, I have just the german version at hand at the
> >> moment...)
> >>
> >> Albin
> >>
> >>
> >> --
> >> | Albin Blaschka, Mag.rer.nat.
> >> | Etrichstrasse 26, A-5020 Salzburg
> >> | * www.albinblaschka.info * www.thinkanimal.info *
> >> | - It's hard to live in the mountains, hard but not hopeless!
> >> ___
> >> 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
> >
> >
>
> Hi Matej,
>
> Sure it is possible.
> You can use dissolve tool from Vector -> geoprosessing tools -> dissolve.
> And in the dialog select dissolve all.
>
> At least in the qgis 1.7.1 the dissolve tool is included in the buffer
> tool. In the buffer dialog you can check a dissolve option to dissolve
> all the buffers.
>
> Hopefully this helps.
>
> -Lauri
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] problems with georeferencing results

2011-10-25 Thread G. Allegri
Sure Baren, this was just an exercise ;)
I wanted to test regeoreferencing a raster and compare manual georeferencing
against reprojection.
I'm wondering if manually regeoreferencing an already georeferenced raster
can break things...

Inviato da dispositivo mobile
Il giorno 25/ott/2011 22.43, "Barend Köbben"  ha scritto:

> Hi Giovanni,
>
> I don't understand: you want to change a projected raster (in CRS 3003) to
> another projection (23023), so why do you need the georeferencing plugin?
> The data is already referenced, so it sounds to me you just want to
> re-project it, using the Raster > Warp menu.
>
> Or am I missing something...?
>
> Yours,
>
> --
> Barend Köbben (Senior Lecturer)
> ITC - University of Twente, Faculty of Geo-Information
> Science and Earth Observation
> PO Box 217, 7500AE Enschede (The Netherlands)
> +31-(0)53 4874 253
>
>
>
> On 25-10-11 21:23, "G. Allegri"  wrote:
>
> >Thanks for the reply.My raster infos are:
> >
> >PROJCS["Monte Mario / Italy zone 1",
> >GEOGCS["Monte Mario",
> >DATUM["Monte_Mario",
> >SPHEROID["International 1924",6378388,297.00014,
> >AUTHORITY["EPSG","7022"]],
> >AUTHORITY["EPSG","6265"]],
> >PRIMEM["Greenwich",0],
> >UNIT["degree",0.0174532925199433],
> >AUTHORITY["EPSG","4265"]],
> >PROJECTION["Transverse_Mercator"],
> >PARAMETER["latitude_of_origin",0],
> >PARAMETER["central_meridian",9],
> >PARAMETER["scale_factor",0.9996],
> >PARAMETER["false_easting",150],
> >PARAMETER["false_northing",0],
> >UNIT["metre",1,
> >AUTHORITY["EPSG","9001"]],
> >AUTHORITY["EPSG","3003"]]
> >Origin = (1554747.23103449420,4924790.7699960)
> >Pixel Size = (100.000,-100.000)
> >Metadata:
> >  AREA_OR_POINT=Area
> >Image Structure Metadata:
> >  INTERLEAVE=BAND
> >Corner Coordinates:
> >Upper Left  ( 1554747.231, 4924790.770) (  9d41'17.95"E, 44d28'24.73"N)
> >Lower Left  ( 1554747.231, 4678290.770) (  9d39'49.22"E, 42d15'14.92"N)
> >Upper Right ( 1771747.231, 4924790.770) ( 12d24'49.32"E, 44d25'28.44"N)
> >Lower Right ( 1771747.231, 4678290.770) ( 12d17'30.22"E, 42d12'31.70"N)
> >Center  ( 1663247.231, 4801540.770) ( 11d 0'50.84"E, 43d20'53.55"N)
> >Band 1 Block=2170x1 Type=Float32, ColorInterp=Gray
> >  Min=-3.876 Max=2051.503
> >  Minimum=-3.876, Maximum=2051.503, Mean=152.789, StdDev=265.873
> >  NoData Value=0
> >  Metadata:
> >STATISTICS_MINIMUM=-3.8761155605316
> >STATISTICS_MAXIMUM=2051.5034179688
> >STATISTICS_MEAN=152.78946158147
> >STATISTICS_STDDEV=265.87340110007
> >
> >
> >As you can see the CRS is correctly defined, and the other metadata are
> >correct.
> >OTFR works fine, the raster is correctly reprojected on the 23032
> >reference.
> >No tfw or aux files in the same folder
> >
> >It's making me crazy!
> >giovanni
> >
> >
> >2011/10/25 Richard Duivenvoorde 
> >
> >On 2011-10-25 19:04, G. Allegri wrote:
> >> Here it is the GCP list picture: http://bit.ly/suh5UL
> >> (I wonder why ths srcY coordinates are shown as negative values)
> >
> >
> >What is projection of your raster, is it really epsg:3003 (to be tested
> >with 'gdalinfo yourraster'.)
> >
> >Is there maybe a tfw file hanging around which determines another extent
> >four your source raster? If seen this behaviour recently while using the
> >plugin.
> >
> >Try to set your tiff aside from other files, create a fresh epsg:23032
> >project with 'on the fly' and try again?
> >
> >Hope this helps.
> >
> >Regards,
> >
> >Richard Duivenvoorde
> >
> >
> >
> >
> >
>
>
> Faculty of Geo-Information Science and Earth Observation (ITC)
> University of Twente
> Chamber of Commerce: 50130536
>
> E-mail disclaimer
> The information in this e-mail, including any attachments, is intended for
> the addressee only. If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution or action in relation to
> the content of this information is strictly prohibited. If you have received
> this e-mail by mistake, please delete the message and any attachment and
> inform the sender by return e-mail. ITC accepts no liability for any error
> or omission in the message content or for damage of any kind that may arise
> as a result of e-mail transmission.
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] problems with georeferencing results

2011-10-25 Thread G. Allegri
Ok, i got it.
The reason it doesn't work is probably easily explained: the source X/Y are
considered as raster space coordinates, while I thought that having the
raster a CRS assigned this was kept into account during the warping.
Probably manual re-georeferencing is conceptually unuseful, outside my
exercise. Even if reprojection wasn't enough, the best way would be to
remove any CRS reference from it.
Tomorrow I will do more tests, but I'm pretty sure that I was simply trying
a wrong procedure...

giovanni

2011/10/26 G. Allegri 

> Sure Baren, this was just an exercise ;)
> I wanted to test regeoreferencing a raster and compare manual
> georeferencing against reprojection.
> I'm wondering if manually regeoreferencing an already georeferenced raster
> can break things...
>
> Inviato da dispositivo mobile
> Il giorno 25/ott/2011 22.43, "Barend Köbben"  ha scritto:
>
> Hi Giovanni,
>>
>> I don't understand: you want to change a projected raster (in CRS 3003) to
>> another projection (23023), so why do you need the georeferencing plugin?
>> The data is already referenced, so it sounds to me you just want to
>> re-project it, using the Raster > Warp menu.
>>
>> Or am I missing something...?
>>
>> Yours,
>>
>> --
>> Barend Köbben (Senior Lecturer)
>> ITC - University of Twente, Faculty of Geo-Information
>> Science and Earth Observation
>> PO Box 217, 7500AE Enschede (The Netherlands)
>> +31-(0)53 4874 253
>>
>>
>>
>> On 25-10-11 21:23, "G. Allegri"  wrote:
>>
>> >Thanks for the reply.My raster infos are:
>> >
>> >PROJCS["Monte Mario / Italy zone 1",
>> >GEOGCS["Monte Mario",
>> >DATUM["Monte_Mario",
>> >SPHEROID["International 1924",6378388,297.00014,
>> >AUTHORITY["EPSG","7022"]],
>> >AUTHORITY["EPSG","6265"]],
>> >PRIMEM["Greenwich",0],
>> >UNIT["degree",0.0174532925199433],
>> >AUTHORITY["EPSG","4265"]],
>> >PROJECTION["Transverse_Mercator"],
>> >PARAMETER["latitude_of_origin",0],
>> >PARAMETER["central_meridian",9],
>> >PARAMETER["scale_factor",0.9996],
>> >PARAMETER["false_easting",150],
>> >PARAMETER["false_northing",0],
>> >UNIT["metre",1,
>> >AUTHORITY["EPSG","9001"]],
>> >AUTHORITY["EPSG","3003"]]
>> >Origin = (1554747.23103449420,4924790.7699960)
>> >Pixel Size = (100.000,-100.000)
>> >Metadata:
>> >  AREA_OR_POINT=Area
>> >Image Structure Metadata:
>> >  INTERLEAVE=BAND
>> >Corner Coordinates:
>> >Upper Left  ( 1554747.231, 4924790.770) (  9d41'17.95"E, 44d28'24.73"N)
>> >Lower Left  ( 1554747.231, 4678290.770) (  9d39'49.22"E, 42d15'14.92"N)
>> >Upper Right ( 1771747.231, 4924790.770) ( 12d24'49.32"E, 44d25'28.44"N)
>> >Lower Right ( 1771747.231, 4678290.770) ( 12d17'30.22"E, 42d12'31.70"N)
>> >Center  ( 1663247.231, 4801540.770) ( 11d 0'50.84"E, 43d20'53.55"N)
>> >Band 1 Block=2170x1 Type=Float32, ColorInterp=Gray
>> >  Min=-3.876 Max=2051.503
>> >  Minimum=-3.876, Maximum=2051.503, Mean=152.789, StdDev=265.873
>> >  NoData Value=0
>> >  Metadata:
>> >STATISTICS_MINIMUM=-3.8761155605316
>> >STATISTICS_MAXIMUM=2051.5034179688
>> >STATISTICS_MEAN=152.78946158147
>> >STATISTICS_STDDEV=265.87340110007
>> >
>> >
>> >As you can see the CRS is correctly defined, and the other metadata are
>> >correct.
>> >OTFR works fine, the raster is correctly reprojected on the 23032
>> >reference.
>> >No tfw or aux files in the same folder
>> >
>> >It's making me crazy!
>> >giovanni
>> >
>> >
>> >2011/10/25 Richard Duivenvoorde 
>> >
>> >On 2011-10-25 19:04, G. Allegri wrote:
>> >> Here it is the GCP list picture: http://bit.ly/suh5UL
>> >> (I wonder why ths srcY coordinates are shown as negative values)
>> >
>> >
>> >What is projection of your raster, is it really epsg:3003 (to be tested
>> >with 'gdalinfo yourraster'.)
>> >
>> >Is there maybe a tfw file hanging around which determines another extent
>> >four your source raster? If seen this behaviour recently while using the
>> >plugin.
>> >
>> >Try to set your tiff aside from other files, create a fresh epsg:23032
>> >project with 'on the fly' and try again?
>> >
>> >Hope this helps.
>> >
>> >Regards,
>> >
>> >Richard Duivenvoorde
>> >
>> >
>> >
>> >
>> >
>>
>>
>> Faculty of Geo-Information Science and Earth Observation (ITC)
>> University of Twente
>> Chamber of Commerce: 50130536
>>
>> E-mail disclaimer
>> The information in this e-mail, including any attachments, is intended for
>> the addressee only. If you are not the intended recipient, you are hereby
>> notified that any disclosure, copying, distribution or action in relation to
>> the content of this information is strictly prohibited. If you have received
>> this e-mail by mistake, please delete the message and any attachment and
>> inform the sender by return e-mail. ITC accepts no liability for any error
>> or omission in the message content or for damage of any kind that may arise
>> as a result of e-mail transm

Re: [Qgis-user] problems with georeferencing results

2011-10-25 Thread Ramon Andiñach
I have no good reason to say this other than a niggling suspicion[1] but, yes I 
think it can.

-ramon.
[1] We occasionally have problems with the georeferencer, where it tries to 
rotate an image that shouldn't need to be. It's rare enough that I haven't been 
able to track it down properly, but this is on my suspect list.

On 26/10/2011, at 06:18 , G. Allegri wrote:

> Sure Baren, this was just an exercise ;)
> I wanted to test regeoreferencing a raster and compare manual georeferencing 
> against reprojection.
> I'm wondering if manually regeoreferencing an already georeferenced raster 
> can break things...
> 
> Inviato da dispositivo mobile
> 
> Il giorno 25/ott/2011 22.43, "Barend Köbben"  ha scritto:
> Hi Giovanni,
> 
> I don't understand: you want to change a projected raster (in CRS 3003) to
> another projection (23023), so why do you need the georeferencing plugin?
> The data is already referenced, so it sounds to me you just want to
> re-project it, using the Raster > Warp menu.
> 
> Or am I missing something...?
> 
> Yours,
> 
> --
> Barend Köbben (Senior Lecturer)
> ITC - University of Twente, Faculty of Geo-Information
> Science and Earth Observation
> PO Box 217, 7500AE Enschede (The Netherlands)
> +31-(0)53 4874 253
> 
> 
> 
> On 25-10-11 21:23, "G. Allegri"  wrote:
> 
> >Thanks for the reply.My raster infos are:
> >
> >PROJCS["Monte Mario / Italy zone 1",
> >GEOGCS["Monte Mario",
> >DATUM["Monte_Mario",
> >SPHEROID["International 1924",6378388,297.00014,
> >AUTHORITY["EPSG","7022"]],
> >AUTHORITY["EPSG","6265"]],
> >PRIMEM["Greenwich",0],
> >UNIT["degree",0.0174532925199433],
> >AUTHORITY["EPSG","4265"]],
> >PROJECTION["Transverse_Mercator"],
> >PARAMETER["latitude_of_origin",0],
> >PARAMETER["central_meridian",9],
> >PARAMETER["scale_factor",0.9996],
> >PARAMETER["false_easting",150],
> >PARAMETER["false_northing",0],
> >UNIT["metre",1,
> >AUTHORITY["EPSG","9001"]],
> >AUTHORITY["EPSG","3003"]]
> >Origin = (1554747.23103449420,4924790.7699960)
> >Pixel Size = (100.000,-100.000)
> >Metadata:
> >  AREA_OR_POINT=Area
> >Image Structure Metadata:
> >  INTERLEAVE=BAND
> >Corner Coordinates:
> >Upper Left  ( 1554747.231, 4924790.770) (  9d41'17.95"E, 44d28'24.73"N)
> >Lower Left  ( 1554747.231, 4678290.770) (  9d39'49.22"E, 42d15'14.92"N)
> >Upper Right ( 1771747.231, 4924790.770) ( 12d24'49.32"E, 44d25'28.44"N)
> >Lower Right ( 1771747.231, 4678290.770) ( 12d17'30.22"E, 42d12'31.70"N)
> >Center  ( 1663247.231, 4801540.770) ( 11d 0'50.84"E, 43d20'53.55"N)
> >Band 1 Block=2170x1 Type=Float32, ColorInterp=Gray
> >  Min=-3.876 Max=2051.503
> >  Minimum=-3.876, Maximum=2051.503, Mean=152.789, StdDev=265.873
> >  NoData Value=0
> >  Metadata:
> >STATISTICS_MINIMUM=-3.8761155605316
> >STATISTICS_MAXIMUM=2051.5034179688
> >STATISTICS_MEAN=152.78946158147
> >STATISTICS_STDDEV=265.87340110007
> >
> >
> >As you can see the CRS is correctly defined, and the other metadata are
> >correct.
> >OTFR works fine, the raster is correctly reprojected on the 23032
> >reference.
> >No tfw or aux files in the same folder
> >
> >It's making me crazy!
> >giovanni
> >
> >
> >2011/10/25 Richard Duivenvoorde 
> >
> >On 2011-10-25 19:04, G. Allegri wrote:
> >> Here it is the GCP list picture: http://bit.ly/suh5UL
> >> (I wonder why ths srcY coordinates are shown as negative values)
> >
> >
> >What is projection of your raster, is it really epsg:3003 (to be tested
> >with 'gdalinfo yourraster'.)
> >
> >Is there maybe a tfw file hanging around which determines another extent
> >four your source raster? If seen this behaviour recently while using the
> >plugin.
> >
> >Try to set your tiff aside from other files, create a fresh epsg:23032
> >project with 'on the fly' and try again?
> >
> >Hope this helps.
> >
> >Regards,
> >
> >Richard Duivenvoorde
> >
> >
> >
> >
> >
> 
> 
> Faculty of Geo-Information Science and Earth Observation (ITC)
> University of Twente
> Chamber of Commerce: 50130536
> 
> E-mail disclaimer
> The information in this e-mail, including any attachments, is intended for 
> the addressee only. If you are not the intended recipient, you are hereby 
> notified that any disclosure, copying, distribution or action in relation to 
> the content of this information is strictly prohibited. If you have received 
> this e-mail by mistake, please delete the message and any attachment and 
> inform the sender by return e-mail. ITC accepts no liability for any error or 
> omission in the message content or for damage of any kind that may arise as a 
> result of e-mail transmission.
> ___
> 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

RE: [Qgis-user] how to edit .gpx

2011-10-25 Thread Gerardo Jimenez

You can try and ouside solution, also free, try EasyGPX. You can make your own 
list of waypoints and routes etc. 

Gerardo Jiménez Delgado
Instituto de Investigaciones Antropológicas
Universidad Nacional Autónoma de México
Ciudad Universitaria s/n
Coyoacan 04510
Mexico City
Mexico

56 22 95 16

> Date: Tue, 25 Oct 2011 22:40:27 +0300
> Subject: Re: [Qgis-user] how to edit .gpx
> From: lauri.ka...@gmail.com
> To: m.e.d...@open.ac.uk
> CC: qgis-user@lists.osgeo.org
> 
> Hi,
> 
> This is a known limitation. You can delete and add objects but not
> edit existing one.
> See a bug report for more information: http://hub.qgis.org/issues/2219
> 
> -Lauri
> 
> On Tue, Oct 25, 2011 at 10:14 PM, M.E.Dodd  wrote:
> > Can load a .gpx but can't seem to edit it, the editing button stays greyed 
> > out (qgis 1.7).  can save to .kml or shapefile and do edits but then loose 
> > some info from the original .gpx
> > looking at posts it seems that editing gpx has been in qgis for some time 
> > but i can't see how to do it.
> >
> > --
> > The Open University is incorporated by Royal Charter (RC 000391), an exempt 
> > charity in England & Wales and a charity registered in Scotland (SC 038302).
> >
> > ___
> > 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