[Qgis-user] Re: Detect order of vertexs

2010-10-27 Thread Andrea Peri 2007

 You could use my plugin: Shapefile viewer (shameless plug!) if you
are using a shapefile and that shapefile doesn't have too many
vertices (less than ~1) and you have QGIS 1.5 or greater.br
 ..
 Benoit

Thx, very much  :)

Regards,
Andrea.

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


[Qgis-user] PostGIS 2 SHP

2010-10-23 Thread Andrea Peri 2007

Hi fellows,

I am loading a postgis Layer and then saving it to shapefile. Job gets done.
BUT, data type character varying, or character, is always set to 255 CHAR in
the shapefile.
Therefore, my dbf ends up being a huge table. Is this some bug or I am
simply doing something wrong ?

Any thoughts appreciated


Ricardo


The exporting procedure (save as) of qgis do this.

But if you use og2ogr (from gdal) to export from postgres to shapefile the 
string field was exactly the needed.
I test with the trunk version of gdal.

Regards,

Andrea Peri


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


[Qgis-user] QGIs 1.6.x MrSID rasters

2010-10-13 Thread Andrea Peri 2007




You should probably file an enhancement ticket for GDAL 1.7 in the OSGeo4W
TRAC[1].


Jürgen


Hi,

open the ticket and Frank has already fixed. :)

Thx,

Andrea.


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


[Qgis-user] Plugin to read raster color value

2010-10-13 Thread Andrea Peri 2007

 Hi,

often using the rasters is necessary to put some color to transparent.

To detect the color to put trasparent is necessary to open the raster 
with other programs.


there is a plugin to read the color of a raster in the cursor position ?

Thx,

Andrea Peri

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


Re: [Qgis-user] Plugin to read raster color value

2010-10-13 Thread Andrea Peri 2007


It's just what I need.
Great !

Andrea.

Il 13/10/2010 21:01, John C. Tull ha scritto:

You can also use the identify tool to display the raster value at a clicked 
location.

Cheers,
John

On Oct 13, 2010, at 11:52 AM, Benoit de Cabissole wrote:


Hi Andrea,

Did you try the 'Value Tool' plugin, works like a charm!

Cheers,
Benoit


On 13/10/2010 20:44, Andrea Peri 2007 wrote:

Hi,

often using the rasters is necessary to put some color to transparent.

To detect the color to put trasparent is necessary to open the raster
with other programs.

there is a plugin to read the color of a raster in the cursor position ?

Thx,

Andrea Peri

___
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 install grass documentation

2010-10-04 Thread Andrea Peri 2007


Il 04/10/2010 09:12, Micha Silver ha scritto:

 On 03/10/2010 19:52, Andrea Peri 2007 wrote:

 Hi,

Using qgis-dev and the grass plugin,
I notice that in the Grass Tools the documentation is not available.

There is some instruction available about the installation of grass 
documentation for use in qgis plugin ?


Are you on Windows? I do see the GRASS manpages from within the GRASS 
Toolbox. How did you install exactly?




Yes,
I'm on windows.

I use osgeo4w installer and
choice the qgis-dev 1.6.

Perhaps you are using the qgis 1.5 ?


Thx,

Andrea Peri.

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

This mail was received via Mail-SeCure System.







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


[Qgis-user] How install grass documentation

2010-10-03 Thread Andrea Peri 2007

 Hi,

Using qgis-dev and the grass plugin,
I notice that in the Grass Tools the documentation is not available.

There is some instruction available about the installation of grass 
documentation for use in qgis plugin ?


Thx,

Andrea Peri.

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


[Qgis-user] QGis 1.6 and ecw

2010-09-28 Thread Andrea Peri 2007

 Hi,

Is possible to use ecw raster with qgis-dev ?

I download and install the last erdas SDK .
But again try-ing to open an ecw raster, qgis give an error reporting 
unsupported raster source.


Perhaps the dll must be copied in some specific directory of qgis ?

Thx,

Andrea Peri.

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


Re: [Qgis-user] Changes to Postgres dataProvider

2010-09-20 Thread Andrea Peri 2007

 Thx for clarification.

I notice just now the allow the geometryless tables checkbox.
However I don't understand what is the goal of allow the user to see 
(and add) all the tables of information_schema and of pg_catalog.

No-one of this tables has any information really useful for GIS works.

Regards,

Andrea.



Il 20/09/2010 21:17, Ivan Mincik ha scritto:

On Mon, Sep 20, 2010 at 8:56 PM, Andrea Peri 2007aperi2...@gmail.com  wrote:

  Hi,

today after updating the qgis with osgeo4w.
I notice is changed the postgres datasource.
Now connecting to postgres appear all the tables systems, public, catalogs,
etc...
No one of this is valid for add to a map-canvas.

I don't understand if this a wanted changed.

there is any info on this changes ?

It should be the reason of this changeset:  [14248]  by jef -
[FEATURE] allow adding geometryless layers from postgres
You can disable it using new check box in Connection options.

Jef, can we have this check box disabled by default ?

Ivan



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


[Qgis-user] Re:autostyles for PostGIS

2010-09-17 Thread Andrea Peri 2007




Hi all.
If we save a file in the same folder and with the same name as a vector layer, 
that
style is used automagically every time the layer is opened (which is good).
How could one do the same for a PostGIS layer?

All the best, and thanks for any suggestion.


It is a good question.
But it is a bit complex.
Because a table is not like a file.

Infact if for a shapefile (a file) the style is in another file.
Maintaining the same paradigm, for a table the style must be in another table.

But for a style-file is more simple use it. Is sufficient to decide of use 
another extension. (.sty for example)

For a table, the style cannot be another table with the same name.
So the choice of others products was to use a unique table (with a fixed name), 
usable for all the tables of the schema.

This is quite simple conceptually, but is heavy as choice because need to 
establish that in a postgis-enabled schema must be available a specific table 
with a specific name.

In ArcSDE for example, esri use a set of tables gdb_* , one of they is for the 
rendering.

However is qgis could have an autostyle in a table for postgres/postgis (and 
spatialite also) , it will be a great feature.


Regards,

Andrea.


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


[Qgis-user] RE: Shapefile structure viewer and editor plugin

2010-09-11 Thread Andrea Peri 2007

  am searching for a plugin that calculates the area and perimeter of
polygons of shapefiles and other vector layers e.g. spatialite

I think there is none at the moment, if I am not mistaken.

However, you can get the area and perimeter of the layer using fTools.

Vector- Geometry tools - Export / Add Geometry Columns




Hi noly,

you can even use the area button in the calculator.

You add a new columns and fill it with the button area in the calculator.

Unfortunately is missing the perimeter button.

But perhaps it could be a simple add ?

Regards,

Andrea.

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


[Qgis-user] Compile using Python 2.7

2010-08-09 Thread Andrea Peri 2007

Hi,

I'm try-ing to compile the qgis system.
using the Ming/Msys compiler under windows 7.

To do this I follow the hints available to this link:
http://www.qgis.org/wiki/Installation_Guide

But when I retrive the QT And python I see was available some more new 
version (qt 4.6.3 and python 2.7).
And there was not more available the original version (qt 4.4) suggested 
in the manual


So I decide to try using this new versions.

After this, I download SIP and PyQT4.

During the compilation of SIP I see this errors:

main.o:main.c:(.text+0x65): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0xa9): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0xe4): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0x121): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0x27c): undefined reference to `_ctype_'
main.o:main.c:(.text+0x46f): undefined reference to `_ctype_'
main.o:main.c:(.text+0x489): undefined reference to `_ctype_'
main.o:main.c:(.text+0x537): undefined reference to `_impure_ptr'
transform.o:transform.c:(.text+0x351a): undefined reference to `_impure_ptr'
transform.o:transform.c:(.text+0x3568): undefined reference to `_impure_ptr'
transform.o:transform.c:(.text+0x36de): undefined reference to `_impure_ptr'
gencode.o:gencode.c:(.text+0xb607): undefined reference to `_impure_ptr'
parser.o:parser.c:(.text+0x53f): undefined reference to `_ctype_'
parser.o:parser.c:(.text+0x577): undefined reference to `_ctype_'
parser.o:parser.c:(.text+0x5ebb): undefined reference to `_ctype_'
lexer.o:lexer.c:(.text+0x179): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x396): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x3f1): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0xafc): undefined reference to `_impure_ptr'
lexer.o:lexer.c:(.text+0xb0b): undefined reference to `_impure_ptr'
lexer.o:lexer.c:(.text+0x2dc8): undefined reference to `__srget'
lexer.o:lexer.c:(.text+0x2e80): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x2e92): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x2eee): undefined reference to `__errno'
collect2: ld returned 1 exit status
make[1]: *** [sip.exe] Error 1
make: *** [all] Error 2

I'm not capable to understand if this errors are due to the more new 
versions of qt and python or are some other think.


Any hint is welcome,
thx

Andrea.

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


[Qgis-user] Check shapefiles 3D

2010-07-18 Thread Andrea Peri 2007

Hi,

How is possible to detect in qgis if a shapefile is 3D ?

I see the metadata section of the properties report always a 2D extent 
even when the archive is surely 3D.


Thx,
Andrea Peri.

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


[Qgis-user] Problem with installing qgis-dev

2010-07-14 Thread Andrea Peri 2007

Hi,

I'm try-ing to install qgis-dev using os4geo-setup on windows.

Unfortunately meanwhile it download the qgis-dev appear the message:

Download incomplete, try again ?

And try-ing again the problem appear again . :(

Is a problem knowed this ?

Thx,
Andrea Peri.

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


[Qgis-user] Remove a vertex from a line

2010-06-24 Thread Andrea Peri 2007

Hi,

Is possible with qgis (1.5) remove a single vertex from a line ?
(I don't find anything.)

Thx,

Andrea

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


[Qgis-user] Re:removing qgis

2010-06-13 Thread Andrea Peri 2007

Where can be found the qgis.conf in windows installation ?

thx

Andrea.

Borys Jurgiel wrote 


There's also one file:
~/.config/QuantumGIS/QGIS.conf
and removing this one is more important then purging qgis installation.




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


[Qgis-user] Re:postgis layer from a view

2010-06-01 Thread Andrea Peri 2007

Hi Lionel,

try a query like this:

select count(gid) from view group by gid having count(gid)1

to see if there is some duplicates.

Regards,

Andrea.

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


[Qgis-user] ArcSDE

2010-05-01 Thread Andrea Peri 2007

There almost 2 types of arcsde layers.

The single Layers 
and the geodatabases's layers.


The first is quite simple because every dataset (table) is isolated from others 
datasets (tables).
The second is more complex because use all the GDB tables to understand the GIS 
constraints between all the tables (datasets).


(ps: the geodatabase is not a relational DB so it don't know and don't use 
foreign-key and so on.)

-
This second format is supported only from arceditor and arcinfo level of arcgis 
family products (about 20K$)
-

After this there is another physical level of difference.
ArcSDE can use the esri-native format .
I don't remenber how it is called, but remenber is some like a binary archived 
in a blob field.

Or it can use DB native formats like Oracle SDO_Geometry and so on.

I don't know is gvsig can support all this differences perhaps it support 
the single-layers structure when used with some DB format like 
oracle sdo-geometry ?



Andrea.


UDig is the only open source Desktop GIS that can do this. I've done this,
and can confirm that it works for viewing/editing (normally $10k of ESRI
software is required to do just this). It just takes some setting up and
getting the correct versions and JARs together.

I've had less luck with OGR ArcSDE, since it has a lack of community support
to properly build and QAQC the libraries (e.g.,
http://trac.osgeo.org/osgeo4w/ticket/42) and only works with ArcSDE 9.1 and
9.2 (not 9.3 or 10.0).

-Mike




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


[Qgis-user] Setting the directory's plugins

2010-04-22 Thread Andrea Peri 2007

Hi,

Is possible to change the directory where plugin will be installed

Actually the Installer use the
~/.qgis/python/plugins
But I like to change this path.

Thx,

Andrea.



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


[Qgis-user] Re:Constraints on postgresql views

2010-04-02 Thread Andrea Peri 2007

Perhaps,
it missing a group by operator ?

SELECT  
	f.id AS oid, 
	ST_Multi(ST_Union(f.the_geom)) as the_geom 
FROM (
	SELECT 
		id,
		ST_Dump(the_geom)).geom As the_geom 
	FROM 
		v_tmp

) As f
group by
f.id


Regards,

Andrea.



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