Custom Query (95 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 95)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#41 fixed small fix needed to build against wx2.9 Olly Betts Wookey
Description

building against wx2.9 (on debian testing=wheezy) fails in namecompare.cc:

LL -DWXGTK -pthread -Wall -Wunused -Wshadow -Wpointer-arith -Wwrite-strings -Wcast-align -g -O2 -c -o aven-namecompare.o test -f 'namecompare.cc' || echo './'namecompare.cc namecompare.cc: In function ‘int name_cmp(const wxString&, const wxString&, int)’: namecompare.cc:33:41: error: operands to ?: have different types ‘int’ and ‘wxUniChar’ namecompare.cc:34:41: error: operands to ?: have different types ‘int’ and ‘wxUniChar’

This simple patch fixes it: Index: survex-1.2.6/src/namecompare.cc =================================================================== --- survex-1.2.6.orig/src/namecompare.cc 2013-04-09 01:30:08.000000000 +0100 +++ survex-1.2.6/src/namecompare.cc 2013-04-09 01:31:39.844104393 +0100 @@ -30,8 +30,8 @@

int name_cmp(const wxString &a, const wxString &b, int separator) {

size_t i = 0; while (1) {

  • int cha = (i == a.size() ? 0 : a[i]);
  • int chb = (i == b.size() ? 0 : b[i]);

+ int cha = (i == a.size() ? 0 : (int) a[i]); + int chb = (i == b.size() ? 0 : (int) b[i]);

/* done if end of either string */

if (!cha
!chb) return cha - chb;

It may be that there is a better fix but this does the basic job.

#42 duplicate 3dformat documentation not readable online Olly Betts Wookey
Description

The release contains 3dformat.htm, but whilst the main manual is made available to read online at http://survex.com/docs.html the 3dformat doc does not appear to be, which means you can't easily send someone a URL pointing to the docs. People would be a lot more likely to find the docs if they were discoverable in this way.

#43 fixed Add terrain surface visualisation Olly Betts Wookey
Description

We currently have surface data as legs, which can be used to make a terrain grid (using terraintool to import DEM data). A proper surface using openGL would make for much better visualisations, separate surface survey/GPS data from terrain models and allow later additton of map-draping and similar features.

Related features are data reading, a DEM survex data type, DEM import, co-ordinate conversion, and overlay images, but those are subjects for separate tickets.

Some work on this has been done in 2002 and 2011, as discussed in various 'Surface data' threads at: http://lists.survex.com/pipermail/survex/2011-September/thread.html Since then the survex VCS has been converted from SVN to git so the links are broken.

The important bits are these commits: r2035 8ed7e813da6bb872ef3d5d5f7064c3ad16ecb921 https://gitorious.org/survex/survex/commit/8ed7e813da6bb872ef3d5d5f7064c3ad16ecb921 r2059 33b2094393ec862b7206d12f49c9735a53d8fb88 https://gitorious.org/survex/survex/commit/33b2094393ec862b7206d12f49c9735a53d8fb88

And this is Stuart's hacky patch showing that the core if this is straightforward:

1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.