Re: [Qgis-user] GRASS map calculator bug/feature

2007-01-02 Thread Radim Blazek

Hi,
nice to see that the tool is used. I found that you can  type
anything as constant (Add constant value) but that is just another
bug because there should be QDoubleValidator set on that input
so I cannot reccomend to use this because that may not work in future
(including saved formulas).

I would like to avoid the possibility to type anything in map input control
because it is not robust enough - user can type wrong map name and
r.mapcalc fails. GRASS Tools should not let a user to run a module
with parameters which can fail.

IMO we can add onother control beside map combo box for cell selection
(default 0,0). If you are interested in this feature, please fill a new ticket
(enhancement, 0.9).

BTW, do you realy need to work with individual cells or do you need
just a sum/avg/... from cells in neighbourhood?

Radim


On 12/26/06, Lubos Balazovic [EMAIL PROTECTED] wrote:

Hi,
in QGIS Preview2 (WINDOWS) there was a bug [1] in GRASS map calculator which
preserves user to choose layer from list so user had to type name of the
layer manually. Recently I've find out that this is nice feature which
allows to type for example layername[10,10] which is interpreted by
mapcalc as reference for neighbourhood of each processed cell in raster. Now
the bug is fixed and nice feature is over. The question is: Is there
currently another way in GRASS raster map calculator which allows to use
referencies for cells neighbourhood? Is it possible to change static list of
GRASS raster layers to be writeable?

Lubos

[1] http://svn.qgis.org/trac/ticket/318

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




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


Re: [Qgis-user] Error starting Qgis 0.8 ( libqgis_raster.so.0 )

2007-01-02 Thread Tim Sutton

Hi

Does the file mentioned exist? Is it in your ldpath? Try running
ldconfig as root.

Regards

Tim

On 1/1/07, Luca Casagrande [EMAIL PROTECTED] wrote:

Hi to all!
I have built qgis with those configure options:

qgis 0.8.0
--
GDAL/OGR  : yes (Version 1.3.2)
GEOS  : yes (Version 2.2.3)
PostgreSQL: yes (Version 8.1.5)
GRASS : yes
SPIT  : yes
Georeferencer : yes
WFS   : no
GPS/GPX   : no
PROJ4 : yes
SQLITE3   : yes
Python: yes

CPPFLAGS  :  -I/usr/include -I/usr/include
CXXFLAGS  : -O2 -march=pentium-m -pipe -fomit-frame-pointer

Debug : no
Plugin dir: /usr/lib/qgis

When starting it i have got this error:

qgis: error while loading shared libraries: libqgis_raster.so.0: cannot
open shared object file: No such file or directory

Is this a Gdal issue?

Thanks
Luca


--
Help QGIS development! Make a donation right now at http://xrl.us/supportqgis

LINUX User #411601
GENTOO-GIS Development Team
jabber: [EMAIL PROTECTED]


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




--
--
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] compare GIS

2007-01-02 Thread Tim Sutton

Hi

Willem QGIS can do all these things as Martin has explained above. You
can also see the qgis blog where I have posted various short tutorials
on embedding QGIS canvas controls into your vertical application.

One more thing that you should keep in mind when doing your
evaluations is that QGIS is released under the GPL and uses the GPL
version of Qt4 so you would be expected to to develop your software
under the same license.

Regards

Tim

On 12/29/06, Martin Dobias [EMAIL PROTECTED] wrote:

On 12/29/06, Willem Jenniskens [EMAIL PROTECTED] wrote:

 Hello,

  The company I work for wants to develop certain GIS functionality on top of
 an existing GIS product. I would like to do a small comparison between the
 various GIS programs so that we can make a motivated decision. The
 application must enable us to develop the following:

Hi Willem,

when developping applications with QGIS, there are basically two options:
- create a plugin for QGIS
- create an application based on QGIS libraries - you can start a new
application and use only some functionality from QGIS - e.g. postgis
data provider, map renderer or map canvas etc.

Applications have to be written with C++ and Qt as QGIS is based on
them. In 0.9 release you will have also possibility to use Python
instead of C++.

 - create functionality where a user can place symbols, lines or polygons in
 the map by drawing in the map. Next, a dialogbox must appear where he can
 enter some attribute information. The coordinates and the entered attribute
 data must be stored in a spatial database (postgis).

Yes, you can use map canvas API for this or just directly use
digitizing functionality of QGIS. Postgis backend is well supported.

 - One can have multiple views (windows) that are linked together; so when
 you pan in one view, the other views will pan along automatically. (there
 are different layers in each view)

This could be done in case you would develop a new application - there
you could create multiple map canvases and connect them together.

 - Create short-cut keys for various functions; for example to make layers
 visible / invisible and to zoom in to a certain scale.

Should be easy - actions in Qt allow settings shortcuts.

 - It must be fast with raster and vector data

Well, this is for your own consideration whether it's fast enough.

 - Make use of global variables that we can use in the entire application

Why not...

 - Create buttons, menu bars, etc that execute our developed scripts

A piece of cake :)

Check out developer's corner on QGIS wiki, you'll find some tutorials
on how to develop plugins and/or custom applcations with QGIS:
http://wiki.qgis.org/qgiswiki/DevelopersCorner

Regards,
Martin
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user




--
--
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user