Re: [Qgis-user] Ideas for QGIS plugin?
Hi Martin Even more work is underway! We're going to release a native C++ OpenStreetMap provider for QGIS in few days. It will come also with OSM downloader and (very experimental) upload. That is great news! I can't wait to do some OSM mapping with QGIS :-) Regards, Marco Am Samstag 31 Januar 2009 20:28:27 schrieb Martin Dobias: On Sat, Jan 31, 2009 at 5:17 PM, Paolo Cavallini cavall...@faunalia.it wrote: Florian Hillen ha scritto: first of all I want to thank everybody for the input an the suggestions. Some plugins are a bit to extensive for my bachelor thesis (I can maximal write about 40 pages), so I pick up the suggestion with the OpenStreetMap plugin and modify it a little. I'm glad of this. Please keep in touch with the community of devs: more effort is underway, eg http://gis-lab.info/programs/qgis/qgis-repo.xml Even more work is underway! We're going to release a native C++ OpenStreetMap provider for QGIS in few days. It will come also with OSM downloader and (very experimental) upload. Creating another OSM plugin would therefore cause just code duplication. Regards Martin ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Dr. Marco Hugentobler Institute of Cartography ETH Zurich 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] Color table for raster map
Agustin, Sorry for my delayed response. The three color ramp types are, Exact, Discrete, and Interpolated. Interpolated is the type you are looking for, I has seriously considered changing it to linear. If you have two entries in your color table 0 = black 10 = white. 0 ,0,0,0,255,Black 10,255,255,255,255, White Exact will only shade pixel values 0 and 10, all other pixel values will be ignored. Discrete is like a bin ( 0 = pixel 10 shade as white) so pixel value of 5 would he shaded as white ( 255, 255, 255, 255 ) Interpolated is basically a linear interpolation between two colors. In this example 5 would be shaded as ( 128, 128, 128, 255 ). **note, currently the alpha value is always 255 for the interpolated color and should probably be marked as a bug. -pete Agustin Lobo wrote: Peter, What would be the equivalent rules for a continuous pseudocolor table (i.e., INTERPOLATION::LINEAR ?) Actually, do you have some standard pseudocolor tables (i.e., terrain colors) already made? Thanks Agus 2009/1/14 Peter Ersts er...@amnh.org: The easies way is to make a text file (classification.txt) and add the color entries by hand. So the contents of the file will look like: INTERPOLATION::EXACT 11,0,0,255,255,Post-flooding or irrigated croplands (or aquatic) 14,0,255,0,255,Rainfed croplands 20,255,0,255,Mosaic cropland (50-70%) / vegetation (grassland/shrubland/forest) (20-50%) This will set pixels 11 to blue, 14 to green and 20 to red. The format is really basic. pixel value, red, green, blue, alpha, label (no commas) Then on the colormap tab, you can click the Load color map from file button, second one from the top right. Eventually it is planned that it will be able to read a variety of different colormap formats. -pete Agustin Lobo wrote: I've got a landcover map in raster format (a tif file) from GLOBOVER (http://postel.mediasfrance.org/en/BIOGEOPHYSICAL-PRODUCTS/Land-Cover/) The raster is opened in QGIS as Single Band Grey How can I set an arbitrary color table? I can see how to set a ramp, but this is a classified image, in which integer values stand for different types i,e,: 11Post-flooding or irrigated croplands (or aquatic) 14Rainfed croplands 20Mosaic cropland (50-70%) / vegetation (grassland/shrubland/forest) (20-50%) for which different colors should be set as in unique value for vector maps. Thanks Agus -- Peter J. Ersts, Project Specialist American Museum of Natural History Center for Biodiversity and Conservation Central Park West at 79th Street New York, New York 10024 Tel: Home Office (518)-632-4745 or NYC Office (212)-496-3488 Web: http://biodiversityinformatics.amnh.org Web: http://cbc.amnh.org Quantum GIS Raster Development Team. Visit http://www.qgis.org to learn more about QGIS, a free and open source desktop GIS Open Source, ...evolving through community cooperation to change the world bit by bit ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] PostGIS Manager plugin issue
On Sat, Jan 31, 2009 at 9:43 PM, Joe Larson j...@joelarson.com wrote: [...] /home/joe/.qgis//python/plugins/postgis_manager/postgis_utils.py, line 113, in get_info self._exec_sql(c, SELECT version()) File /home/joe/.qgis//python/plugins/postgis_manager/postgis_utils.py, line 504, in _exec_sql raise DbError(e.message, e.cursor.query) DbError: MESSAGE: current transaction is aborted, commands ignored until end of transaction block Check out newly uploaded version 0.4.7, maybe it will fix this problem. Martin ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] TIFFSetField error
I've upgraded the windows version with the OSGeo4W installer and now I get an error regarding TIFFSetField and lintiff.dll I've reinstalled libtiff but still get the same problem. Any solution? Thanks Agus -- Dr. Agustin Lobo Institut de Ciencies de la Terra Jaume Almera (CSIC) LLuis Sole Sabaris s/n 08028 Barcelona Spain Tel. 34 934095410 Fax. 34 934110012 email: agustin.l...@ija.csic.es http://www.ija.csic.es/gt/obster ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Ideas for QGIS plugin?
On Mon, Feb 2, 2009 at 11:43 PM, Christopher Barker chris.bar...@noaa.gov wrote: Paolo Cavallini wrote: I've always been confused by that. But anyway, you could do it with Open Street Map tiles. Better take the vector data from OSM (see my previous suggestion): you can do more with that. Not if you want a nice streetmap as a basemap for something else -- it would take a lot of work to get QGIS to draw a map nearly as nice as the OSM ones. Indeed, I don't think it's possible. Chris, could you please explain your statement why it isn't possible? Martin ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
RE: [Qgis-user] Ideas for QGIS plugin?
I assume he was talking about trying to recreate the nice Mapnik generated styling (labeling etc) that is found on the OSM website. I think it would be pretty much impossible to create such styling with the current state of labeling etc. A -Original Message- From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Martin Dobias Sent: Monday, February 02, 2009 4:01 PM To: Christopher Barker Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Ideas for QGIS plugin? On Mon, Feb 2, 2009 at 11:43 PM, Christopher Barker chris.bar...@noaa.gov wrote: Paolo Cavallini wrote: I've always been confused by that. But anyway, you could do it with Open Street Map tiles. Better take the vector data from OSM (see my previous suggestion): you can do more with that. Not if you want a nice streetmap as a basemap for something else -- it would take a lot of work to get QGIS to draw a map nearly as nice as the OSM ones. Indeed, I don't think it's possible. Chris, could you please explain your statement why it isn't possible? Martin ___ 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