re: gtk gis

2009-06-12 Thread Thomas Stover

 Date: Thu, 11 Jun 2009 15:36:31 +0200

From: Andrea Zagli aza...@inwind.it
Subject: gtk  gis
To: gtk-app gtk-app-devel-list@gnome.org
Message-ID: 20090611153631.146644e2qf6bk...@saetta.homelinux.org
Content-Type: text/plain; charset=UTF-8; DelSp=Yes; format=flowed

do you know some widget that can display maps (from shp or postgis)  
and also allows very simple editing?


on google i found only (old) widgets without editing

thanks in advance


  


I have helped a client make their own library. It uses cairo for all the 
output (not just for gtk). Cairo really is the magic that makes all the 
vectors and alpha blending so darn awesome. Some libraries that are 
excellent you can look into for building blocks are:


-proj4 (cartographic projection) (everything uses this behind the 
scenes, but no one mentions it)

-shapelib (most gis data is in or can be in shape files)
-netcdf (things like weather radar overlays)
-imagemagick (work with other non-png image formats for just cairo 
outside of gtk)

-libcurl w/ glib bindings or libsoup for http data

some other sources of data:
-yahoo maps is kinda hackable and is ok for internal use (google maps 
wants you to only use it for externally reachable sites)

-www.gisdatadepot.com

more usa specific:
-weather.gov
-usgs.gov

for academia (and through other pay sites):
-http://www.unidata.ucar.edu/software/ldm/ (live scientific data of 
several kinds)



All this is 2D, but it suites our needs very well. There is of course 
the http://grass.osgeo.org/ project which has many links and information 
for this area.


I'm still looking for a simple open source library for some basic 
astronomical features like where the sunlight is, etc.


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Fwd: gtk gis

2009-06-12 Thread Pierre-Luc Beaudoin
On Fri, 2009-06-12 at 21:43 +0200, Andrea Zagli wrote:
 do you know some widget that can display maps (from shp or postgis)
 and also allows very simple editing?

As Emmnanuel already pointed out, there is libchamplain [1] that is
aiming at being a full fledged map widget.  Right now, you cannot draw
from postgis or shp data, but Simon Wenner is working as a summer of
code to provide local rendering using libmemphis.  Nothing could stop
you to implement your own ChamplainMapSource within your application
which would render the PostGis data to a ClutterCairo texture.

There is no editing either, but the map is fully interactive so you
could program interactions using common events such as click, mouse move
and other.

If you have more questions, feel free to join the party on #champlain on
the mailing list: libchamplain-l...@gnome.org

Pierre-Luc

[1] http://projects.gnome.org/libchamplain/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk gis

2009-06-11 Thread Andrea Zagli
do you know some widget that can display maps (from shp or postgis)  
and also allows very simple editing?


on google i found only (old) widgets without editing

thanks in advance

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk gis

2009-06-11 Thread Carlos Pereira

Andrea Zagli wrote:
do you know some widget that can display maps (from shp or postgis) 
and also allows very simple editing?



Perhaps GtkDrawingArea?
http://library.gnome.org/devel/gtk/stable/GtkDrawingArea.html

I use myself OpenGL areas, with GtkGLExt and Mesa, it works great. If 
you need more information on this please let me know.


Carlos

on google i found only (old) widgets without editing

thanks in advance

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk gis

2009-06-11 Thread Emmanuel Rodriguez
On Thu, Jun 11, 2009 at 3:36 PM, Andrea Zagli aza...@inwind.it wrote:

 do you know some widget that can display maps (from shp or postgis) and
 also allows very simple editing?


Libchamplain (http://projects.gnome.org/libchamplain/) can render maps from
various public sources. There's a route branch that should be merged
before the end of the week that will allow for basic drawing. The current
version allows markers to be added to an existing maps and markers can be
rendered with cairo.

-- 
Emmanuel Rodriguez
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list