“Share the Road” Meeting

The Greenway & Trail Users Advisory group will be discussing “Share the Road” programs at their October 9 meeting. They meet at 7 PM at the GF Park District, 1210 – 7th avenue south. This meeting is open to residents of GF & EGF and is a place to discuss trails, outdoor recreation, and meet other outdoor enthusiasts. Check www.greenwayggf.com for more info.

From Engage the Forks at  http://www.engagetheforks.com/what-bugs-you/making-roadways-safer-for-drivers-and-cyclists.

Engage the Forks on MindMixer

Schaefs has mentioned MindMixer a time or two before in reference to Fargo.  The idea is that the city of Grand Forks could get suggestions and feedback about what is working and what isn’t, take stock of what seems important to people, and adjust things accordingly.

Now Grand Forks has one: Engage the Forks.  Will it work?  I’m cautiously optimistic.  If the site doesn’t become overrun with people who are negative about every single thing in their lives, and if the people who are supposed to be watching the site are, in fact, watching it, it could bring some great ideas forward.  I’ll be giving it a whirl.

I should note that this idea is nothing new, and even the MindMixer site design is just a rehash of the standard online message board/forum structure: there are message boards delineating the major topic groups (“categories”), sub-boards (“topics”) and the actual posts (“idea submissions”).  Posts are graded according to who agrees and/or comments on them, etc.  It’s interesting how different marketing of the features makes people more likely to use the system, and I wonder that if UND becomes more involved in Engage the Forks, will it become what http://talk.campusdakota.com (or even the defunct VoiceUND) was supposed to be?

Finally. Grand Forks Herald Endorses Mixed-Use Development

One major tenet of the complete streets movement is the promotion of mixed-use development, i.e., avoiding the “suburbia” problem by allowing dense residential and commercial space to be developed in the same area.  Gobal population and economic centers such as New York City, London, and Tokyo are prime examples of this model: build large buildings, put commercial space on the ground floor, and let people live upstairs.  The model is even mentioned in the Broadway show Rent, as Benny attempts to stop Maureen’s protest: “with condos on the top / whose rent keeps open our shops…”

The ubiquity of strip malls was mentioned to me before I moved to Grand Forks, almost seven years ago now.  With downtown gutted by the flood, developers moved to building commercial space wherever they could, as cheaply as possible, which resulted in a number of single-story strip malls built in commercial areas.  When I got here, I was surprised: why build single-story when you could build even higher and include apartments?  Nowhere does this seem sillier to me than north of the Ralph Engelstad Arena, where there are two strip malls taking up what could be some of the most valuable space “owned” by the University of North Dakota.  Dinkytown it ain’t, and even North Dakota State University has denser buildings on the edge of campus.

All of this brings me to this morning.  Just weeks after the announcement and positive review of a second WalMart (in a town of 55,000) by the powers-that-be, the Grand Forks Herald drops a bomb by coming out in favor of mixed-use development–and due to an online comment, no less.  I’ll skip past further expressions of shock.  Although the editorial sees mixed-use zoning as a way to alleviate the housing shortage, the additional implications are also positive for complete streets: reduction in the time/distance to commercial areas = reduction in miles driven (or even driving at all) = less traffic = safer-feeling streets = more people using alternative transportation = more people at “eye level” for businesses* = more economic activity = etc.

Is it possible in Grand Forks?  In Tom Dennis’ own words: “Well, let’s find out. The point is that it’s a fresh idea, one that the city now can set about exploring. And that kind of exploration is exciting because it’s the way problems get solved.”

OUR OPINION: Apartments on 32nd? Why not?
(A copy of the article is available on request.)

Using R to Create a Winner-Takes-All Raster from Point Data

 

I am to the point in my dissertation where I need to summarize a fair amount of data.  The full data structure will be in the final manuscript, but for now suffice it to say that I am storing data as latitude/longitude pairs in a flat-file database (and using Panorama Sheets to query and modify it as needed).  Point data can be exported from this database as a CSV (actually tab-separated) file and converted to a shapefile in QGIS.

For this project, the globe is divided into 1×1 degree cells.  Each cell in my study area contains at least one vector point in my locality shapefile (exported from te database, above).  Many cells contain multiple points, each of which may represent a locality interpreted as representing a different paleoenvironment than the others.  I am using R to summarize these data points into a raster for each time slice I wish to study.

The method below emplys a winner-takes-all method, which is to say that during conversion from point data to raster, the points within each cell are evaluated for the values in the field ‘env_id’ (environment ID number, since we can’t use text in a raster), and the most frequent value of ‘env_id’ “wins” the cell and becomes the value burned into the output raster.

### Converting a point shapefile (with environment in numeric 
### field env_id) into a raster
### Winner-takes-all.

# Load libraries for raster, maptools and mode
library(raster);
library(maptools);
library(modeest);

# Read in the locality point shapefile
locs<-readShapePoints("shapefile.shp");

# Make the base raster.
basegrid<-raster(ncols=360, nrows=180);

# Create a subset for the age you are looking at
locs_subset<-subset(locs,locs$time_slice==10);

# Convert the locality shapefile to raster.  Use the most frequent 
# value of numeric field 'env_id'.
r<-rasterize(locs_subset, basegrid, field='env_id', fun=function(x, ...){mfv(x)[1]});

# View the plot (centered on SA)
plot(r,xlim=c(-100,-30),ylim=c(-70,52));

# View the plot (all)
# plot(r);

# Write the raster to file
writeRaster(r,"10 Ma.gtiff","GTiff");

 

Output from R looks something like the top image, and can be manipulated as any other raster in QGIS etc.  Scale bar shows the numeric values used to represent different paleoenvironments in the raster; it’s not actually a continuous scale but I didn’t have a need to change the default R output.

Additional notes:

  • In rasterize(), to use a function other than the ones enumerated in the docs, it needs to be defined within the call to rasterize() is used above and here.
  • One example of reading in shapefile data to R is here.
  • I learned about package modeest here.

GPlates Sample Data

If you are looking for the official Sample Data for GPlates, included automatically with the Linux installation but not for OS X or Windows, it is available from the Sourceforge site.

GPlates 1.2 download folder – gplates-1.2-sample-data.zip

I am including a list of files here (below the break) in case others like me were wondering where they got some data.  I am not responsible for these data, I just needed to re-download them and couldn’t find the source.

SampleData

CptFiles
DataBundleForNovices
FeatureCollections
LICENSE.txt
Rasters
contents.txt

./CptFiles:
feature_age.cpt
isochrons_and_ridges.cpt
plate_id_categorical.cpt
plate_id_regular.cpt

./DataBundleForNovices:
Global_EarthByte_GPlates_Coastlines_20111013.gpml
Global_EarthByte_GPlates_Coastlines_GridMarks_20110624.gpml
Global_EarthByte_GPlates_PresentDay_COBs_20110610.gpml
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927.gpml
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.gpml
Global_EarthByte_GPlates_Rotation_20100927.rot
README

./FeatureCollections:
COBs
Coastlines
Isochrons
Palaeomagnetism
Rotations
SpreadingRidges
StaticPolygons

./FeatureCollections/COBs:
Global_EarthByte_GPlates_PresentDay_COBs_20110610.dat
Global_EarthByte_GPlates_PresentDay_COBs_20110610.gpml
Global_EarthByte_GPlates_PresentDay_COBs_20110610.xy
README
Shapefile

./FeatureCollections/COBs/Shapefile:
Global_EarthByte_GPlates_PresentDay_COBs_20110610.dbf
Global_EarthByte_GPlates_PresentDay_COBs_20110610.prj
Global_EarthByte_GPlates_PresentDay_COBs_20110610.shp
Global_EarthByte_GPlates_PresentDay_COBs_20110610.shp.gplates.xml
Global_EarthByte_GPlates_PresentDay_COBs_20110610.shx

./FeatureCollections/Coastlines:
Global_EarthByte_GPlates_Coastlines_20111013.dat
Global_EarthByte_GPlates_Coastlines_20111013.gmt
Global_EarthByte_GPlates_Coastlines_20111013.gpml
Global_EarthByte_GPlates_Coastlines_20111013.xy
Global_EarthByte_GPlates_Coastlines_GridMarks_20110624.dat
Global_EarthByte_GPlates_Coastlines_GridMarks_20110624.gpml
Global_EarthByte_GPlates_Coastlines_GridMarks_20110624.xy
README
Shapefile

./FeatureCollections/Coastlines/Shapefile:
Global_EarthByte_GPlates_Coastlines_20111013.dbf
Global_EarthByte_GPlates_Coastlines_20111013.prj
Global_EarthByte_GPlates_Coastlines_20111013.sbn
Global_EarthByte_GPlates_Coastlines_20111013.sbx
Global_EarthByte_GPlates_Coastlines_20111013.shp
Global_EarthByte_GPlates_Coastlines_20111013.shp.gplates.xml
Global_EarthByte_GPlates_Coastlines_20111013.shp.xml
Global_EarthByte_GPlates_Coastlines_20111013.shx

./FeatureCollections/Isochrons:
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927.dat
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927.gpml
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927.xy
README
Shapefile

./FeatureCollections/Isochrons/Shapefile:
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927_polyline.dbf
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927_polyline.prj
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927_polyline.shp
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927_polyline.shp.gplates.xml
Global_EarthByte_GPlates_PresentDay_Isochrons_20100927_polyline.shx

./FeatureCollections/Palaeomagnetism:
LICENSE.txt
README
gpml
vgp

./FeatureCollections/Palaeomagnetism/gpml:
Europe2004_RM_Npoles.vgp.gpml
Gondwana2010_RM_NPoles.vgp.gpml
Laurussia2010_RM_NPoles.vgp.gpml
NorthAmerica2004_RM_Npoles.vgp.gpml

./FeatureCollections/Palaeomagnetism/vgp:
Europe2004_RM_Npoles.vgp
Gondwana2010_RM_NPoles.vgp
Laurussia2010_RM_NPoles.vgp
NorthAmerica2004_RM_Npoles.vgp

./FeatureCollections/Rotations:
Global_EarthByte_GPlates_Rotation_20100927.rot
Global_EarthByte_PlateIDs_20071218.pdf

./FeatureCollections/SpreadingRidges:
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.dat
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.gpml
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.xy
README
Shapefile

./FeatureCollections/SpreadingRidges/Shapefile:
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.dbf
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.prj
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.shp
Global_EarthByte_GPlates_PresentDay_Ridges_20100927.shx

./FeatureCollections/StaticPolygons:
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.gmt
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.gpml
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.xy
Shapefile

./FeatureCollections/StaticPolygons/Shapefile:
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.dbf
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.prj
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.sbn
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.sbx
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.shp
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.shp.gplates.xml
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.shp.xml
Global_EarthByte_GPlates_PresentDay_StaticPlatePolygons_20111012.shx

./Rasters:
DNSC08GRA_6m.gpml
DNSC08GRA_6m.jpg
Time-dependent raster sequences
agegrid_6m.gpml
agegrid_6m.nc
agegrid_6m.nc.aux.xml
color_etopo1_ice_low.gpml
color_etopo1_ice_low.jpg

./Rasters/Time-dependent raster sequences:
dynamic topography

./Rasters/Time-dependent raster sequences/dynamic topography:
LICENSE.txt
README.txt
jpg

./Rasters/Time-dependent raster sequences/dynamic topography/jpg:
credits.txt
dynto-0.jpg
dynto-1.jpg
dynto-10.jpg
dynto-100.jpg
dynto-11.jpg
dynto-12.jpg
dynto-13.jpg
dynto-14.jpg
dynto-15.jpg
dynto-16.jpg
dynto-17.jpg
dynto-18.jpg
dynto-19.jpg
dynto-2.jpg
dynto-20.jpg
dynto-21.jpg
dynto-22.jpg
dynto-23.jpg
dynto-24.jpg
dynto-25.jpg
dynto-26.jpg
dynto-27.jpg
dynto-28.jpg
dynto-29.jpg
dynto-3.jpg
dynto-30.jpg
dynto-31.jpg
dynto-32.jpg
dynto-33.jpg
dynto-34.jpg
dynto-35.jpg
dynto-36.jpg
dynto-37.jpg
dynto-38.jpg
dynto-39.jpg
dynto-4.jpg
dynto-40.jpg
dynto-41.jpg
dynto-42.jpg
dynto-43.jpg
dynto-44.jpg
dynto-45.jpg
dynto-46.jpg
dynto-47.jpg
dynto-48.jpg
dynto-49.jpg
dynto-5.jpg
dynto-50.jpg
dynto-51.jpg
dynto-52.jpg
dynto-53.jpg
dynto-54.jpg
dynto-55.jpg
dynto-56.jpg
dynto-57.jpg
dynto-58.jpg
dynto-59.jpg
dynto-6.jpg
dynto-60.jpg
dynto-61.jpg
dynto-62.jpg
dynto-63.jpg
dynto-64.jpg
dynto-65.jpg
dynto-66.jpg
dynto-67.jpg
dynto-68.jpg
dynto-69.jpg
dynto-7.jpg
dynto-70.jpg
dynto-71.jpg
dynto-72.jpg
dynto-73.jpg
dynto-74.jpg
dynto-75.jpg
dynto-76.jpg
dynto-77.jpg
dynto-78.jpg
dynto-79.jpg
dynto-8.jpg
dynto-80.jpg
dynto-81.jpg
dynto-82.jpg
dynto-83.jpg
dynto-84.jpg
dynto-85.jpg
dynto-86.jpg
dynto-87.jpg
dynto-88.jpg
dynto-89.jpg
dynto-9.jpg
dynto-90.jpg
dynto-91.jpg
dynto-92.jpg
dynto-93.jpg
dynto-94.jpg
dynto-95.jpg
dynto-96.jpg
dynto-97.jpg
dynto-98.jpg
dynto-99.jpg
dynto.gpml