Re: [Gvsig_english] Point2Point Comparison
Hello, Simon. Starting from the DBF file you sent some days ago, you can do this: - Add the DBF file as a table in gvSIG - Create an event theme (point layer) using for example the EPSG:4202 columns and save it as a shapefile - Create a view in EPSG:4283 and add the previous shapefile (on-the-fly reprojection using the gsb file) - Create two new columns of type DOUBLE (for example new_lon and new_lat) - With the field calculator, set those columns to the reprojected values using the functions x() and y() - Now you can compare the resulting values with the EPSG:4283 columns your DBF file had from the start and were not used before The formulas for distance and bearing can be found easily. This nice website mentions two different formulas and says one of them is not very good for very small distances: http://www.movable-type.co.uk/scripts/latlong.html All those formulas are supported by the field calculator. Perhaps you cannot do all that in one step and need to create several new columns (type DOUBLE) to obtain a final result. Of course this can be done also with projected coordinates (in meters) and you'll simply need to compute the euclidean distance. Regards, Juan Lucas Domínguez Rubio --- Prodevelop SL, Valencia (España) Tlf.: 96.351.06.12 -- Fax: 96.351.09.68 http://www.prodevelop.es http://www.prodevelop.es/ --- De: gvsig_internacional-boun...@listserv.gva.es en nombre de Simon Cropper (Botanicus Australia Pty Ltd) Enviado el: mié 02/12/2009 9:48 Para: Users and Developers mailing list Asunto: Re: [Gvsig_english] Point2Point Comparison Jorge, Any idea how I might calculate the euclidean distance using the field calculator? The calculator can only interact with one file at a time, how would you manage two tables? Cheers Simon Simon Cropper Botanicus Australia Pty Ltd PO Box 160, Sunshine, Victoria 3020. P: 9311 5822. M: 041 830 3437. mailto: scrop...@botanicusaustralia.com.au mailto:scrop...@botanicusaustralia.com.au web: www.botanicusaustralia.com.au http://www.botanicusaustralia.com.au http://www.botanicusaustralia.com.au/ Jorge Gaspar Sanz Salinas wrote: On 01/12/09 23:01, Simon Cropper (Botanicus Australia Pty Ltd) wrote: Hi Guys, Is anyone aware of a utility where you can compare two point layers and get back a table of distances and bearing between each point. I know Sextante can have a file look at itself, so it is possible to merge a file and run this routine but I find that this creates a cumbersome matrix that needs to be disassembled. A file with the following fields would be desirable ID_FILE1, ID_FILE2, DISTANCE and BEARING, with one record representing one comparison. Simon, If you have common IDs for the layers, you can do that with a little bit of work on the field calculator, extrancting coordinates and calculating the euclidean distance (if it's sensible) For a more automated way: Sextante development or some scripting. Nice use case, indeed. Cheers Jorge ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
Re: [Gvsig_english] gvSIG and Windows 7
And the third option, of course, is to delete Windows and install Ubuntu 9.04 or 9.10. The best one, I think. You don't need to buy Microsoft Office, Photoshop, etc. Enrique Lorenzo Herrero Técnico INSTITUTO TECNOLÓGICO AGRARIO Junta de Castilla y León, Consejería de Agricultura y Ganadería Ctra. Burgos Km. 119 47071 Valladolid España De: gvsig_internacional-boun...@listserv.gva.es [mailto:gvsig_internacional-boun...@listserv.gva.es] En nombre de silvio grosso Enviado el: domingo, 06 de diciembre de 2009 9:44 Para: Users and Developers mailing list Asunto: Re: [Gvsig_english] gvSIG and Windows 7 Hello Da Kn, At present, gvSIG 1.9 doesn't support totally Windows 7. This is a pity because, in my opinion, Windows 7 is much better than Windows Vista (well, it is easy to surpass Vista). If you wish to buy a new computer with Windows 7 I suggest you to go for one which sports the two most expensive versions. In short, the Professional or the Ultimate versions (see this link: http://en.wikipedia.org/wiki/Windows_7_editions#Comparison_chart). With these two versions you can download for free from Microsoft a version of Windows xp and run it through Virtual Pc. I know it is a bit complicated but, for the time being, it is the only option to run gvSIG, on Windows 7, with all its functionalities working. As suggested by other users you can also run gvSIG on Linux (e.g. with Ubuntu). To do so, with all versions of Windows 7, you can download for free VirtualBox (http://www.virtualbox.org/) and run Linux and its version of gvSIG on it. Needless to say, another completely different option, is to dual boot your computer (with Linux and Windows 7 or Windows xp and Windows 7). Best regards, Silvio ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
Re: [Gvsig_english] gvSIG and Windows 7
Benjamin Ducke ha scritto: My guess is, the problem is not any Java code but the few pieces of native C code that reside in wrapped C interfaces such as GDAL and are called via JNI. So updating those C libraries and relinking them under Windows 7 could solve the problem. Ben, I'm agree with you about this... I could not find any notes on GDAL and Windows 7, but it seems there were some problems with Vista and GDAL 1.6.0: http://www.mail-archive.com/gdal-...@lists.osgeo.org/msg01533.html These problems were solved including the required VC9 DLLs and repackaging GDAL 1.6.0 with the VC9 manifest [1]. So GDAL 1.6.0 [2] should work fine on MS=Vista. Currently, gvSIG 1.9 uses GDAL 1.5, so this is where I would look first. However, this is just a guess. Maybe GDAL is not even the real culprit here! Dependency Walker [3] on jgdal092.dll returns that there are some unsatisfied dependencies on Vista and so on..., so I think that this is probably the main issue. However, I'm not a C/C++ developer... Best regards, Antonio [1] http://www.mail-archive.com/gdal-...@lists.osgeo.org/msg01538.html [2] http://download.osgeo.org/gdal/win32/1.6/gdalwin32exe160.zip [3] http://www.dependencywalker.com/ -- Antonio Falciano http://www.linkedin.com/in/antoniofalciano ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
Re: [Gvsig_english] gvSIG and Windows 7
Hi Enrique, Enrique wrote: And the third option, of course, is to delete Windows and install Ubuntu. The best one, I think. You don't need to buy Microsoft Office, Photoshop, Thanks for pointing it out ;-) At home, I use Ubuntu Karmic and I am really really happy about it :-) gvSIG make wonders on it. Unfortunately, in Italy, sometimes it is not always convenient to delete Windows. In short: 1.Nearly all computers have already installed Windows 7 or Vista and it is really difficult to get your money back from the supplier if you want to delete it. You could even lose the warrant on your computer (if something breaks down you are). 2. Secondly, why you should delete something you have just bought? For Windows Vista the OEM licence for every computer was around 50-70 euros or so which is not much but it is though something. 3. Many Italian public softwares run only on Windows, e.g. those for paying your taxes through Internet. 3. Wine it is not a solution for many softwares (e.g. Autocad and many others, e.g. games). If you have bought them I am pretty sure you desire to continue using them :-) 4. In order to run Linux on a new computer with nothing installed you need to know it very well. It is true you can buy a Dell, for example, which is quite compatible with Linux (e.g. Ubuntu). Nonetheless, why you should be forced to choose Dell instead of Toshiba or something like that? I do hope Linux one day will be the only system on all computers. In my opinion, Linux is much better than Windows in many respects. At present, unfortunately, in my opinion, it is not possible to do so for many users. On top of that, I do think Windows 7 is much better than Vista and Windows Xp. Quite simply because, Microsoft can't afford to fail another time :-) Best regards Silvio ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
Re: [Gvsig_english] gvSIG and Windows 7 and Windows XP
Hi Lars-Göran, about gvsig 1.1.2 and 3D pilot extension, the 3D part was only a preliminary work, so not many functionalities are expected to work. about gvsig 1.9+3D extension with bn10, Not all kind of shp with Z can be loaded, by now only a small set of them, I will try to add the possibility to select which attribute could be used for heights in the next build. About DEM files, are they loaded in a standard View?. If they are loaded correctly then the problem is on the 3D part :), I know not always is possible but could you send me a DEM example file?, so I can test it. About gui render problems is a known problem, hard to solve, but we are working in a proper solution, If you have installed the 3D extension I recommend you use the DockingManager Skin (you can change it in preferences panel), maybe some of the gui issues will be solved with this skin. Rafa. 2009/12/7 Lars-Göran Edholm lged.mor...@gmail.com: Hi again! Running Gvsig1.1.1 + 1.1.2 + 3D pilot in Windows XP no - problems to load DEM files in 3D Running Gvsig1.9 + gvsig 3D extension in WindowsXP - no problems to load regular image files but DEM files never show up in the map window, just in the layer list and the application has problem to render the GUI Running Gvsig1.9 + gvsig 3D extension in WindowsXP loading shp-files with Isocurves and Z only shows the curves flat (2D) in 3D Has anyone succeded to run Gvsig1.9 + gvsig 3D extension in WindowsXP in 3D with DEM files? Lars-Göran ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
Re: [Gvsig_english] gvSIG and Windows 7
Silvio: Good abstract, I agree with you, unfortunately!. The same reasons are all valid in Spain. Regards. Enrique Lorenzo Herrero Técnico INSTITUTO TECNOLÓGICO AGRARIO Junta de Castilla y León Consejería de Agricultura y Ganadería Ctra. Burgos Km. 119 FINCA ZAMADUEÑAS 47071 Valladolid España T +34 983 412 833 lorhe...@itacyl.es www.itacyl.es -Mensaje original- De: gvsig_internacional-boun...@listserv.gva.es [mailto:gvsig_internacional-boun...@listserv.gva.es] En nombre de silvio grosso Enviado el: lunes, 07 de diciembre de 2009 10:58 Para: Users and Developers mailing list Asunto: Re: [Gvsig_english] gvSIG and Windows 7 Hi Enrique, Enrique wrote: And the third option, of course, is to delete Windows and install Ubuntu. The best one, I think. You don't need to buy Microsoft Office, Photoshop, Thanks for pointing it out ;-) At home, I use Ubuntu Karmic and I am really really happy about it :-) gvSIG make wonders on it. Unfortunately, in Italy, sometimes it is not always convenient to delete Windows. In short: 1.Nearly all computers have already installed Windows 7 or Vista and it is really difficult to get your money back from the supplier if you want to delete it. You could even lose the warrant on your computer (if something breaks down you are). 2. Secondly, why you should delete something you have just bought? For Windows Vista the OEM licence for every computer was around 50-70 euros or so which is not much but it is though something. 3. Many Italian public softwares run only on Windows, e.g. those for paying your taxes through Internet. 3. Wine it is not a solution for many softwares (e.g. Autocad and many others, e.g. games). If you have bought them I am pretty sure you desire to continue using them :-) 4. In order to run Linux on a new computer with nothing installed you need to know it very well. It is true you can buy a Dell, for example, which is quite compatible with Linux (e.g. Ubuntu). Nonetheless, why you should be forced to choose Dell instead of Toshiba or something like that? I do hope Linux one day will be the only system on all computers. In my opinion, Linux is much better than Windows in many respects. At present, unfortunately, in my opinion, it is not possible to do so for many users. On top of that, I do think Windows 7 is much better than Vista and Windows Xp. Quite simply because, Microsoft can't afford to fail another time :-) Best regards Silvio ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional ___ Gvsig_internacional mailing list Gvsig_internacional@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional