[GRASS-dev] [GRASS GIS] #3414: v.import: ERROR: Invalid e-w resolution field: 0 when importing EU_LAEA point into Sinusoidal location

GRASS GIS trac at osgeo.org
Thu Sep 7 12:44:36 PDT 2017


#3414: v.import: ERROR: Invalid e-w resolution field: 0 when importing EU_LAEA
point into Sinusoidal location
---------------------------------+-------------------------
  Reporter:  neteler             |      Owner:  grass-dev@…
      Type:  defect              |     Status:  new
  Priority:  normal              |  Milestone:  7.2.2
 Component:  Projections/Datums  |    Version:  svn-trunk
Resolution:                      |   Keywords:  v.import
       CPU:  Unspecified         |   Platform:  Linux
---------------------------------+-------------------------

Comment (by neteler):

 Replying to [comment:10 mmetz]:
 > For v.in.ogr, some more changes are needed, see attached patch
 no_vector_default_region_2.diff (the patch also solves some TODOs).

 I get a compilation error:

 {{{
 [mneteler at oboe v.in.ogr ]$ make
 gcc  -O2 -march=native -std=gnu99 -fexceptions -fstack-protector -m64
 -fdiagnostics-color   -I/home/mneteler/software/grass73/dist.x86_64-pc-
 linux-gnu/include -I/home/mneteler/software/grass73/dist.x86_64-pc-linux-
 gnu/include   -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
 -I/usr/include/gdal -I/home/mneteler/software/grass73/dist.x86_64-pc-
 linux-gnu/include -I/home/mneteler/software/grass73/dist.x86_64-pc-linux-
 gnu/include -DRELDIR=\"vector/v.in.ogr\" -o OBJ.x86_64-pc-linux-gnu/main.o
 -c main.c
 main.c: In function ‘main’:
 main.c:886:35: error: ‘have_ogr_extents’ undeclared (first use in this
 function); did you mean ‘have_ogr_extent’?
      if (flag.no_clean->answer || !have_ogr_extents) {
                                    ^~~~~~~~~~~~~~~~
                                    have_ogr_extent
 main.c:886:35: note: each undeclared identifier is reported only once for
 each function it appears in
 make: *** [../../include/Make/Compile.make:32: OBJ.x86_64-pc-linux-
 gnu/main.o] Error 1
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3414#comment:12>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list