Re: [Qgis-user] Grass lib
I did not need to recompile grass. I just used pexports tool to generate def files. And Finally I have a QGIS and its plugins(grass also) totally compiled with MS Visual Studio. :) thanx guys. On Oct 31, 2007 1:34 AM, Martin Dobias <[EMAIL PROTECTED]> wrote: > On 10/30/07, Cemal Koplay <[EMAIL PROTECTED]> wrote: > > Yes I just realese that. Know what i am trying to do is recompiling > > grass for getting def files for the grass libary dlls to use with LIB > > tool that converts def to lib files for using with MSVC. Is it > > possible to do so? My plan is after getting lib files, i will compile > > the grass plugin with MSVC. :) I think I can do like that. But I have > > problems with compiling grass with MinGW. Is there a simple way or a > > good document for compiling grass with MinGW? > > I guess you need to use 'dlltool'. See: > http://www.mingw.org/MinGWiki/index.php/CreateImportLibraries > > Some notes about compiling GRASS on windows can be found on our wiki: > http://wiki.qgis.org/qgiswiki/BuildingFromSource > > Martin > ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] GHydraulic plugin, calculate economic diameters
Hi Steffen Please see below for answers to your questions and further explanation. "Steffen Macke" <[EMAIL PROTECTED]> wrote: > Date: Tue, 30 Oct 2007 18:44:39 +0100 > From: "Steffen Macke" <[EMAIL PROTECTED]> > Subject: Re: [Qgis-user] [QGIS-USER]: GHydraulic plugin, calculate > economic diameters > To: "Craig Leat" <[EMAIL PROTECTED]> > Cc: qgis-user@lists.qgis.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Craig, > > did you use the Windows installer? Or the tarball? I assume that you > are running Quantum > GIS on Windows. > I'm running WinXP SP2 on a 32 bit Intel. I have QGIS 0.8.1 installed in 'c:\QGIS_0.8.1_rc1\' and I have QGIS 0.9.0 installed in 'c:\QGIS_0.9.0_26.10.2007\'. I used your Windows installer (ghydraulic-setup-2.0.0.exe) and installed in 'c:\QGIS_0.9.0_26.10.2007\python\plugins\ghydraulic\'. The problem I have is that your plugin is not registered properly in QGIS 0.9.0. In the plugin manager I see __error__ under the name, version and description. > Do you want to use the Plug-in menu/button from within Quantum GIS or > the economicdiameter.py script on the commandline? > This is my first encounter with your plugin so I am not yet sure of its capabilities. At this stage let's assume I will launch the plugin from within QGIS and use the command line. > I've searched the *.py source files for "program files" and the only > place where "c:\program files" is used, is the economicdiameter.py > script. In the economicdiameter.py script I find the following: # Supply path to where is your QGIS installed QgsApplication.setPrefixPath("c:/Programme/Quantum GIS", True) In several of the binary *.pyc files I find the same path prefix. E.g. in ghydraulicplugin.pyc I find the following: 'C:/Programme/Quantum GIS/python/plugins\ghydraulic\ghydraulicplugin.pyt' The only place I have found 'c:\program files' is in the README. > I'll try to update this in the next installer > release during the install process with the actual QGIS installation location. > > The Windows installer tries to look up the QGIS installation path from > the registry (location > of the uninstaller). I forgot to mention this. So people who have not > used the Windows installer for Quantum GIS might experience some > problems. In this case, you can specify > the installation location on the commandline. For example: > > ghydraulic-setup-2.0.0.exe /D=c:\Quantum GIS\python\plugins > I'm not sure what effect this will have on the hard coded paths mentioned above, but I will try it out and report back Many thanks Craig Leat. > In case this example does not help you, please provide your Quantum > GIS installation location. > > I'll collect the information related to this problem in a bug report: > > https://sourceforge.net/tracker/index.php?func=detail&aid=1822872&group_id=5289&atid=105289 > > Regards, > > Steffen > ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] [Qgis-developer] WMS Rendering Problems
Jürgen E. Fischer wrote: > I'd like to test it. Where's the patch? Here's a patch for the current (r3707) trunk: http://www.compassowl.com/qgis_wms_async.diff Tom ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] Grass lib
On 10/30/07, Cemal Koplay <[EMAIL PROTECTED]> wrote: > Yes I just realese that. Know what i am trying to do is recompiling > grass for getting def files for the grass libary dlls to use with LIB > tool that converts def to lib files for using with MSVC. Is it > possible to do so? My plan is after getting lib files, i will compile > the grass plugin with MSVC. :) I think I can do like that. But I have > problems with compiling grass with MinGW. Is there a simple way or a > good document for compiling grass with MinGW? I guess you need to use 'dlltool'. See: http://www.mingw.org/MinGWiki/index.php/CreateImportLibraries Some notes about compiling GRASS on windows can be found on our wiki: http://wiki.qgis.org/qgiswiki/BuildingFromSource Martin ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] [Qgis-developer] WMS Rendering Problems
Hi Tom, On Tue, 30. Oct 2007 at 14:49:30 -0400, Tom Elwertowski wrote: > This looks like a bug which was reported for Mac OS X a while ago. I > have a patch which is essentially complete but I don't have the > capability to build QGIS for Windows. If you or someone else can do a > source build, I would be interested in finding out if the patch fixes > your problem. I'd like to test it. Where's the patch? > The fix I made is to remove the synchronous network request inside the > draw event with async requests which must be completed before starting > to draw. This also speeds things up for multiple WMS layers since all > layers are requested in parallel rather than serially. I did basically the same today, but I was still looking for a clean way trigger a refresh after the WMS request completes inside the provider. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-0 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] Grass lib
Yes I just realese that. Know what i am trying to do is recompiling grass for getting def files for the grass libary dlls to use with LIB tool that converts def to lib files for using with MSVC. Is it possible to do so? My plan is after getting lib files, i will compile the grass plugin with MSVC. :) I think I can do like that. But I have problems with compiling grass with MinGW. Is there a simple way or a good document for compiling grass with MinGW? On Oct 30, 2007 6:34 PM, Martin Dobias <[EMAIL PROTECTED]> wrote: > > On 10/30/07, Cemal Koplay <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > > > I want to ask a questions about compiling with Visual Studio. I'am > > trying compile qgis0.9.0 with Visual Studio 2005 with grass plugin but > > i think i must have grass library that are compiled with visual > > studio. Is it right and if it is right where can i find grass binaries > > (lib files) that are compiled VS? DO I have to compile grass for this > > purpose? > > AFAIK it's not possible to compile GRASS with VS - people compile it with > MinGW. > But C libraries should be binary compatible between compilers, so you > shouldn't have a problem when compiling QGIS with MSVC using GRASS > libs from MinGW. Someone correct me if I'm wrong. > > Martin > ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] creating shape files
Tom Elwertowski wrote: > Since you already have text coordinates, another approach is to use a > text editor to create a MapInfo MIF file. Or create a CSV and use the 'delimited text import' tool in QGIS. Maciek ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] creating shape files
Rick Lockhart wrote: > I'm wanting to create shape files (polygon shapes, line shapes, multi > point shapes) and simply wish to type in the desired lat and long > coordinates for each vertex or point. How do I type in my desired > vertex coordinates? I'm using the 'New Vector Layer' and 'Capture > Polygon' buttons to get a polygon shape going, but can't seem to see > where you type in your desired vertex coordinates. I don't think there is any way to enter points by typing text coordinates. The usual use of 'New Vector Layer' is to first load a raster layer map and then click on locations to create a vector overlay. Since you already have text coordinates, another approach is to use a text editor to create a MapInfo MIF file. This is a text format which can be opened by QGIS thanks to the underlying GDAL/OGR library. You could also use the ogr2ogr utility to convert it to some other format after you create it. Tom ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] WMS Rendering Problems
Micha Silver wrote: > In some early work I noticed on windows, displaying maps from a WMS > server (mapserver 4.10.2) that the map image doesn't appear until I "do > something". I have to open some other dialog box, then when I close it, > the map appears. If I pan or zoom, I see the map layers *while panning*, > but as soon I release the mouse the map layers (as well as north arrow > and other decorations) disappear. If I click on the "Render" button to > disable rendering, then click again to re-enable, the map appears. But > again, any zooming or panning causes it to disappear. I've tried palying > with the Rendering options "Update display after reading 1 feature", but > that didn't change anything. This looks like a bug which was reported for Mac OS X a while ago. I have a patch which is essentially complete but I don't have the capability to build QGIS for Windows. If you or someone else can do a source build, I would be interested in finding out if the patch fixes your problem. The patch currently has two deficiencies which probably don't affect you: 1.) errors are not reported until one or two refreshes later. 2.) the indirection code for layers which return urls instead of bitmaps has not been tested. The refresh problem arises from the fact that the WMS layer is not requested until after the redraw cycle begins. Om a Mac (and probbably Windows too, based upon your observations), drawing cannot be interrupted to do something else -- either you already possess the bitmap or you don't start drawing. The reason you don't see the image until some future action is that the WMS image don't show up until after the refresh cycle that requested it has competed. > On an Ubuntu machine with the debian binary (Thanks to Jachym Cepicky!), > pulling layers from the same WMS server, I don't see this behavior at all. The reason it works using Ubuntu is that X11 was designed as a client/server display system. Since the display doesn't need to be on the same machine as the application, X11 is most likely not confounded by network requests inside draw events. The fix I made is to remove the synchronous network request inside the draw event with async requests which must be completed before starting to draw. This also speeds things up for multiple WMS layers since all layers are requested in parallel rather than serially. > BTW, displaying layers using the WFS plugin from the same server works > well on both systems. The WFS plugin doesn't make network requests inside draw events so the problem doesn't happen for WFS. One further request from readers: does anyone know of a WMS server that returns an indirect pointer rather then a bitmap? The main reason I haven't submitted this patch previously is that I haven't been able to test that situation. Alternatively, I could add a message "Indirect retrieval temporarily disabled: send a url if you would like this feature back." Tom ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] [QGIS-USER]: GHydraulic plugin, calculate economic diameters
Hi Craig, did you use the Windows installer? Or the tarball? I assume that you are running Quantum GIS on Windows. Do you want to use the Plug-in menu/button from within Quantum GIS or the economicdiameter.py script on the commandline? I've searched the *.py source files for "program files" and the only place where "c:\program files" is used, is the economicdiameter.py script. I'll try to update this in the next installer release during the install process with the actual QGIS installation location. The Windows installer tries to look up the QGIS installation path from the registry (location of the uninstaller). I forgot to mention this. So people who have not used the Windows installer for Quantum GIS might experience some problems. In this case, you can specify the installation location on the commandline. For example: ghydraulic-setup-2.0.0.exe /D=c:\Quantum GIS\python\plugins In case this example does not help you, please provide your Quantum GIS installation location. I'll collect the information related to this problem in a bug report: https://sourceforge.net/tracker/index.php?func=detail&aid=1822872&group_id=5289&atid=105289 Regards, Steffen ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Tanslation of the release announcement
Hi, I would like to ask for volunteers to translate the release announcement for QGIS 0.9.0 into foreign languages and to send it out to mailing lists in your country. a first translation into german and french is done, please add more to: http://wiki.qgis.org/qgiswiki/Press_Releases if you need help, just ask... regards, Otto ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] Grass lib
On 10/30/07, Cemal Koplay <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I want to ask a questions about compiling with Visual Studio. I'am > trying compile qgis0.9.0 with Visual Studio 2005 with grass plugin but > i think i must have grass library that are compiled with visual > studio. Is it right and if it is right where can i find grass binaries > (lib files) that are compiled VS? DO I have to compile grass for this > purpose? AFAIK it's not possible to compile GRASS with VS - people compile it with MinGW. But C libraries should be binary compatible between compilers, so you shouldn't have a problem when compiling QGIS with MSVC using GRASS libs from MinGW. Someone correct me if I'm wrong. Martin ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Translation of new qgis user guide 0.9.0 can start
Hi, as you might have seen, we tagged an updated version of the qgis user guide a couple of days ago - compaired to the last one we extended it from 110 to 170 pages. If you are interested to translate the english latex sources into your favorite language we can provide a translation branch for you in the svn repository. The organization of the translation happens on the qgis-doc mailing list. If you are interested you can suscribe here: http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-doc more information about translating the user guide are provided here: http://wiki.qgis.org/qgiswiki/DocumentationWritersCorner regards, Otto ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Grass lib
Hi everyone, I want to ask a questions about compiling with Visual Studio. I'am trying compile qgis0.9.0 with Visual Studio 2005 with grass plugin but i think i must have grass library that are compiled with visual studio. Is it right and if it is right where can i find grass binaries (lib files) that are compiled VS? DO I have to compile grass for this purpose? Cemal ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Upload georeferenced image in GPS
Sorry if X-posting occurs : I hadn't registered to the list before I sent this and the "The original message you sent to the newsgroup will be posted within ten minutes" is now over an hour and a half old. Trying again. Hi All, I'm new to this list ! I watched the video showing how to use the GPS Tools plug-in to download waypoints from a GPS receiver and upload a route (http://qgis.org/flash/flashwrapper.php?filename=gpx_demo.swf) and then I tried it with success (except it was a bit of a pain to get Windows to see my GPS receiver to begin with). I have a couple of questions about uploading data into a GPS receiver for which I haven't found much documentation. First, when one uploads a route, one sees a number of 'RPT*' points that correspond to the vertices of the route. Is there a way to see a line connecting those points in the GPS ? Is there a setting I missed in the GPS Tools plugin ? Second, one of the use cases we have here is to shove some very specific large scale cartographic information of small areas that people are sent in the field to check for their validity. For example, someone does a photo-interpretation of wetlands for an area. We digitize the result and we use a GIS to superimpose relevant layers (roads, rivers, etc.) with adequate symbology. Once that is done, we make an image (.IMG) out of it and upload it to the GPS. The result is that a small square shows up and as one zooms in on sees the image. Someone in the field is charged with highlighting delineation differences as waypoints. Of course, it's a static graphic plane so we can't query objects on it, but the purpose really is to give a close-up geaographical picture of a small area without having a detailed layer for a whole continent. Our current procudure for this second point involves two pieces of software : - GPSMapEdit (http://www.geopainting.com/en/) to put the map together with labels and symbology, which results in an uploadable IMG file - MapUpload (http://mapwel.biz/down.htm) which allows up to upload the IMG files to a Garmin only GPS receiver Two issues I have are : 1) MapUpload only works for Garmin products and 2) both those software packages are non free, one being freeware and the other providing some access to the source but with pretty stringent licensing requirements. Is there a way I can do this with QGIS ? TIA for pointers, Yves Moisan ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] [QGIS-USER]: GHydraulic plugin, calculate economic diameters
Hi Steffen Thanks for the great work on your plugin. I am having difficulty registering the plugin in QGIS and I think it may be because you appear to have hard coded the paths. 'c:/Programme/Quantum GIS' appears several times in your code, but your README has instructions based on 'c:\Program Files\Quantum GIS'. I'm out of luck since my path doesn't match either of these. Regards Craig Leat ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] Upload georeferened image in GPS
Am Dienstag 30 Oktober 2007 15:01:10 schrieb Yves Moisan: > > Two issues I have are : 1) MapUpload only works for Garmin products and > 2) both those software packages are non free, one being freeware and the > other providing some access to the source but with pretty stringent > licensing requirements. > For uploading/downloading/viewing you can use QLandkarte http://qlandkarte.sf.net The older versions of gpsmapedit (0.98b for example) are completely free, it is only not allowed to remove the author's name from original source. Otherwise you can do whatever you like with this code. Oleg. ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Upload georeferened image in GPS
Hi All, I'm new to this list ! I watched the video showing how to use the GPS Tools plug-in to download waypoints from a GPS receiver and upload a route (http://qgis.org/flash/flashwrapper.php?filename=gpx_demo.swf) and then I tried it with success (except it was a bit of a pain to get Windows to see my GPS receiver to begin with). I have a couple of questions about uploading data into a GPS receiver for which I haven't found much documentation. First, when one uploads a route, one sees a number of 'RPT*' points that correspond to the vertices of the route. Is there a way to see a line connecting those points in the GPS ? Is there a setting I missed in the GPS Tools plugin ? Second, one of the use cases we have here is to shove some very specific large scale cartographic information of small areas that people are sent in the field to check for their validity. For example, someone does a photo-interpretation of wetlands for an area. We digitize the result and we use a GIS to superimpose relevant layers (roads, rivers, etc.) with adequate symbology. Once that is done, we make an image (.IMG) out of it and upload it to the GPS. The result is that a small square shows up and as one zooms in on sees the image. Someone in the field is charged with highlighting delineation differences as waypoints. Of course, it's a static graphic plane so we can't query objects on it, but the purpose really is to give a close-up geaographical picture of a small area without having a detailed layer for a whole continent. Our current procudure for this second point involves two pieces of software : - GPSMapEdit (http://www.geopainting.com/en/) to put the map together with labels and symbology, which results in an uploadable IMG file - MapUpload (http://mapwel.biz/down.htm) which allows up to upload the IMG files to a Garmin only GPS receiver Two issues I have are : 1) MapUpload only works for Garmin products and 2) both those software packages are non free, one being freeware and the other providing some access to the source but with pretty stringent licensing requirements. Is there a way I can do this with QGIS ? TIA for pointers, Yves Moisan ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] eliminations of "seams" between raster tiles?
If tiled rasters have different representations of same elevation (e.g., GTOPO tiles), the untidy "seams" between slightly darker/lighter representations of same level in neighbouring tiles are created. Same elevations look different across the map. Is there a possibility of layer "calibration"? Is there possibly some other, non-QGIS-specific way of remedying that? --- ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] Announcing the release of QGIS 0.9.0
Tim Sutton wrote: > It is our great pleasure to announce the immediate availability of > Quantum GIS (QGIS) Version 0.9.0. See below for press release: > > Many thanks. Each new version is a pleasure as the feature set grows and stability improves. In some early work I noticed on windows, displaying maps from a WMS server (mapserver 4.10.2) that the map image doesn't appear until I "do something". I have to open some other dialog box, then when I close it, the map appears. If I pan or zoom, I see the map layers *while panning*, but as soon I release the mouse the map layers (as well as north arrow and other decorations) disappear. If I click on the "Render" button to disable rendering, then click again to re-enable, the map appears. But again, any zooming or panning causes it to disappear. I've tried palying with the Rendering options "Update display after reading 1 feature", but that didn't change anything. On an Ubuntu machine with the debian binary (Thanks to Jachym Cepicky!), pulling layers from the same WMS server, I don't see this behavior at all. BTW, displaying layers using the WFS plugin from the same server works well on both systems. Regards, Micha -- Micha Silver Arava Development Co, Sapir, Israel tel: +972(8)6592270 cell: +972(52)3665918 ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user