7,299 reputation
656148
bio website djq.me
location Cambridge, MA
age
visits member for 4 years, 6 months
seen yesterday

interested in postgis, geodjango, qgis, python and R

cofounder of coUrbanize

tweet tweet: @djq


Feb
18
revised What does the code RTTYP represent in the USA Tiger road files?
edited body
Feb
18
revised What does the code RTTYP represent in the USA Tiger road files?
added 249 characters in body
Feb
18
asked What does the code RTTYP represent in the USA Tiger road files?
Feb
17
comment Creating raster by randomly choosing cell value from multiple overlapping rasters?
hmm, good point @whuber. So what does it mean to exclude NoData? Is it just to make sure that they are not picked when randomly choosing?
Feb
17
comment Creating raster by randomly choosing cell value from multiple overlapping rasters?
I think you can create conditions using something like this in the raster calculator Con(IsNull(ras1), 0, ras2)
Feb
17
comment Display a WFS layer with OpenLayers
If you are using firefox I've found httpfox also useful for examining GET/POST commands. It has a little more detail than firefox for somethings: addons.mozilla.org/en-US/firefox/addon/httpfox Also, the javascript terminal in Chrome can give errors described slightly differently, which can be helpful.
Feb
15
revised How to install GDAL with TIFF support on Linux?
added 16 characters in body
Feb
14
comment How to split a polygon into multiple equal-width polygons in ArcMap 10?
Fishnet does exist in ArcGIS 10.
Feb
14
accepted How can I calculate the average width of a polygon?
Feb
14
comment Using SearchCursor to access & export values in a raster table
Hi Ryan - First, does an attribute table definitely exist? Secondly, does it have to be in arcpy? You can just try a simple export from the attribute table if you urgently need the data. Thirdly, are you reading in the raster properly? You can't read in the file using the name unless you set the working directly properly using something like env.workspace = r"D:\DATA\\", after the line from arcpy import env
Feb
14
comment How can I calculate the average width of a polygon?
Thanks Scro, it's not currently in PostGIS, but it's pretty quick to load in. I think I'll try @whuber's approach first but I will compare it to the results from PostGIS (and thank you for the offer of SQL help, but I should be able to manage). Mainly trying to get the approach clear in my head first.
Feb
14
comment How can I calculate the average width of a polygon?
that's true! In this case, my centerlines are not the same length, but I could always join them as one, and split them per polygon.
Feb
14
comment How can I calculate the average width of a polygon?
Thanks @whuber that is a great answer and it has helped me to think about it a lot more clearly.
Feb
13
comment How can I calculate the average width of a polygon?
@DanPatterson I didn't see any question like this (many are related, of course). Did you mean that my question was flagged? I didn't understand your second line.
Feb
13
revised How can I calculate the average width of a polygon?
added 344 characters in body
Feb
13
revised How can I calculate the average width of a polygon?
edited title
Feb
13
asked How can I calculate the average width of a polygon?
Feb
13
comment How can I dynamically supply the value of mapextents to the Mapfile?
Thanks for the help thus far. So if I wanted to pass a polygon, how would it be structured? I see points are ...&map_layer[3]=FEATURE+POINTS+500000+1000000+END+TEXT+'A+test+point'+END&... but I can't see polygons anywhere (unless I'm missing something).
Feb
13
comment How to generate a thumbnail of an openlayers map?
wonderful! I look forward to it, thanks.
Feb
13
comment How to generate a thumbnail of an openlayers map?
I'd love to see other examples! I'm unfamiliar with the Openlayers development process, so I'm not sure if it's necessary for me to change all of my code so it works with this development version, or whether to wait....