Re: [R-sig-Geo] RPyGeo Query -- probably easy

2009-12-21 Thread Maarten van Strien
Hi, Thank you Alexander, your solution seems to work! Best, Maarten Hi, yes, the quotes are indeed tricky... The challenge is to provide the correct mix of escaped and un-escaped single and double quotes to Python / ArcGIS as in this Python example: gp.select_analysis("nfroads.shp", "pave

Re: [R-sig-Geo] RPyGeo Query -- probably easy

2009-12-18 Thread Maarten van Strien
Andrew, thanks for your reply! I tried exactly your command, but still the resulting rpygeo.py file contains the following line: gp.select_analysis( "nfroads.shp", "paved.shp", "\"ROAD_CLASS\" = 'PAVED' " ) So the \"ROAD_CLASS\" = 'PAVED' is still surrounded by double quotes ("). I have tried ma

Re: [R-sig-Geo] RPyGeo Query -- probably easy

2009-12-17 Thread Maarten van Strien
ROAD_CLASS" = 'PAVED' is surrounded by " (double quotation marks). The code would work fine if "ROAD_CLASS" = 'PAVED' would be surrounded by ' (single quotation mark). I have tried this by manually editing the rpygeo.py file. My question is if anyone