Skip to content

Commit

Permalink
#550 update sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Jan 27, 2017
1 parent 5198b1f commit 86364fd
Show file tree
Hide file tree
Showing 61 changed files with 19 additions and 169 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed BuildTools/CommonDistFiles/web_plugins/atl_hom.png
Binary file not shown.
Binary file removed BuildTools/CommonDistFiles/web_plugins/coldept.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed BuildTools/CommonDistFiles/web_plugins/grid100.png
Binary file not shown.
Binary file removed BuildTools/CommonDistFiles/web_plugins/grid100s.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/grid77.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/hou_hom.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/juvenile.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/ndvigrid.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/ohlung.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/ohutm.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/oz96_utm.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/oz9799.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/pitt93.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/pitt94.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/pitthom.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/police.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/rosas1999.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/rosas2001.png
Diff not rendered.
Diff not rendered.
Binary file modified BuildTools/CommonDistFiles/web_plugins/samples.sqlite
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/scotlip.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/sids2.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/south.png
Diff not rendered.
Binary file removed BuildTools/CommonDistFiles/web_plugins/stl_hom.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
2 changes: 1 addition & 1 deletion DialogTools/ConnectDatasourceDlg.cpp
Expand Up @@ -971,7 +971,7 @@ void ConnectDatasourceDlg::InitSamplePanel()
{
wxBoxSizer* sizer;
sizer = new wxBoxSizer( wxVERTICAL );
int n = 57;
int n = 10;
for (int i=0; i<n; i++) {
wxString sample_name = GdaConst::sample_names[i];
wxString sample_ds_name = GdaConst::sample_datasources[i];
Expand Down
186 changes: 18 additions & 168 deletions GdaConst.cpp
Expand Up @@ -22,130 +22,31 @@
#include "GenUtils.h"
#include <wx/mstream.h>

// 10 local + 29 http
const char* GdaConst::sample_names[] = {
"US County Homicides",
"House Prices Baltimore",
"House Prices Boston",
"Columbus neighborhood crime",
"SIDS2: North Carolina county SIDS death counts and rates",
"Nepal Aid: Health, poverty and education indicators",
"NYC Subborough Data",
"Columbus Crime",
"NC SIDS",
"Nepal Aid",
"NYC Data",
"Malaria Colombia Cities",
"Phoenix ACS: Phoenix American Community Survey Data 2010",
"San Francisco Crime: July-Dec 2012 crime incidents",

"Buenosaires: Electoral Data for 1999 Argentinean Elections",
"Milwaukee1: WI 2000 Census Tract Data",
"Malaria in Colombia: departments-incidence and population",
"StLouis: St Louis Region Homicides counts and rates",
"Atlanta, GA region homicide counts and rates",
"Charleston1: SC MSA 2000 Census Tract Data",
"Charleston1: SC counties 2000 Census Tract Data",
"Charleston2: 1998 and 2001 Zip Code Business Patterns",
"Grid100: Grid with simulated variables",
"Hickory1: NC MSA 2000 Census Tract Data for Hickory",
"Hickory1: NC counties 2000 Census Tract Data for Hickory",
"Hickory2: 1998 and 2001 Zip Code Business Patterns ",
"Houston: region homicide counts and rates",
"Juvenile: Cardiff juvenile delinquent residences",
"Lansing1: MI counties 2000 Census Tract Data",
"Lansing1: MI MSA 2000 Census Tract Data",
"Lansing2: 1998 and 2001 Zip Code Business Patterns",
"Laozone: Ozone measures at monitoring stations in LA basin",
"LasRosas1999: Corn yield, fertilizer and field data",
"LasRosas2001: Corn yield, fertilizer and field data",
"Milwaukee2: 1998 and 2001 Zip Code Business Patterns",
"NCOVR: US county homicides 1960-1990",
"NDVI: Normalized Difference Vegetation Index grid",
"Ohiolung: UTM zone lung cancer data, 1968, 1978, 1988",
"Ohiolung: OH counties lung cancer data, 1968, 1978, 1988",
"Orlando1: Counties 2000 Census Tract Data",
"Orlando1: Final Census 2000 Census Tract Data",
"Orlando2: MSA 1998 and 2001 Zip Code Business Patterns",
"Oz9799: Monthly ozone data, 1997-99",

"Pittsburgh: 1993 homicide locations",
"Pittsburgh: 1994 homicide locations",
"Pittsburgh: 1993 1994 homicide locations",
"Police: Police expenditures Mississippi counties",
"Sacramento1: 2000 Census Tract Data",
"Sacramento2: 1998 and 2001 Zip Code Business Patterns",

"Savannah1: GA MSA 2000 Census Tract Data for Savannah",
"Savannah1: Counties 2000 Census Tract Data for Savannah",
"Savannah2: 1998 and 2001 Zip Code Business Patterns",
"Scotlip: Scottish districts",
"Scotlip: Male lip cancer in Scotland, 1975-80",
"Seattle1: WA MSA 2000 Census Tract Data",
"Seattle1: WA counties 2000 Census Tract Data",
"Seattle2: 1998 and 2001 Zip Code Business Patterns",
"SIDS: North Carolina county SIDS death counts",
"South: US Southern county homicides 1960-1990",
"Tampa1: FL counties 2000 Census Tract Data",
"Tampa1: FL MSA 2000 Census Tract Data"
"Phoenix ACS",
"San Francisco Crime"
};

const char* GdaConst::sample_layer_names[] = {
"natregimes",
"baltimore",
"boston",
"columbus",
"sids2",
"nepal",
"nyc",
"colmunic",
"phx",
"sfpd_plots",

"buenosaires",
"wi_final_census2_random4",
"coldept",
"stl_hom",
"atl_hom",
"sc_msa_counties",
"sc_final_census2",
"CharlestonMSA2",
"grid100",
"nc_final_census2",
"nc_msa_counties",
"HickoryMSA2",
"hou_hom",
"juvenile",
"mi_msa_counties",
"mi_final_census2",
"LansingMSA2",
"oz96_utm",
"rosas1999",
"rosas2001",
"MilwaukeeMSA2",
"NAT",
"ndvigrid",
"ohlung",
"ohutm",
"orlando_counties",
"orlando_final_census2",
"OrlandoMSA2",
"oz9799",

"pitt93",
"pitt94",
"pitthom",
"police",
"sacramentot2",
"SacramentoMSA2",

"ga_final_census2",
"ga_msa_counties",
"SavannahMSA2",
"scotdistricts",
"scotlip",
"wa_final_census2",
"wa_msa_counties",
"SeattleMSA2",
"sids",
"south",
"tampa_counties",
"tampa_final_census2"
"US Homicides",
"Baltimore Home Sales",
"Boston Home Sales",
"Columbus Crime",
"SIDS NC",
"Nepal Aid",
"NYC Data",
"Colombia Malaria",
"Phoenix ACS",
"SanFran Crime"
};

const char* GdaConst::sample_datasources[] = {
Expand All @@ -158,58 +59,7 @@ const char* GdaConst::sample_datasources[] = {
"samples.sqlite",
"samples.sqlite",
"samples.sqlite",
"samples.sqlite",

"http://geodacenter.github.io/sample_data/buenosaires.geojson",
"http://geodacenter.github.io/sample_data/wi_final_census2_random4.geojson",
"http://geodacenter.github.io/sample_data/coldept.geojson",
"http://geodacenter.github.io/sample_data/stl_hom.geojson",

"http://geodacenter.github.io/sample_data/atl_hom.geojson",
"http://geodacenter.github.io/sample_data/sc_msa_counties.geojson",
"http://geodacenter.github.io/sample_data/sc_final_census2.geojson",
"http://geodacenter.github.io/sample_data/CharlestonMSA2.geojson",
"http://geodacenter.github.io/sample_data/grid100.geojson",
"http://geodacenter.github.io/sample_data/nc_final_census2.geojson",
"http://geodacenter.github.io/sample_data/nc_msa_counties.geojson",
"http://geodacenter.github.io/sample_data/HickoryMSA2.geojson",
"http://geodacenter.github.io/sample_data/hou_hom.geojson",
"http://geodacenter.github.io/sample_data/juvenile.geojson",
"http://geodacenter.github.io/sample_data/mi_msa_counties.geojson",
"http://geodacenter.github.io/sample_data/mi_final_census2.geojson",
"http://geodacenter.github.io/sample_data/LansingMSA2.geojson",
"http://geodacenter.github.io/sample_data/oz96_utm.geojson",
"http://geodacenter.github.io/sample_data/rosas1999.geojson",
"http://geodacenter.github.io/sample_data/rosas2001.geojson",
"http://geodacenter.github.io/sample_data/MilwaukeeMSA2.geojson",
"http://geodacenter.github.io/sample_data/NAT.geojson",
"http://geodacenter.github.io/sample_data/ndvigrid.geojson",
"http://geodacenter.github.io/sample_data/ohlung.geojson",
"http://geodacenter.github.io/sample_data/ohutm.geojson",
"http://geodacenter.github.io/sample_data/orlando_counties.geojson",
"http://geodacenter.github.io/sample_data/orlando_final_census2.geojson",
"http://geodacenter.github.io/sample_data/OrlandoMSA2.geojson",
"http://geodacenter.github.io/sample_data/oz9799.geojson",

"http://geodacenter.github.io/sample_data/pitt93.geojson",
"http://geodacenter.github.io/sample_data/pitt94.geojson",
"http://geodacenter.github.io/sample_data/pitthom.geojson",
"http://geodacenter.github.io/sample_data/police.geojson",
"http://geodacenter.github.io/sample_data/sacramentot2.geojson",
"http://geodacenter.github.io/sample_data/SacramentoMSA2.geojson",

"http://geodacenter.github.io/sample_data/ga_final_census2.geojson",
"http://geodacenter.github.io/sample_data/ga_msa_counties.geojson",
"http://geodacenter.github.io/sample_data/SavannahMSA2.geojson",
"http://geodacenter.github.io/sample_data/scotdistricts.geojson",
"http://geodacenter.github.io/sample_data/scotlip.geojson",
"http://geodacenter.github.io/sample_data/wa_final_census2.geojson",
"http://geodacenter.github.io/sample_data/wa_msa_counties.geojson",
"http://geodacenter.github.io/sample_data/SeattleMSA2.geojson",
"http://geodacenter.github.io/sample_data/sids.geojson",
"http://geodacenter.github.io/sample_data/south.geojson",
"http://geodacenter.github.io/sample_data/tampa_counties.geojson",
"http://geodacenter.github.io/sample_data/tampa_final_census2.geojson"
"samples.sqlite"
};

const char* GdaConst::raw_zoom_in[] = {
Expand Down

0 comments on commit 86364fd

Please sign in to comment.