I’m looking to move from Perl to either Ruby, Java, or Python. Looking
at my three choices I like Ruby the best.
However, I need to make a GUI where I can make a map window and import
layers like roads and political boundaries. The window also needs to
pan and zoom in/out and maybe interface with PostGIS. Some of my files
will be ShapeFiles and I need to place markers on the map and color them
by value.
Can Ruby do this and is there a recommended tool-kit?
However, I need to make a GUI where I can make a map window and import
layers like roads and political boundaries. The window also needs to
pan and zoom in/out and maybe interface with PostGIS. Some of my files
will be ShapeFiles and I need to place markers on the map and color them
by value.
Can Ruby do this and is there a recommended tool-kit?
Your GUI application seems appropriate for something like WebKit,
assuming you’ll be working with the Google Maps API. In that case, you
could look into Titanium, which allows Ruby or Python to be used:
For a nice ruby framework (built on top of Titanium in fact), take a
look at Bowline:
I personally really like Shoes, and LimeLight looks promising. But these
frameworks aren’t quite mature yet, and may not be appropriate for the
type of application you want to make. And Shoes is in temporary disarray
as the maintainer (_why the lucky stiff) mysteriously disappeared, but
the community has been picking it up rather well. http://limelight.8thlight.com/main/sparkle http://shoes.heroku.com/
I’m looking to move from Perl to either Ruby, Java, or Python. Looking
at my three choices I like Ruby the best.
However, I need to make a GUI where I can make a map window and import
layers like roads and political boundaries. The window also needs to
pan and zoom in/out and maybe interface with PostGIS. Some of my files
will be ShapeFiles and I need to place markers on the map and color them
by value.
Can Ruby do this and is there a recommended tool-kit?
In my case I am using OpenLayers, an open source javascript library
similar to google maps as the user interface within my web application.
You can write a small viewer as you describe just with some few lines.
The data is provided by a local Mapserver (mapserver.org) using WMS -
Openlayers can interface with it. Mapserver can be scripted in ruby.
Mapserver can also read and publish shapefiles.
The great advantage is that you can connect any other GIS application to
your datasets…