[GRASS-dev] Re: [GRASS-user] 'where' sql command in d.vect and
others
Glynn Clements
glynn at gclements.plus.com
Sat Mar 24 21:48:15 EDT 2007
Seb wrote:
> > However, the same doesn't work within the display manager with, for
> > instance, d.vect. In that case, the 'where' parameter ends up within
> > braces in the actual call.
>
> Some more fiddling led me to find out the correct syntax in display
> manager:
>
> str_3='"W Arctic"'
>
> which creates a valid sql query and the map plots correctly. However,
> this runs into another problem with d.out.file from a display of the
> queried map and says:
>
>
> Sorry <Arctic'> is not a valid option
>
>
> Could this be a bug? If the 'where' statement does its job with this
> string, I would have expected d.out.file to work too.
I suspect that this is a bug in G_recreate_command().
What does "d.save -a" output?
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list