[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-user
Subject:    [GRASS-user] Selecting entries in a vector map
From:       Christopher Schroeder <christopher () boozecarriage ! com>
Date:       2013-10-25 18:37:14
Message-ID: CAN8HRdjWV1NXFFJ2G_AJTNGpgn7Q3EQncS69-s8VxAoBwm-DUw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I am new to grass, but not GIS (I was trained in ArcGIS in collage a year
or so ago.)  I feel like what I am trying to do is simple, yet I am not
having any luck.
I have two vector maps, one of zipcodes in New York State, and one of New
York counties.  The goal is to have a map of New York City by zipcode.  I
was going to select the New York City counties that are NYC (the fine folks
at the NYS gis repository already have this as a category in the County
file.)   Unfortunately, I cannot get past the first step.  Trying to use
the SQL query from the "GIS Attribute Table Manager" causes GRASS to crash
(I'm using windows GRASS.)   Using the selection option from d.vect causes
it to display nothing.  I'm not certain about the proper syntax for the SQL
query, but I have tried all the obvious options. the field is called NYS
and is Y/N.  So as far as I can tell, the SQL query should be something
like NYS = Y or NYS = "Y"
Do I need to install SQL under windows to have the SQL queries work? It
doesn't look like it as far as I can tell from the documentation.  am I
missing something with the SQL query? Is this a known bug?

Thanks for your Help,
Christopher

[Attachment #5 (text/html)]

<div dir="ltr">I am new to grass, but not GIS (I was trained in ArcGIS in collage a \
year or so ago.)  I feel like what I am trying to do is simple, yet I am not having \
any luck.<div>I have two vector maps, one of zipcodes in New York State, and one of \
New York counties.  The goal is to have a map of New York City by zipcode.  I was \
going to select the New York City counties that are NYC (the fine folks at the NYS \
gis repository already have this as a category in the County file.)   Unfortunately, \
I cannot get past the first step.  Trying to use the SQL query from the &quot;GIS \
Attribute Table Manager&quot; causes GRASS to crash (I&#39;m using windows GRASS.)   \
Using the selection option from d.vect causes it to display nothing.  I&#39;m not \
certain about the proper syntax for the SQL query, but I have tried all the obvious \
options. the field is called NYS and is Y/N.  So as far as I can tell, the SQL query \
should be something like NYS = Y or NYS = &quot;Y&quot;  </div> <div>Do I need to \
install SQL under windows to have the SQL queries work? It doesn&#39;t look like it \
as far as I can tell from the documentation.  am I missing something with the SQL \
query? Is this a known bug?</div><div> <br></div><div>Thanks for your \
Help,</div><div>Christopher</div><div><br></div></div>



_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic