-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ultra-green cities issue #22
Comments
@rickmcgeer there is a test case on greenspace.py. |
@cmatthew @stredger @yyzhuang It's hanging in an ogrinfo command in trim.crop. I can run the command from the command line and it works fine, but it produces 100KB in output. So I am wondering if we are running into a situation where the process can't continue until python reads something from the pipe |
The command is ogrinfo /tmp/tmpXaXw2p/tmp/19804.shp 19804, and |
Does it produce a lot of output? there is p.communicate(). On 2013-03-09, at 5:30 PM, rickmcgeer [email protected] wrote:
|
stackoverflow claims when you blow the buffers stuff hangs. I'm trying subprocess.check_output |
Which py file? Can I take a look? |
trim.py. I'm playing with the copy on grack06: /usr/local/src/greencities |
Just curious.. reproject_shapefile(full_shapefile, shapefile, new_projcode, shapefile_tmpDir) what's the use of full_shapefile, if you already have a parameter called shapefile? in here: cmd = 'ogr2ogr -s_srs "EPSG:32624" -t_srs "EPSG:' + new_projcode + '" ' + new_fil + " " + full_shapefile |
I dunno. I think one is used as the location of the file, the other is used to pick out the names of the rows to reproject inside the shapefile. Or something like that? On 2013-03-10, at 3:51 PM, Yanyan Zhuang [email protected] wrote:
|
Full shapefile is the fully qualified name of the shapefile Sent via the Samsung Galaxy S™III, an AT&T 4G LTE smartphone -------- Original message -------- I dunno. I think one is used as the location of the file, the other is used to pick out the names of the rows to reproject inside the shapefile. Or something like that? On 2013-03-10, at 3:51 PM, Yanyan Zhuang [email protected] wrote:
|
I should really expand on this. Our previous version of the code was On Sun, Mar 10, 2013 at 8:23 PM, Rick [email protected] wrote:
|
LA and some other ciites turn out to look very green. No one knows why.
The text was updated successfully, but these errors were encountered: