[GRASS-user] more plotting errors
Anna Petrášová
kratochanna at gmail.com
Wed May 17 21:28:20 PDT 2017
On Wed, May 17, 2017 at 3:56 PM, Tyler Smith <tyler at plantarum.ca> wrote:
> On Wed, May 3, 2017, at 12:32 PM, Anna Petrášová wrote:
>> On Wed, May 3, 2017 at 11:30 AM, Tyler Smith <tyler at plantarum.ca> wrote:
>> > Hi again,
>> >
>> > Having solved my GUI/Python issues from yesterday, I'm now getting
>> > different errors when querying vector maps in the wx0 display:
>> >
>> > Steps to reproduce:
>> >
>> > GRASS 7.2.0 installed from Debian repository, using
>> > GRASS_PYTHON=python2.7 (which is also installed from Debian)
>> >
>> > grass -text
>> > d.mon start=wx0
>> > d.vect map=myVectorMap
>> >
>> > <select the "Query vector maps" icon>
>> > <click on a line vector>
>> > <fail!>
>> >
>> I would guess it's something specific in your data. Could you post
>> v.what output (json output) for that feature?
>>
>
> Thank you for your help. I've been away from the office, just getting
> back to this. Here's the json output for a polygon that generates the
> same error reported before:
>
> blandings:PERM> v.what -j map=Obs_20170329 at PERMANENT
> coordinates=1548324.30568,12154706.4547
> {"Coordinates": {"East": "1548324.30568", "North": "12154706.4547"},
> "Maps":
> [{"Map": "Obs_20170329",
> "Mapset": "PERMANENT",
> "Type": "Area",
> "Area_height": 0.000000,
> "Sq_Meters": 3086589.260,
> "Hectares": 308.659,
> "Acres": 762.713,
> "Sq_Miles": 1.1917,
> "Categories": [
> {"Layer": 1, "Category": 2744},
> {"Layer": 1, "Category": 13236},
> {"Layer": 2, "Category": 2}]}]}
>
> I don't understand that, but is it suspicious to see two different
> categories in the same layer?
>
Are you sure this is the feature causing the error? This seems to be
ok. Can you also post the output of
grass.vector_what(map='Obs_20170329 at PERMANENT',
coord=(1548324.30568,12154706.4547), distance=100)
?
Thank you
> Best,
>
> Tyler
More information about the grass-user
mailing list