code
stringlengths
2
1.05M
frappe.provide('frappe.ui.misc'); frappe.ui.misc.about = function() { if(!frappe.ui.misc.about_dialog) { var d = new frappe.ui.Dialog({title: __('Frappe Framework')}); $(d.body).html(repl("<div>\ <p>"+__("Open Source Applications for the Web")+"</p> \ <p><i class='fa fa-globe fa-fw'></i>\ Website: <a href='https://frappe.io' target='_blank'>https://frappe.io</a></p>\ <p><i class='fa fa-github fa-fw'></i>\ Source: <a href='https://github.com/frappe' target='_blank'>https://github.com/frappe</a></p>\ <hr>\ <h4>Installed Apps</h4>\ <div id='about-app-versions'>Loading versions...</div>\ <hr>\ <p class='text-muted'>&copy; Frappe Technologies Pvt. Ltd and contributors </p> \ </div>", frappe.app)); frappe.ui.misc.about_dialog = d; frappe.ui.misc.about_dialog.on_page_show = function() { if(!frappe.versions) { frappe.call({ method: "frappe.utils.change_log.get_versions", callback: function(r) { show_versions(r.message); } }) } }; var show_versions = function(versions) { var $wrap = $("#about-app-versions").empty(); $.each(Object.keys(versions).sort(), function(i, key) { var v = versions[key]; if(v.branch) { var text = $.format('<p><b>{0}:</b> v{1} ({2})<br></p>', [v.title, v.branch_version || v.version, v.branch]) } else { var text = $.format('<p><b>{0}:</b> v{1}<br></p>', [v.title, v.version]) } $(text).appendTo($wrap); }); frappe.versions = versions; } } frappe.ui.misc.about_dialog.show(); }
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M18 3H6C3.79 3 2 4.79 2 7c0 1.48.81 2.75 2 3.45V19c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8.55c1.19-.69 2-1.97 2-3.45 0-2.21-1.79-4-4-4zm-2.29 10.7-3 3c-.39.39-1.02.39-1.42 0l-3-3a.9959.9959 0 0 1 0-1.41l3-3c.39-.39 1.02-.39 1.41 0l3 3c.4.39.4 1.02.01 1.41z" }), 'BreakfastDiningRounded');
import { assign } from '@ember/polyfills'; import { moduleFor, RenderingTest, ApplicationTest } from '../../utils/test-case'; import { strip } from '../../utils/abstract-test-case'; import { set, Mixin } from '@ember/-internals/metal'; import { Component } from '../../utils/helpers'; import Controller from '@ember/controller'; import { Object as EmberObject } from '@ember/-internals/runtime'; import { Route } from '@ember/-internals/routing'; function expectSendActionDeprecation(fn) { expectDeprecation( fn, /You called (.*).sendAction\((.*)\) but Component#sendAction is deprecated. Please use closure actions instead./ ); } moduleFor( 'Components test: sendAction', class extends RenderingTest { constructor() { super(...arguments); this.actionCounts = {}; this.sendCount = 0; this.actionArguments = null; var self = this; this.registerComponent('action-delegate', { ComponentClass: Component.extend({ init() { this._super(); self.delegate = this; this.name = 'action-delegate'; }, }), }); } renderDelegate(template = '{{action-delegate}}', context = {}) { let root = this; context = assign(context, { send(actionName, ...args) { root.sendCount++; root.actionCounts[actionName] = root.actionCounts[actionName] || 0; root.actionCounts[actionName]++; root.actionArguments = args; }, }); this.render(template, context); } assertSendCount(count) { this.assert.equal(this.sendCount, count, `Send was called ${count} time(s)`); } assertNamedSendCount(actionName, count) { this.assert.equal( this.actionCounts[actionName], count, `An action named '${actionName}' was sent ${count} times` ); } assertSentWithArgs(expected, message = 'arguments were sent with the action') { this.assert.deepEqual(this.actionArguments, expected, message); } ['@test Calling sendAction on a component without an action defined does nothing']() { this.renderDelegate(); expectSendActionDeprecation(() => { this.runTask(() => this.delegate.sendAction()); }); this.assertSendCount(0); } ['@test Calling sendAction on a component with an action defined calls send on the controller']() { this.renderDelegate(); expectSendActionDeprecation(() => { this.runTask(() => { set(this.delegate, 'action', 'addItem'); this.delegate.sendAction(); }); }); this.assertSendCount(1); this.assertNamedSendCount('addItem', 1); } ['@test Calling sendAction on a component with a function calls the function']() { this.assert.expect(2); this.renderDelegate(); expectSendActionDeprecation(() => { this.runTask(() => { set(this.delegate, 'action', () => this.assert.ok(true, 'function is called')); this.delegate.sendAction(); }); }); } ['@test Calling sendAction on a component with a function calls the function with arguments']() { this.assert.expect(2); let argument = {}; this.renderDelegate(); expectSendActionDeprecation(() => { this.runTask(() => { set(this.delegate, 'action', actualArgument => { this.assert.deepEqual(argument, actualArgument, 'argument is passed'); }); this.delegate.sendAction('action', argument); }); }); } // TODO consolidate these next 2 tests ['@test Calling sendAction on a component with a reference attr calls the function with arguments']() { this.renderDelegate('{{action-delegate playing=playing}}', { playing: null, }); expectSendActionDeprecation(() => { this.runTask(() => this.delegate.sendAction()); }); this.assertSendCount(0); this.runTask(() => { set(this.context, 'playing', 'didStartPlaying'); }); expectSendActionDeprecation(() => { this.runTask(() => { this.delegate.sendAction('playing'); }); }); this.assertSendCount(1); this.assertNamedSendCount('didStartPlaying', 1); } ['@test Calling sendAction on a component with a {{mut}} attr calls the function with arguments']() { this.renderDelegate('{{action-delegate playing=(mut playing)}}', { playing: null, }); expectSendActionDeprecation(() => { this.runTask(() => this.delegate.sendAction('playing')); }); this.assertSendCount(0); this.runTask(() => this.delegate.attrs.playing.update('didStartPlaying')); expectSendActionDeprecation(() => { this.runTask(() => this.delegate.sendAction('playing')); }); this.assertSendCount(1); this.assertNamedSendCount('didStartPlaying', 1); } ["@test Calling sendAction with a named action uses the component's property as the action name"]() { this.renderDelegate(); let component = this.delegate; expectSendActionDeprecation(() => { this.runTask(() => { set(this.delegate, 'playing', 'didStartPlaying'); component.sendAction('playing'); }); }); this.assertSendCount(1); this.assertNamedSendCount('didStartPlaying', 1); expectSendActionDeprecation(() => { this.runTask(() => component.sendAction('playing')); }); this.assertSendCount(2); this.assertNamedSendCount('didStartPlaying', 2); expectSendActionDeprecation(() => { this.runTask(() => { set(component, 'action', 'didDoSomeBusiness'); component.sendAction(); }); }); this.assertSendCount(3); this.assertNamedSendCount('didDoSomeBusiness', 1); } ['@test Calling sendAction when the action name is not a string raises an exception']() { this.renderDelegate(); this.runTask(() => { set(this.delegate, 'action', {}); set(this.delegate, 'playing', {}); }); expectSendActionDeprecation(() => { expectAssertion(() => this.delegate.sendAction()); }); expectSendActionDeprecation(() => { expectAssertion(() => this.delegate.sendAction('playing')); }); } ['@test Calling sendAction on a component with contexts']() { this.renderDelegate(); let testContext = { song: 'She Broke My Ember' }; let firstContext = { song: 'She Broke My Ember' }; let secondContext = { song: 'My Achey Breaky Ember' }; expectSendActionDeprecation(() => { this.runTask(() => { set(this.delegate, 'playing', 'didStartPlaying'); this.delegate.sendAction('playing', testContext); }); }); this.assertSendCount(1); this.assertNamedSendCount('didStartPlaying', 1); this.assertSentWithArgs([testContext], 'context was sent with the action'); expectSendActionDeprecation(() => { this.runTask(() => { this.delegate.sendAction('playing', firstContext, secondContext); }); }); this.assertSendCount(2); this.assertNamedSendCount('didStartPlaying', 2); this.assertSentWithArgs( [firstContext, secondContext], 'multiple contexts were sent to the action' ); } ['@test calling sendAction on a component within a block sends to the outer scope GH#14216']( assert ) { let testContext = this; // overrides default action-delegate so actions can be added this.registerComponent('action-delegate', { ComponentClass: Component.extend({ init() { this._super(); testContext.delegate = this; this.name = 'action-delegate'; }, actions: { derp(arg1) { assert.ok(true, 'action called on action-delgate'); assert.equal(arg1, 'something special', 'argument passed through properly'); }, }, }), template: strip` {{#component-a}} {{component-b bar="derp"}} {{/component-a}} `, }); this.registerComponent('component-a', { ComponentClass: Component.extend({ init() { this._super(...arguments); this.name = 'component-a'; }, actions: { derp() { assert.ok(false, 'no! bad scoping!'); }, }, }), }); let innerChild; this.registerComponent('component-b', { ComponentClass: Component.extend({ init() { this._super(...arguments); innerChild = this; this.name = 'component-b'; }, }), }); this.renderDelegate(); expectSendActionDeprecation(() => { this.runTask(() => innerChild.sendAction('bar', 'something special')); }); } ['@test asserts if called on a destroyed component']() { let component; this.registerComponent('rip-alley', { ComponentClass: Component.extend({ init() { this._super(); component = this; }, toString() { return 'component:rip-alley'; }, }), }); this.render('{{#if shouldRender}}{{rip-alley}}{{/if}}', { shouldRender: true, }); this.runTask(() => { set(this.context, 'shouldRender', false); }); expectAssertion(() => { component.sendAction('trigger-me-dead'); }, "Attempted to call .sendAction() with the action 'trigger-me-dead' on the destroyed object 'component:rip-alley'."); } } ); moduleFor( 'Components test: sendAction to a controller', class extends ApplicationTest { ["@test sendAction should trigger an action on the parent component's controller if it exists"]( assert ) { assert.expect(20); let component; this.router.map(function() { this.route('a'); this.route('b'); this.route('c', function() { this.route('d'); this.route('e'); }); }); this.addComponent('foo-bar', { ComponentClass: Component.extend({ init() { this._super(...arguments); component = this; }, }), template: `{{val}}`, }); this.add( 'controller:a', Controller.extend({ send(actionName, actionContext) { assert.equal( actionName, 'poke', 'send() method was invoked from a top level controller' ); assert.equal( actionContext, 'top', 'action arguments were passed into the top level controller' ); }, }) ); this.addTemplate('a', '{{foo-bar val="a" poke="poke"}}'); this.add( 'route:b', Route.extend({ actions: { poke(actionContext) { assert.ok(true, 'Unhandled action sent to route'); assert.equal(actionContext, 'top no controller'); }, }, }) ); this.addTemplate('b', '{{foo-bar val="b" poke="poke"}}'); this.add( 'route:c', Route.extend({ actions: { poke(actionContext) { assert.ok(true, 'Unhandled action sent to route'); assert.equal(actionContext, 'top with nested no controller'); }, }, }) ); this.addTemplate('c', '{{foo-bar val="c" poke="poke"}}{{outlet}}'); this.add('route:c.d', Route.extend({})); this.add( 'controller:c.d', Controller.extend({ send(actionName, actionContext) { assert.equal(actionName, 'poke', 'send() method was invoked from a nested controller'); assert.equal( actionContext, 'nested', 'action arguments were passed into the nested controller' ); }, }) ); this.addTemplate('c.d', '{{foo-bar val=".d" poke="poke"}}'); this.add( 'route:c.e', Route.extend({ actions: { poke(actionContext) { assert.ok(true, 'Unhandled action sent to route'); assert.equal(actionContext, 'nested no controller'); }, }, }) ); this.addTemplate('c.e', '{{foo-bar val=".e" poke="poke"}}'); return this.visit('/a') .then(() => { expectSendActionDeprecation(() => component.sendAction('poke', 'top')); }) .then(() => { this.assertText('a'); return this.visit('/b'); }) .then(() => { expectSendActionDeprecation(() => component.sendAction('poke', 'top no controller')); }) .then(() => { this.assertText('b'); return this.visit('/c'); }) .then(() => { expectSendActionDeprecation(() => { component.sendAction('poke', 'top with nested no controller'); }); }) .then(() => { this.assertText('c'); return this.visit('/c/d'); }) .then(() => { expectSendActionDeprecation(() => component.sendAction('poke', 'nested')); }) .then(() => { this.assertText('c.d'); return this.visit('/c/e'); }) .then(() => { expectSendActionDeprecation(() => component.sendAction('poke', 'nested no controller')); }) .then(() => this.assertText('c.e')); } ["@test sendAction should not trigger an action in an outlet's controller if a parent component handles it"]( assert ) { assert.expect(2); let component; this.addComponent('x-parent', { ComponentClass: Component.extend({ actions: { poke() { assert.ok(true, 'parent component handled the aciton'); }, }, }), template: '{{x-child poke="poke"}}', }); this.addComponent('x-child', { ComponentClass: Component.extend({ init() { this._super(...arguments); component = this; }, }), }); this.addTemplate('application', '{{x-parent}}'); this.add( 'controller:application', Controller.extend({ send() { throw new Error('controller action should not be called'); }, }) ); return this.visit('/').then(() => { expectSendActionDeprecation(() => component.sendAction('poke')); }); } } ); moduleFor( 'Components test: sendAction of a closure action', class extends RenderingTest { ['@test action should be called'](assert) { assert.expect(2); let component; this.registerComponent('inner-component', { ComponentClass: Component.extend({ init() { this._super(...arguments); component = this; }, }), template: 'inner', }); this.registerComponent('outer-component', { ComponentClass: Component.extend({ outerSubmit() { assert.ok(true, 'outerSubmit called'); }, }), template: '{{inner-component submitAction=(action outerSubmit)}}', }); this.render('{{outer-component}}'); expectSendActionDeprecation(() => { this.runTask(() => component.sendAction('submitAction')); }); } ['@test contexts passed to sendAction are appended to the bound arguments on a closure action']() { let first = 'mitch'; let second = 'martin'; let third = 'matt'; let fourth = 'wacky wycats'; let innerComponent; let actualArgs; this.registerComponent('inner-component', { ComponentClass: Component.extend({ init() { this._super(...arguments); innerComponent = this; }, }), template: 'inner', }); this.registerComponent('outer-component', { ComponentClass: Component.extend({ third, actions: { outerSubmit() { actualArgs = [...arguments]; }, }, }), template: `{{inner-component innerSubmit=(action (action "outerSubmit" "${first}") "${second}" third)}}`, }); this.render('{{outer-component}}'); expectSendActionDeprecation(() => { this.runTask(() => innerComponent.sendAction('innerSubmit', fourth)); }); this.assert.deepEqual( actualArgs, [first, second, third, fourth], 'action has the correct args' ); } } ); moduleFor( 'Components test: send', class extends RenderingTest { ['@test sending to undefined actions triggers an error'](assert) { assert.expect(2); let component; this.registerComponent('foo-bar', { ComponentClass: Component.extend({ init() { this._super(); component = this; }, actions: { foo(message) { assert.equal('bar', message); }, }, }), }); this.render('{{foo-bar}}'); this.runTask(() => component.send('foo', 'bar')); expectAssertion(() => { return component.send('baz', 'bar'); }, /had no action handler for: baz/); } ['@test `send` will call send from a target if it is defined']() { let component; let target = { send: (message, payload) => { this.assert.equal('foo', message); this.assert.equal('baz', payload); }, }; this.registerComponent('foo-bar', { ComponentClass: Component.extend({ init() { this._super(); component = this; }, target, }), }); this.render('{{foo-bar}}'); this.runTask(() => component.send('foo', 'baz')); } ['@test a handled action can be bubbled to the target for continued processing']() { this.assert.expect(2); let component; this.registerComponent('foo-bar', { ComponentClass: Component.extend({ init() { this._super(...arguments); component = this; }, actions: { poke: () => { this.assert.ok(true, 'component action called'); return true; }, }, target: Controller.extend({ actions: { poke: () => { this.assert.ok(true, 'action bubbled to controller'); }, }, }).create(), }), }); this.render('{{foo-bar poke="poke"}}'); this.runTask(() => component.send('poke')); } ["@test action can be handled by a superclass' actions object"](assert) { this.assert.expect(4); let component; let SuperComponent = Component.extend({ actions: { foo() { assert.ok(true, 'foo'); }, bar(msg) { assert.equal(msg, 'HELLO'); }, }, }); let BarViewMixin = Mixin.create({ actions: { bar(msg) { assert.equal(msg, 'HELLO'); this._super(msg); }, }, }); this.registerComponent('x-index', { ComponentClass: SuperComponent.extend(BarViewMixin, { init() { this._super(...arguments); component = this; }, actions: { baz() { assert.ok(true, 'baz'); }, }, }), }); this.render('{{x-index}}'); this.runTask(() => { component.send('foo'); component.send('bar', 'HELLO'); component.send('baz'); }); } ['@test actions cannot be provided at create time'](assert) { this.registerComponent('foo-bar', Component.extend()); let ComponentFactory = this.owner.factoryFor('component:foo-bar'); expectAssertion(() => { ComponentFactory.create({ actions: { foo() { assert.ok(true, 'foo'); }, }, }); }, /`actions` must be provided at extend time, not at create time/); // but should be OK on an object that doesn't mix in Ember.ActionHandler EmberObject.create({ actions: ['foo'], }); } ['@test asserts if called on a destroyed component']() { let component; this.registerComponent('rip-alley', { ComponentClass: Component.extend({ init() { this._super(); component = this; }, toString() { return 'component:rip-alley'; }, }), }); this.render('{{#if shouldRender}}{{rip-alley}}{{/if}}', { shouldRender: true, }); this.runTask(() => { set(this.context, 'shouldRender', false); }); expectAssertion(() => { component.send('trigger-me-dead'); }, "Attempted to call .send() with the action 'trigger-me-dead' on the destroyed object 'component:rip-alley'."); } } );
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path fillOpacity=".3" d="M2 22h20V2L2 22z" /><path d="M14 10L2 22h12V10z" /></g></React.Fragment> , 'SignalCellular2BarTwoTone');
{ "name": "fn6.js", "url": "https://github.com/stefanwimmer128/fn6.js.git" }
var path = require('path'); var webpack = require('webpack'); module.exports = { devtool: 'source-map', entry: [ 'webpack-hot-middleware/client', './index' ], output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: '/static/' }, plugins: [ new webpack.optimize.OccurenceOrderPlugin(), new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin() ], module: { loaders: [{ test: /\.js$/, loaders: ['babel'], exclude: /node_modules/, include: __dirname }] } }; var src = path.join(__dirname, '..', '..', 'src'); var nodeModules = path.join(__dirname, '..', '..', 'node_modules'); var fs = require('fs'); if (fs.existsSync(src) && fs.existsSync(nodeModules)) { // Resolve to source module.exports.resolve = { alias: { 'remote-redux-devtools': src } }; // Compile from source module.exports.module.loaders.push({ test: /\.js$/, loaders: ['babel'], include: src }); }
/*! TieJS - http://develman.github.io/tiejs Licensed under the MIT license Copyright (c) 2018 Georg Henkel <[email protected]>, Christoph Huppertz <[email protected]> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ // AMD support (function (factory) { "use strict"; if (typeof define === 'function' && define.amd) { // using AMD; register as anon module define(['jquery'], factory); } else { // no AMD; invoke directly factory(jQuery); } } (function ($) { "use strict"; var TieJS = function (form, options) { var self = $(this); var $form = $(form); var fieldNames = []; // settings var settings = $.extend({ showRequiredAsterisk: true, requiredText: "Mit <span class='required-sign'>*</span> markierte Felder sind Pflichtfelder.", formName: null, validationEnabled: true, globalValidationFailedText: "Bitte beheben Sie die im Formular hervorgehobenen Fehler.", bindingSource: {}, onSubmit: function () { } }, options); _initForm(); this.addFields = function (fields) { $.each(fields, function (index, field) { if (field.data) { $form.append(_addField(field.type, field.data)); if (_findInArray(field.data.name, fieldNames) === null) { fieldNames.push({name: field.data.name, binding: ""}); } } }); return this; }; this.addColumns = function (columns) { if (columns.length > 0) { $form.append(_addColumns(columns, fieldNames)); } return this; }; this.addBindings = function (bindings) { if (settings.bindingSource) { $.each(bindings, function (index, binding) { $.each(binding, function (fieldName, property) { // check if property is chained with points -> then it is another object in binding source var binding = settings.bindingSource; if (property.indexOf('.') != -1) { var lastPointIdx = property.lastIndexOf('.'); var namespace = property.substr(0, lastPointIdx); property = property.substr(lastPointIdx + 1); var tmp = "settings.bindingSource." + namespace; binding = eval(tmp); // jshint ignore:line } _bind($form, binding, fieldName, property); var fieldNameData = _findInArray(fieldName, fieldNames); fieldNameData.binding = property; }); }); } return this; }; this.captureFields = function () { $form.find(':input:not(:button)').each(function (index, field) { var fieldName = $(field).attr('name'); if (_findInArray(fieldName, fieldNames) === null) { fieldNames.push({name: fieldName, binding: ""}); } }); return this; }; this.updateSettings = function (newSettings) { $.extend(settings, newSettings); this.reload(); }; this.reload = function () { _clearMarker($form); $.each(fieldNames, function (index, fieldNameData) { _bind($form, settings.bindingSource, fieldNameData.name, fieldNameData.binding); }); }; this.markFieldError = function (fieldNames, errorMessage) { $.each(fieldNames, function (index, fieldName) { var field = $form.find('[name=' + fieldName + ']'); _addFieldError(field); }); _addFormError($form, errorMessage); }; this.markFormError = function (errorMessage) { _addFormError($form, errorMessage); }; this.enableValidation = function () { _clearMarker($form); settings.validationEnabled = true; }; this.disableValidation = function () { _clearMarker($form); settings.validationEnabled = false; }; function _initForm() { if (settings.formName) { $form.attr('name', settings.formName); } if (settings.showRequiredAsterisk) { var info = $("<p class='required-info'>" + settings.requiredText + "</p>"); $form.prepend(info); } $form.addClass("tiejs-form"); $form.on('submit', function (e) { e.preventDefault(); if (_validate($form, fieldNames)) { settings.onSubmit($form); } }); } var _addField = function (type, data) { var field = null; switch (type) { case 'text': case 'number': case 'email': case 'password': case 'regex': case 'typeahead': field = _defaultField(type, data); break; case 'checkbox': field = _checkboxField(data); break; case 'radio': field = _radioField(data); break; case 'select': field = _selectField(data, false); break; case 'tags': field = _selectField(data, true); break; case 'color': field = _defaultAddonField('color', data); break; case 'date': field = _defaultAddonField('date', data); break; case 'time': field = _defaultAddonField('time', data); break; case 'longtext': field = _textareaField(data); break; case 'wysiwyg': field = _wysiwygField(data); break; case 'button': field = _button(data); break; case 'file': field = _file(data); break; } return field; }; var _addColumns = function (columns, fieldNames) { var row = $("<div></div>"); row.addClass("row"); $.each(columns, function (index, field) { var column = $("<div></div>"); column.addClass("col-md-6"); if (field.data) { column.append(_addField(field.type, field.data)); if (_findInArray(field.data.name, fieldNames) === null) { fieldNames.push({name: field.data.name, binding: ""}); } } row.append(column); }); return row; }; var _bind = function ($obj, bindingSource, fieldName, property) { var field = $obj.find('[name=' + fieldName + ']'); if (field && typeof (bindingSource[property]) !== 'undefined') { var type = field.prop('type'); if ("undefined" === typeof type) { type = field.attr('type'); } $obj.on("change", field, function (event, data) { if (field.attr("name") === $(event.target).attr("name")) { var value; switch (type) { case 'checkbox': value = field.is(':checked') ? 1 : 0; bindingSource[property] = value; break; case 'radio': value = $obj.find('input[name=' + fieldName + ']:checked').val(); bindingSource[property] = value; break; case 'select': if (!$(event.target).hasClass("tags")) { //only for single select fields value = $obj.find('select[name=' + fieldName + '] option:selected').val(); bindingSource[property] = value; } break; case 'wysiwyg': value = $obj.find('div[name=' + fieldName + ']').html(); bindingSource[property] = value; break; case 'file': bindingSource[property] = field.prop('files')[0]; var label = field.val().replace(/\\/g, '/').replace(/.*\//, ''); $obj.find('input[name=' + fieldName + '_label]').val(label); break; default: bindingSource[property] = field.val(); } } }); _updateFieldData(field, bindingSource, property); } }; var _validate = function ($obj, fieldNames) { _clearMarker($obj); var isValid = true; if (!settings.validationEnabled) { return isValid; } $.each(fieldNames, function (index, fieldNameData) { var field = $obj.find('[name=' + fieldNameData.name + ']'); var type = field.prop('type'); if ("undefined" === typeof type) { type = field.attr('type'); } var value = field.val(); if (type === 'wysiwyg') { value = field.html(); } if (_hasAttribute(field, 'required')) { switch (type) { case 'radio': if (field.is(':checked') === false) { isValid = false; _addFieldError(field); } break; case 'checkbox': if (!value || field.prop('checked') === false) { isValid = false; _addFieldError(field); } break; case 'select-one': if (!value || value == '0') { isValid = false; _addFieldError(field); } break; default: if (!value) { isValid = false; _addFieldError(field); } } } else if (type == 'radio' && field.closest('div').hasClass('required')) { if (field.is(':checked') === false) { isValid = false; _addFieldError(field); } } var regex; switch (type) { case 'number': if (value && !$.isNumeric(value)) { isValid = false; _addFieldError(field); } break; case 'email': regex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if (value && !regex.test(value)) { isValid = false; _addFieldError(field); } break; } var regexStr = field.attr('data-regex'); if (regexStr) { regex = new RegExp(regexStr); if (value && !regex.test(value)) { isValid = false; _addFieldError(field); } } }); if (!isValid) { _addFormError($obj); } return isValid; }; var _createGroupAddon = function (type) { var groupAddon = $("<span></span>"); groupAddon.addClass("input-group-addon"); if (type === "time") { groupAddon.html('<i class="fa fa-clock-o"></i>'); } else if (type === "date") { groupAddon.html('<i class="fa fa-calendar"></i>'); } else { groupAddon.html("<i></i>"); } return groupAddon; }; var _addLabel = function (formGroup, data) { var label = data.label; if (settings.showRequiredAsterisk && data.required) { label += "<span class='required-sign'>*</span>"; } formGroup.append("<label class='control-label'>" + label + ":</label>"); return formGroup; }; var _addNeededOptions = function (input, data) { if (data.css) { input = input.slice(0, -1); input += " " + data.css + "'"; } if (data.placeholder) { input += " placeholder='" + data.placeholder + "'"; } if (data.attributes) { input += " " + data.attributes; } if (data.required) { input += " required"; } if (data.regex) { input += " data-regex='" + data.regex + "'"; } if (data.elemdata) { input += " data-elemdata='" + JSON.stringify(data.elemdata) + "'"; } return input; }; var _defaultField = function (type, data) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); formGroup = _addLabel(formGroup, data); var input = "<input type='" + type + "' name='" + data.name + "' class='form-control'"; input = _addNeededOptions(input, data); input += " />"; formGroup.append(input); return formGroup; }; var _defaultAddonField = function (type, data) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); formGroup.addClass("addon"); formGroup = _addLabel(formGroup, data); var inputGroup = $("<div></div>"); inputGroup.addClass("input-group " + type); // type = color, time, date, typeadhead var input = "<input type='text' name='" + data.name + "' class='form-control'"; if (type === "date") { input += " data-date-format='" + data.format + "'"; } input = _addNeededOptions(input, data); input += " />"; var groupAddon = _createGroupAddon(type); inputGroup.append(input); inputGroup.append(groupAddon); formGroup.append(inputGroup); return formGroup; }; var _checkboxField = function (data) { var checkboxDiv = $("<div></div>"); checkboxDiv.addClass("checkbox"); var label = $("<label></label>"); label.addClass("control-label"); var input = "<input type='checkbox' name='" + data.name + "'"; input = _addNeededOptions(input, data); input += " />"; label.append(input); var dataLabel = data.label; if (settings.showRequiredAsterisk && data.required) { dataLabel += "<span class='required-sign'>*</span>"; } label.append(dataLabel); checkboxDiv.append(label); return checkboxDiv; }; var _radioField = function (data) { var radioDiv = $("<div></div>"); radioDiv.addClass("radio"); var label = $("<label></label>"); label.addClass("control-label"); var input = "<input type='radio' name='" + data.name + "'"; if (data.value) { input += " value='" + data.value + "'"; } input = _addNeededOptions(input, data); input += " />"; label.append(input); var dataLabel = data.label; if (settings.showRequiredAsterisk && data.required) { dataLabel += "<span class='required-sign'>*</span>"; } label.append(dataLabel); radioDiv.append(label); return radioDiv; }; var _selectField = function (data, isTagSelectField) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); formGroup = _addLabel(formGroup, data); var classes = "'form-control'"; if (isTagSelectField) { classes = "'form-control tags chosen-select' multiple"; if (data.placeholder) { classes += " data-placeholder='" + data.placeholder + "'"; } } var select = "<select type='select' name='" + data.name + "' class=" + classes; if (data.css) { select = input.slice(0, -1); select += " " + data.css + "'"; } if (data.attributes) { select += " " + data.attributes; } if (data.required) { select += " required"; } select += ">"; if (data.placeholder && !isTagSelectField) { select += "<option value='0' disabled selected>" + data.placeholder + "</option>"; } if (data.options) { $.each(data.options, function (idx, option) { select += "<option value='" + option.id + "'"; if (option.type) { select += " data-type='" + option.type + "'"; } select += ">" + option.name + "</option>"; }); } if (data.url) { //load options from url $.ajax({ type: "GET", url: data.url, dataType: "json", async: false, success: function (data) { var dataArray = JSON.parse(JSON.stringify(data.result)); dataArray.forEach(function (option) { select += "<option value='" + option.Id + "'"; if (option.Type) { select += " data-type='" + option.Type + "'"; } select += ">" + option.Name + "</option>"; }); }, error: function (data, status) { if (console) console.log("tiejs: error loading select options from server, status: " + status); } }); } select += "</select>"; formGroup.append(select); return formGroup; }; var _textareaField = function (data) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); formGroup = _addLabel(formGroup, data); var textarea = "<textarea type='textarea' name='" + data.name + "' class='form-control'"; textarea = _addNeededOptions(textarea, data); textarea += "></textarea>"; formGroup.append(textarea); return formGroup; }; var _wysiwygField = function (data) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); formGroup = _addLabel(formGroup, data); var textarea = "<div type='wysiwyg' name='" + data.name + "' class='form-control wysiwyg'"; textarea = _addNeededOptions(textarea, data); textarea += "></div>"; formGroup.append(textarea); return formGroup; }; var _button = function (data) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); var button = "<button type='button' class='btn btn-default'"; if (data.css) { button = button.slice(0, -1); button += " " + data.css + "'"; } button += ">" + data.label + "</button>"; formGroup.append(button); if (data.clickCB) { var btn = formGroup.find("button"); $(btn).on("click", data.clickCB); } return formGroup; }; var _file = function (data) { var formGroup = $("<div></div>"); formGroup.addClass("form-group"); formGroup = _addLabel(formGroup, data); var inputGroup = $("<div></div>"); inputGroup.addClass("input-group"); var fileInput = "<label class='input-group-btn'><span class='btn btn-success'><i class='fa fa-folder-open'></i>" + data.buttonLabel + "<input type='file' name='" + data.name + "'"; if (data.accept) { fileInput += " accept='" + data.accept + "'"; } if (data.required) { fileInput += " required"; } fileInput += " style='display:none'/></span></label>"; inputGroup.append(fileInput); var filenameInput = "<input type='text' class='form-control' name='" + data.name + "_label'"; if (data.placeholder) { filenameInput += " placeholder='" + data.placeholder + "'"; } filenameInput += "readonly/>"; if (data.clearable) { filenameInput += "<span class='input-group-btn'><span class='btn btn-danger clear-" + data.name + "'><i class='fa fa-trash'></i></span></span>"; $(document).off('click', '.clear-' + data.name).on('click', '.clear-' + data.name, function () { data.clearable(); $form.find('input[name=' + data.name + '_label]').val(''); }); } $(document).off('click', 'input[name=' + data.name + '_label]').on('click', 'input[name=' + data.name + '_label]', function () { $(this).parents('.input-group').find(':file').click(); }); inputGroup.append(filenameInput); formGroup.append(inputGroup); return formGroup; }; function _clearMarker($obj) { $obj.find('div.alert').remove(); $obj.find('.error-message').hide(); $obj.find('.has-error').each(function (index, value) { $(value).removeClass('has-error has-feedback'); $(value).find('.form-control-feedback').remove(); }); } function _hasAttribute(field, attribute) { var attr = $(field).attr(attribute); return typeof attr !== 'undefined' && attr !== false; } function _addFormError(form, message) { var error = $(".formerror"); if (error.length === 0) { error = $("<div></div>"); error.addClass("formerror alert alert-danger"); form.prepend(error); } if (message === undefined) { error.text(settings.globalValidationFailedText); } else { error.text(message); } } function _addFieldError(field) { var $formGroup = field.is(':radio') ? field.closest('div') : field.parent(); if ($formGroup.hasClass('input-group')) { $formGroup = $formGroup.parent(); } $formGroup.addClass('has-error has-feedback'); if (field.is("select")) { $formGroup.append("<span class='fa fa-times form-control-feedback feedback-select'></span>"); } else if (field.is(":checkbox")) { $formGroup.append("<span class='fa fa-times form-control-feedback feedback-checkbox'></span>"); } else if (field.is(":radio")) { $formGroup.append("<span class='fa fa-times form-control-feedback feedback-radio'></span>"); } else { $formGroup.append("<span class='fa fa-times form-control-feedback'></span>"); } $formGroup.find('.error-message').show().css("display", "block"); } function _updateFieldData(field, bindingSource, property) { var type = field.prop('type'); if ("undefined" === typeof type) { type = field.attr('type'); } switch (type) { case 'checkbox': var state = bindingSource[property]; if (state) { field.prop('checked', true); } else { field.prop('checked', false); } break; case 'radio': field.val([bindingSource[property]]); break; case 'select': if (!$(field).hasClass("tags")) { var optionArray = field.find("option"); optionArray.each(function (idx) { var dataType = $(optionArray[idx]).attr("data-type"); if (dataType) { if (dataType === bindingSource[property]) { field.val($(optionArray[idx]).val()); } } else if ($(optionArray[idx]).val() === bindingSource[property]) { field.val($(optionArray[idx]).val()); } }); } else { var items = []; bindingSource[property].forEach(function (item) { items.push(item); }); field.val(items); } break; case 'wysiwyg': field.html(bindingSource[property]); field.trigger("change"); break; case 'file': field.wrap('<form>').closest('form').get(0).reset(); field.unwrap(); $form.find('input[name=' + field.prop('name') + '_label]').val(bindingSource[property]); break; default: field.val(bindingSource[property]); } } function _findInArray(value, array) { for (var i = 0; i < array.length; i++) { var obj = array[i]; if (obj.name === value) { return obj; } } return null; } }; $.fn.TieJS = function (options) { return this.each(function () { var element = $(this); // check if already initialized if (element.data('tiejs')) { return; } element.data('tiejs', new TieJS(this, options)); }); }; }));
import assert from './assert' import { isFunction } from './TestUtils' function noop() {} let spies = [] export function createSpy(fn, restore=noop) { if (fn == null) fn = noop assert( isFunction(fn), 'createSpy needs a function' ) let targetFn, thrownValue, returnValue const spy = function () { spy.calls.push({ context: this, arguments: Array.prototype.slice.call(arguments, 0) }) if (targetFn) return targetFn.apply(this, arguments) if (thrownValue) throw thrownValue return returnValue } spy.calls = [] spy.andCall = function (fn) { targetFn = fn return spy } spy.andCallThrough = function () { return spy.andCall(fn) } spy.andThrow = function (object) { thrownValue = object return spy } spy.andReturn = function (value) { returnValue = value return spy } spy.getLastCall = function () { return spy.calls[spy.calls.length - 1] } spy.reset = function () { spy.calls = [] } spy.restore = spy.destroy = restore spy.__isSpy = true spies.push(spy) return spy } export function spyOn(object, methodName) { const original = object[methodName] if (!isSpy(original)) { assert( isFunction(original), 'Cannot spyOn the %s property; it is not a function', methodName ) object[methodName] = createSpy(original, function () { object[methodName] = original }) } return object[methodName] } export function isSpy(object) { return object && object.__isSpy === true } export function restoreSpies() { for (let i = spies.length - 1; i >= 0; i--) spies[i].restore() spies = [] }
// @require core/widget/helpers.js (function ( $, _, Svelto ) { /* PLUGIN */ let Plugin = { call ( Widget, $ele, args ) { let options = args[0], isMethodCall = ( _.isString ( options ) && options.charAt ( 0 ) !== '_' ); // Methods starting with '_' are private for ( let i = 0, l = $ele.length; i < l; i++ ) { let instance = $.widget.get ( $ele[i], Widget, options ); if ( isMethodCall && _.isFunction ( instance[options] ) ) { let returnValue = args.length > 1 ? instance[options]( ...Array.prototype.slice.call ( args, 1 ) ) : instance[options](); if ( !_.isNil ( returnValue ) ) return returnValue; } } return $ele; }, make ( Widget ) { if ( !Widget.config.plugin ) return; $.fn[Widget.config.name] = function () { return Plugin.call ( Widget, this, arguments ); }; }, unmake ( Widget ) { if ( !Widget.config.plugin ) return; delete $.fn[Widget.config.name]; } }; /* EXPORT */ Svelto.Plugin = Plugin; }( Svelto.$, Svelto._, Svelto ));
'use strict'; angular.module(ApplicationConfiguration.applicationModuleName).controller('LeftNavController', function(Authentication, $mdSidenav, Menus, $log) { this.authentication = Authentication; this.isCollapsed = false; this.menu = Menus.getMenu('sidenav'); this.selected = ''; this.isSelected = function(item) { return this.selected === item; }; this.selectItem = function(item) { this.selected = item; }; //this.toggleCollapsibleMenu = function() { // this.isCollapsed = !this.isCollapsed; //}; // //// Collapsing the menu after navigation //this.$on('$stateChangeSuccess', function() { // this.isCollapsed = false; //}); // //this.toggleMenu = function() { // $mdSidenav('left').toggle(); //}; // //$mdSidenav('lefty').open(); this.toggleCollapsibleMenu = function() { $mdSidenav('left').toggle(); console.log($mdSidenav('left').isOpen()); //$mdSidenav('left').close() // .then(function(){ // $log.debug('close LEFT is done'); // }); }; } );
/* coerces a value into a boolean */ 'use strict'; var value = require('useful-value'); module.exports = function boolean(val) { val = value.coerce(val); return !!val; };
'use strict'; const common = require('../common'); const assert = require('assert'); const URLSearchParams = require('url').URLSearchParams; const { test, assert_equals, assert_true } = require('../common/wpt'); /* The following tests are copied from WPT. Modifications to them should be upstreamed first. Refs: https://github.com/w3c/web-platform-tests/blob/8791bed/url/urlsearchparams-set.html License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html */ /* eslint-disable */ test(function() { var params = new URLSearchParams('a=b&c=d'); params.set('a', 'B'); assert_equals(params + '', 'a=B&c=d'); params = new URLSearchParams('a=b&c=d&a=e'); params.set('a', 'B'); assert_equals(params + '', 'a=B&c=d') params.set('e', 'f'); assert_equals(params + '', 'a=B&c=d&e=f') }, 'Set basics'); test(function() { var params = new URLSearchParams('a=1&a=2&a=3'); assert_true(params.has('a'), 'Search params object has name "a"'); assert_equals(params.get('a'), '1', 'Search params object has name "a" with value "1"'); params.set('first', 4); assert_true(params.has('a'), 'Search params object has name "a"'); assert_equals(params.get('a'), '1', 'Search params object has name "a" with value "1"'); params.set('a', 4); assert_true(params.has('a'), 'Search params object has name "a"'); assert_equals(params.get('a'), '4', 'Search params object has name "a" with value "4"'); }, 'URLSearchParams.set'); /* eslint-enable */ // Tests below are not from WPT. { const params = new URLSearchParams(); assert.throws(() => { params.set.call(undefined); }, common.expectsError({ code: 'ERR_INVALID_THIS', type: TypeError, message: 'Value of "this" must be of type URLSearchParams' })); assert.throws(() => { params.set('a'); }, common.expectsError({ code: 'ERR_MISSING_ARGS', type: TypeError, message: 'The "name" and "value" arguments must be specified' })); const obj = { toString() { throw new Error('toString'); }, valueOf() { throw new Error('valueOf'); } }; const sym = Symbol(); assert.throws(() => params.append(obj, 'b'), /^Error: toString$/); assert.throws(() => params.append('a', obj), /^Error: toString$/); assert.throws(() => params.append(sym, 'b'), /^TypeError: Cannot convert a Symbol value to a string$/); assert.throws(() => params.append('a', sym), /^TypeError: Cannot convert a Symbol value to a string$/); }
module.exports={A:{A:{"1":"B","16":"mB","129":"F A","130":"M D H"},B:{"1":"C E q L O I J K"},C:{"1":"0 1 2 3 4 5 6 8 9 jB AB G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB eB cB"},D:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB bB VB PB oB K QB RB SB TB"},E:{"1":"5 7 G M D H F A B C E NB WB XB YB ZB aB e dB KB","16":"UB"},F:{"1":"0 1 2 3 4 7 8 B C L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z fB gB hB iB e MB kB","16":"F"},G:{"1":"H E lB GB nB OB pB qB rB sB tB uB vB wB xB yB KB","16":"NB"},H:{"1":"zB"},I:{"1":"AB G K 2B 3B GB 4B 5B","16":"0B 1B"},J:{"1":"D A"},K:{"1":"7 A B C N e MB"},L:{"1":"K"},M:{"1":"6"},N:{"1":"B","129":"A"},O:{"1":"6B"},P:{"1":"G 7B 8B 9B AC BC"},Q:{"1":"CC"},R:{"1":"DC"},S:{"1":"EC"}},B:1,C:"EventTarget.dispatchEvent"};
version https://git-lfs.github.com/spec/v1 oid sha256:ba70bb48cb8b3fa4039462224a789adb71a3ff64f8c3c3da603a633299e783af size 2528
const replaceSpritePlaceholder = require('./replace-sprite-placeholder'); /** * @param {NormalModule|ExtractedModule} module * @param {Object<string, string>} replacements * @return {NormalModule|ExtractedModule} */ function replaceInModuleSource(module, replacements) { const source = module._source; if (typeof source === 'string') { module._source = replaceSpritePlaceholder(source, replacements); } else if (typeof source === 'object' && typeof source._value === 'string') { source._value = replaceSpritePlaceholder(source._value, replacements); } return module; } module.exports = replaceInModuleSource;
'use strict'; // eslint-disable-line semi const request = require('supertest'); const {expect} = require('chai'); const db = require('APP/db'); const app = require('./start'); describe('/api/users', () => { before('Await database sync', () => db.didSync); afterEach('Clear the tables', () => db.truncate({ cascade: true })); describe('GET /:id', () => { describe('when not logged in', () => { it('fails with a 401 (Unauthorized)', () => request(app) .get(`/api/users/1`) .expect(401) ); }); }); describe('POST', () => { describe('when not logged in', () => { it('creates a user', () => request(app) .post('/api/users') .send({ email: '[email protected]', password: '12345' }) .expect(201) ); it('redirects to the user it just made', () => request(app) .post('/api/users') .send({ email: '[email protected]', password: '23456', }) .redirects(1) .then(res => expect(res.body).to.contain({ email: '[email protected]' })) ); }); }); });
'use strict'; var babelHelpers = require('./util/babelHelpers.js'); var React = require('react'), _ = require('./util/_'), cx = require('classnames'), dates = require('./util/dates'), localizers = require('./util/configuration').locale, CustomPropTypes = require('./util/propTypes'), Btn = require('./WidgetButton'); var format = function format(props) { return props.yearFormat || localizers.date.formats.year; }; module.exports = React.createClass({ displayName: 'DecadeView', mixins: [require('./mixins/WidgetMixin'), require('./mixins/PureRenderMixin'), require('./mixins/RtlChildContextMixin')], propTypes: { culture: React.PropTypes.string, value: React.PropTypes.instanceOf(Date), focused: React.PropTypes.instanceOf(Date), min: React.PropTypes.instanceOf(Date), max: React.PropTypes.instanceOf(Date), onChange: React.PropTypes.func.isRequired, yearFormat: CustomPropTypes.dateFormat }, render: function render() { var props = _.omit(this.props, ['max', 'min', 'value', 'onChange']), years = getDecadeYears(this.props.focused), rows = _.chunk(years, 4); return React.createElement( 'table', babelHelpers._extends({}, props, { role: 'grid', className: 'rw-calendar-grid rw-nav-view', 'aria-activedescendant': this._id('_selected_item') }), React.createElement( 'tbody', null, rows.map(this._row) ) ); }, _row: function _row(row, i) { var _this = this; var id = this._id('_selected_item'); return React.createElement( 'tr', { key: 'row_' + i, role: 'row' }, row.map(function (date, i) { var focused = dates.eq(date, _this.props.focused, 'year'), selected = dates.eq(date, _this.props.value, 'year'), currentYear = dates.eq(date, _this.props.today, 'year'); return !dates.inRange(date, _this.props.min, _this.props.max, 'year') ? React.createElement( 'td', { key: i, role: 'gridcell', className: 'rw-empty-cell' }, ' ' ) : React.createElement( 'td', { key: i, role: 'gridcell' }, React.createElement( Btn, { onClick: _this.props.onChange.bind(null, date), tabIndex: '-1', id: focused ? id : undefined, 'aria-pressed': selected, 'aria-disabled': _this.props.disabled, disabled: _this.props.disabled || undefined, className: cx({ 'rw-off-range': !inDecade(date, _this.props.focused), 'rw-state-focus': focused, 'rw-state-selected': selected, 'rw-now': currentYear }) }, localizers.date.format(date, format(_this.props), _this.props.culture) ) ); }) ); } }); function inDecade(date, start) { return dates.gte(date, dates.startOf(start, 'decade'), 'year') && dates.lte(date, dates.endOf(start, 'decade'), 'year'); } function getDecadeYears(_date) { var days = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], date = dates.add(dates.startOf(_date, 'decade'), -2, 'year'); return days.map(function () { return date = dates.add(date, 1, 'year'); }); } //require('./mixins/DateFocusMixin')('decade', 'year')
import React from 'react'; import ActionButton from './ActionButton'; import renderer from 'react-test-renderer'; describe('floating action button', () => { it('renders initial view', () => { const component = renderer.create( <ActionButton />, ); let tree = component.toJSON(); expect(tree).toMatchSnapshot(); }); it('changes menu state to open when main button clicked', () => { const component = renderer.create( <ActionButton />, ); const mainMenu = component.root.findByProps({ className: 'mfb-slidein mfb-component--br'}) var mainMenuState = mainMenu.props['data-mfb-state']; expect(mainMenuState).toBe('closed'); const button = component.root.findByProps({className: 'mfb-component__button--main'}); const eventMock = { preventDefault: jest.fn() }; button.props.onClick(eventMock); mainMenuState = mainMenu.props['data-mfb-state']; expect(mainMenuState).toBe('open'); }); it('calls onChoose function when child button is clicked', () => { const onChoose = jest.fn(); const component = renderer.create( <ActionButton onChoose={onChoose}/>, ); const childButtons = component.root.findAllByProps({className: 'mfb-component__button--child'}); childButtons.forEach(child => child.props.onClick()); expect(onChoose).toBeCalledWith('dollar'); expect(onChoose).toBeCalledWith('group'); expect(onChoose).toBeCalledWith('refresh'); const tree = component.toJSON(); expect(tree).toMatchSnapshot(); }); });
/** * @author Richard Davey <[email protected]> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns the nearest power of 2 to the given `value`. * * @function Phaser.Math.Pow2.GetNext * @since 3.0.0 * * @param {number} value - The value. * * @return {number} The nearest power of 2 to `value`. */ var GetPowerOfTwo = function (value) { var index = Math.log(value) / 0.6931471805599453; return (1 << Math.ceil(index)); }; module.exports = GetPowerOfTwo;
var map, layer, districtLayer; var projectAPIKey = 'AIzaSyDdCELFax8-q-dUCHt9hn5Fbf_7ywY6yvA';// Personal Account // var citiesTableID = '1CU4KNOJYGWoCkUZWrxgvleGq-k6PFFUO6qfqTCid'; var citiesTableID = '1cKfYbbWs6JJujJPk-lJfdBLWVaRRSMxfXNx6K6_y'; var districtsTableID = '1BYUolX-kQGfeEckoXMMBDk1Xh2llj8dhf-XpzJ7i'; var attributeNameX = "M-Achievement (percentage)"; var attributeNameY = "ULB Name"; var mode = "grade"; var districtName = "ANANTAPUR"; var regionName = "ANANTAPUR"; var gradeName = "G3"; var chartType = "ColumnChart"; var vizType = "split"; var sortType = ""; var unitOfIndicator = ""; var dataTable; var tooltipValue, tooltipValueCol; var centerAfterQuery, zoomAfterQuery; var markers = []; var chartInfoBubble1; var chartInfoBubble2; var chartInfoMarker; var searchBarULBs; var COLUMN_STYLES = {}; var timer; var mainIndic = 1, subMainIndic = 0; var placeChartQuery = ""; var cumulativeValues = []; var globalBucket; var titleText = ""; var reportTitleText = ""; var generateReportQuery = ""; var multiSeries = false; var subIndicators = []; var overallSelected = false; function initialize() { var eGovAttributeList = [ "UPM-Target", "UPM-Achievement", "UPM-Achievement (percentage)", "UPM-Marks", "M-Target", "M-Achievement", "M-Achievement (percentage)", "M-Marks", "C-Target", "C-Achievement", "C-Achievement (percentage)", "C-Marks", "UPM-Rank", "M-Rank", "C-Rank", "Annual Target" ]; var mapStyles3 = [{ "featureType": "road", "stylers": [{ "visibility": "off" }] }, { "featureType": "poi", "stylers": [{ "visibility": "off" }] }, { "featureType": "administrative", "stylers": [{ "visibility": "off" }] }]; var styleOptions2 = [{ 'min': 0, 'max': 100, // 'color': '#FF1700', 'color': '#e74c3c', 'opacity': 1 }, { 'min': 100, 'max': 200, // 'color': '#FFC200', 'color': '#f1c40f', 'opacity': 1 }, { 'min': 200, 'max': 500, // 'color': '#27E833', 'color': '#2ecc71', 'opacity': 1 }]; for (var i = 0; i < eGovAttributeList.length; i++) { COLUMN_STYLES[eGovAttributeList[i]] = styleOptions2; } var styledMap = new google.maps.StyledMapType(mapStyles3, { name: "Styled Map" }); var andhra = new google.maps.LatLng(16.0000, 80.6400); map = new google.maps.Map(document.getElementById('map-canvas'), { center: andhra, scrollwheel: false, zoomControl: true, zoomControlOptions: { style: google.maps.ZoomControlStyle.LARGE, position: google.maps.ControlPosition.LEFT_CENTER }, streetViewControl: false, mapTypeControl: false, disableDefaultUI: true, mapTypeId: google.maps.MapTypeId.TERRAIN, zoom: 6 }); // map.mapTypes.set('map_style_2', styledMap); // map.setMapTypeId('map_style_2'); zoomAfterQuery = 6; centerAfterQuery = andhra; chartInfoBubble1 = new InfoBubble({ map: map, shadowStyle: 1, padding: 10, backgroundColor: 'rgb(255,255,255)', borderRadius: 0, arrowSize: 25, minWidth: 300, borderWidth: 0, borderColor: '#2c2c2c', disableAutoPan: false, hideCloseButton: false, arrowPosition: 50, arrowStyle: 0 }); chartInfoBubble2 = new InfoBubble({ map: map, shadowStyle: 1, padding: 10, backgroundColor: 'rgb(255,255,255)', borderRadius: 0, arrowSize: 25, minWidth: 300, borderWidth: 0, borderColor: '#2c2c2c', disableAutoPan: false, hideCloseButton: false, arrowPosition: 50, arrowStyle: 0 }); chartInfoBubble1 = new InfoBubble({ minHeight: 160 }); chartInfoBubble2 = new InfoBubble({ minHeight: 225 }); chartInfoMarker = new google.maps.Marker({ map: map, icon: 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|0000FF' }); layer = new google.maps.FusionTablesLayer({ query: { select: 'Polygon', from: citiesTableID }, map: map, suppressInfoWindows: false }); districtLayer = new google.maps.FusionTablesLayer({ query: { select: '\'Geocodable address\'', from: districtsTableID }, map: map, styleId: 1, suppressInfoWindows: false }); google.maps.event.addListener(layer, 'click', function(e) { var cityChosen = e.row['ULB Name'].value.toString(); e.infoWindowHtml = "<div ><font size='2'>" e.infoWindowHtml += "<b>" + cityChosen + "</b><br>" + "District: <b>" + e.row['District'].value.toString() + "</b><br>" + "Region: <b>" + e.row['Region'].value.toString() + "</b>"; e.infoWindowHtml += "</font></div>"; }); layer.setMap(map); //layer.setMap(null); google.maps.event.addListener(districtLayer, 'click', function(e) { var districtTooltip = e.row['DISTRICT_2011'].value.toString(); var regionTooltip = e.row['Region'].value.toString(); e.infoWindowHtml = "<div ><font size='2'>" e.infoWindowHtml += "District: <b>" + districtTooltip + "</b><br>" + "Region: <b>" + regionTooltip + "</b>"; e.infoWindowHtml += "</font></div>"; }); //drawChart(); applyStyle(layer, attributeNameX); } function drawChart() { if (gradeName == "regwise") { if(attributeNameX == 'UPM-Achievement (percentage)') { attributeNameX = 'UPM-Marks'; }else if(attributeNameX == 'M-Achievement (percentage)') { attributeNameX = 'M-Marks'; }else if(attributeNameX == 'C-Achievement (percentage)') { attributeNameX = 'C-Marks'; } } if (chartType == "Table" || chartType == "PieChart") { document.getElementById('chartControl').style.display = "none"; } else { document.getElementById('chartControl').style.display = "block"; } placeChartQuery = ""; var chartModeTitle = "All ULBs"; var cumulativeChartQuery = ""; if (chartType == "MultiChart") { sortType = "ORDER BY '" + attributeNameY + "' ASC"; } if (chartType == "MultiChart" && gradeName == 'regwise') { sortType = "ORDER BY 'Region' ASC"; }else if(gradeName == 'regwise'){ sortType = "ORDER BY AVERAGE('" + attributeNameX + "') DESC"; } if (mode == "city") { placeChartQuery = "SELECT '" + attributeNameY + "','" + attributeNameX + "' FROM " + citiesTableID + " " + sortType; chartModeTitle = "All ULBs"; layer.setOptions({ query: { select: 'Polygon', from: citiesTableID } }); districtLayer.setOptions({ query: { select: '\'Geocodable address\'', from: districtsTableID } }); } if (mode == "district") { chartModeTitle = "District: " + districtName; placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'District' = '" + districtName + "'" + sortType; layer.setOptions({ query: { select: 'Polygon', from: citiesTableID, where: "District = '" + districtName + "'" } }); districtLayer.setOptions({ query: { select: '\'Geocodable address\'', from: districtsTableID, where: "'DISTRICT_2011' = '" + districtName + "'" } }); } if (mode == "region") { chartModeTitle = "Region: " + regionName; placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'Region' = '" + regionName + "'" + sortType; layer.setOptions({ query: { select: 'Polygon', from: citiesTableID, where: "Region = '" + regionName + "'" } }); districtLayer.setOptions({ query: { select: '\'Geocodable address\'', from: districtsTableID, where: "'Region' = '" + regionName + "'" } }); } var layerWhereClause; if (mode == "grade") { if (gradeName == "G1") { placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'Grade' IN ('Special','Selection')" + sortType; chartModeTitle = "Grade: Special, Selection"; layerWhereClause = "'Grade' IN ('Special','Selection')"; } else if (gradeName == "G2") { placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'Grade' IN ('I','II')" + sortType; chartModeTitle = "Grade: I, II"; layerWhereClause = "'Grade' IN ('I','II')"; } else if (gradeName == "G3") { placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'Grade' IN ('III','NP')" + sortType; chartModeTitle = "Grade: III, NP"; layerWhereClause = "'Grade' IN ('III','NP')"; } else if (gradeName == "G4") { placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'Grade' = 'Corp'" + sortType; chartModeTitle = "Grade: Corp"; layerWhereClause = "'Grade' = 'Corp'"; } else if (gradeName == "elevenulb") { placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'ULB Name' IN ('TIRUPATI','KURNOOL','VISAKHAPATNAM','SRIKAKULAM','GUNTUR','KAKINADA','NELLIMARLA','RAJAM NP','KANDUKUR','ONGOLE CORP.','RAJAMPET')" + sortType; chartModeTitle = "11 ULBs"; layerWhereClause = "'ULB Name' IN ('TIRUPATI','KURNOOL','VISAKHAPATNAM','SRIKAKULAM','GUNTUR','KAKINADA','NELLIMARLA','RAJAM NP','KANDUKUR','ONGOLE CORP.','RAJAMPET')"; } else if (gradeName == "regwise") { placeChartQuery = "SELECT 'Region', AVERAGE('" + attributeNameX + "') FROM " + citiesTableID + " WHERE 'Region' IN ('ANANTAPUR','GUNTUR','RAJAHMUNDRY','VISAKHAPATNAM') GROUP BY 'Region' " + sortType; chartModeTitle = "Region-wise"; layerWhereClause = "'Region' IN ('ANANTAPUR','GUNTUR','RAJAHMUNDRY','VISAKHAPATNAM') GROUP BY 'Region' "; } else { placeChartQuery = "SELECT '" + attributeNameY + "', '" + attributeNameX + "' FROM " + citiesTableID + " WHERE 'Grade' = '" + gradeName + "'" + sortType; chartModeTitle = "Grade: " + gradeName; layerWhereClause = "'Grade' = '" + gradeName + "'"; } layer.setOptions({ query: { select: 'Polygon', from: citiesTableID, where: layerWhereClause } }); districtLayer.setOptions({ query: { select: '\'Geocodable address\'', from: districtsTableID } }); } cumulativeChartQuery = placeChartQuery.substring(placeChartQuery.indexOf("FROM")); if (gradeName == "regwise") { cumulativeChartQuery = "SELECT 'Region', AVERAGE('C-Marks') " + cumulativeChartQuery; }else{ cumulativeChartQuery = "SELECT '" + attributeNameY + "','C-Achievement (percentage)' " + cumulativeChartQuery; } generateReportQuery = placeChartQuery.substring(placeChartQuery.indexOf("FROM"), placeChartQuery.indexOf("ORDER")); //console.log(generateReportQuery); if (!overallSelected) { if (chartType == "MultiChart") { if(gradeName == 'regwise'){ generateReportQuery = "SELECT 'Region',AVERAGE('Annual Target'),AVERAGE('C-Target'),AVERAGE('C-Achievement'),AVERAGE('C-Achievement (percentage)'),AVERAGE('C-Marks'),AVERAGE('Max Marks'),AVERAGE('M-Target'),AVERAGE('M-Achievement'),AVERAGE('M-Achievement (percentage)'),AVERAGE('M-Marks') " + generateReportQuery + "ORDER BY 'Region' ASC "; }else{ generateReportQuery = "SELECT '" + attributeNameY + "','Annual Target','C-Target','C-Achievement','C-Achievement (percentage)','C-Marks','Max Marks', 'C-Rank','M-Target','M-Achievement','M-Achievement (percentage)','M-Marks','M-Rank' " + generateReportQuery + " ORDER BY '" + attributeNameY + "' ASC"; } multiSeries = true; } else { if(gradeName == 'regwise'){ if (attributeNameX.indexOf("C-") > -1) { generateReportQuery = "SELECT 'Region',AVERAGE('Annual Target'),AVERAGE('C-Target'),AVERAGE('C-Achievement'),AVERAGE('C-Achievement (percentage)'),AVERAGE('C-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY AVERAGE('" + attributeNameX + "') DESC "; } else if (attributeNameX.indexOf("UPM-") > -1) { generateReportQuery = "SELECT 'Region',AVERAGE('Annual Target'),AVERAGE('UPM-Target'),AVERAGE('UPM-Achievement'),AVERAGE('UPM-Achievement (percentage)'),AVERAGE('UPM-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY AVERAGE('" + attributeNameX + "') DESC "; } else if (attributeNameX.indexOf("M-") > -1) { generateReportQuery = "SELECT 'Region',AVERAGE('Annual Target'),AVERAGE('M-Target'),AVERAGE('M-Achievement'),AVERAGE('M-Achievement (percentage)'),AVERAGE('M-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY AVERAGE('" + attributeNameX + "') DESC "; } }else{ if (attributeNameX.indexOf("C-") > -1) { generateReportQuery = "SELECT '" + attributeNameY + "','Annual Target','C-Target','C-Achievement','C-Achievement (percentage)','C-Marks','Max Marks','C-Rank' " + generateReportQuery + " ORDER BY 'C-Rank' ASC"; } else if (attributeNameX.indexOf("UPM-") > -1) { generateReportQuery = "SELECT '" + attributeNameY + "','Annual Target','UPM-Target','UPM-Achievement','UPM-Achievement (percentage)','UPM-Marks','Max Marks','UPM-Rank' " + generateReportQuery + " ORDER BY 'UPM-Rank' ASC"; } else if (attributeNameX.indexOf("M-") > -1) { generateReportQuery = "SELECT '" + attributeNameY + "','Annual Target','M-Target','M-Achievement','M-Achievement (percentage)','M-Marks','Max Marks','M-Rank' " + generateReportQuery + " ORDER BY 'M-Rank' ASC"; } } } } else { if (chartType == "MultiChart") { if(gradeName == 'regwise'){ generateReportQuery = "SELECT 'Region',AVERAGE('C-Marks'),AVERAGE('M-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY 'Region' ASC " }else{ generateReportQuery = "SELECT '" + attributeNameY + "','C-Marks','C-Rank','M-Marks','M-Rank','Max Marks' " + generateReportQuery + " ORDER BY '" + attributeNameY + "' ASC"; } multiSeries = true; } else { if(gradeName == 'regwise'){ if (attributeNameX.indexOf("C-") > -1) { generateReportQuery = "SELECT 'Region',AVERAGE('C-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY AVERAGE('" + attributeNameX + "') DESC "; } else if (attributeNameX.indexOf("UPM-") > -1) { generateReportQuery = "SELECT 'Region',AVERAGE('UPM-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY AVERAGE('" + attributeNameX + "') DESC "; } else if (attributeNameX.indexOf("M-") > -1) { generateReportQuery = "SELECT 'Region',AVERAGE('M-Marks'),AVERAGE('Max Marks') " + generateReportQuery + "ORDER BY AVERAGE('" + attributeNameX + "') DESC "; } }else{ if (attributeNameX.indexOf("C-") > -1) { generateReportQuery = "SELECT '" + attributeNameY + "','C-Marks','Max Marks','C-Rank' " + generateReportQuery + " ORDER BY 'C-Rank' ASC"; } else if (attributeNameX.indexOf("UPM-") > -1) { generateReportQuery = "SELECT '" + attributeNameY + "','UPM-Marks','Max Marks','UPM-Rank' " + generateReportQuery + " ORDER BY 'UPM-Rank' ASC"; } else if (attributeNameX.indexOf("M-") > -1) { generateReportQuery = "SELECT '" + attributeNameY + "','M-Marks','Max Marks','M-Rank' " + generateReportQuery + " ORDER BY 'M-Rank' ASC"; } } } } var query = new google.visualization.Query('http://www.google.com/fusiontables/gvizdata?tq='); //console.log('cumulativeChartQuery:'+cumulativeChartQuery); query.setQuery(cumulativeChartQuery); query.send(getCumulativeValues); function getCumulativeValues(response) { cumulativeValues = []; //console.log('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage()); //console.log('First Response is:'+JSON.stringify(response)); for (var i = 0; i < response.getDataTable().getNumberOfRows(); i++) { cumulativeValues.push(response.getDataTable().getValue(i, 1)); } var query = new google.visualization.Query('http://www.google.com/fusiontables/gvizdata?tq='); // Apply query language statement. //console.log('placeChartQuery:'+placeChartQuery); query.setQuery(placeChartQuery); // Send the query with a callback function. query.send(handleQueryResponse); } function handleQueryResponse(response) { /* if (response.isError()) { alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage()); return; } */ dataTable = response.getDataTable(); //console.log('chartType:'+chartType); if (chartType != "MultiChart") { dataTable.addColumn({ type: 'string', role: 'style' }); //alert(parseFloat(globalBucket[0][1]) + "," + globalBucket[1][1]); var lastColorColumn = parseInt(dataTable.getNumberOfColumns()); var numberOfRowsInQuery = parseInt(dataTable.getNumberOfRows()); //console.log('Rows and columns is:'+numberOfRowsInQuery+'<--->'+lastColorColumn); if(gradeName == 'regwise'){ for (var i = 0; i < numberOfRowsInQuery; i++) { var color = 'rgb(0, 0, 0)'; if (dataTable.getValue(i, 0) == 'RAJAHMUNDRY') { color = 'rgb(231, 76, 60)'; //red } else if (dataTable.getValue(i, 0) == 'VISAKHAPATNAM') { color = 'rgb(241, 196, 15)'; //amber } else if (dataTable.getValue(i, 0) == 'GUNTUR') { color = 'rgb(46, 204, 113)'; //green } else if (dataTable.getValue(i, 0) == 'ANANTAPUR'){ color = 'rgb(0, 153, 204)'; //blue } dataTable.setValue(i, lastColorColumn - 2, (dataTable.getValue(i, 1)).toFixed(2)); dataTable.setValue(i, lastColorColumn - 1, color); } }else{ for (var i = 0; i < numberOfRowsInQuery; i++) { var color = 'rgb(0, 0, 0)'; if (dataTable.getValue(i, 1) < globalBucket[0][1]) { color = 'rgb(231, 76, 60)'; //red } else if (dataTable.getValue(i, 1) < globalBucket[1][1]) { color = 'rgb(241, 196, 15)'; //amber } else { color = 'rgb(46, 204, 113)'; //green } dataTable.setValue(i, lastColorColumn - 1, color); } } } else { //Multichart if(gradeName == 'regwise'){ dataTable.addColumn('number', 'AVERAGE(C-Marks)'); }else{ dataTable.addColumn('number', 'Cumulative Achievement (percentage)'); } var lastColumn = parseInt(dataTable.getNumberOfColumns()); var numberOfRowsInQuery = parseInt(dataTable.getNumberOfRows()); for (var i = 0; i < numberOfRowsInQuery; i++) { dataTable.setValue(i, lastColumn - 2, dataTable.getValue(i,1).toFixed(2)); dataTable.setValue(i, lastColumn - 1, cumulativeValues[i].toFixed(2)); } chartType = "ColumnChart"; } var MAX; var MIN; if (attributeNameY == "ULB Name") { MAX = dataTable.getNumberOfRows(); } else { MAX = dataTable.getColumnRange(0).max; } if (MAX < 4) { MIN = 2; } else if (MAX < 10) { MIN = 5; } else if (MAX < 30) { MIN = 10; } else if (MAX < 50) { MIN = 15; } else if (MAX < 115) { MIN = 30; } else if (MAX < 1000) { MIN = 250; } else if (MAX < 10000) { MIN = 2500; } else if (MAX < 50000) { MIN = 12500; } else if (MAX < 100000) { MIN = 25000; } else if (MAX < 200000) { MIN = 50000; } else if (MAX < 500000) { MIN = 100000; } else { MIN = 150000; } var prevButton = document.getElementById('chartPrev'); var nextButton = document.getElementById('chartNext'); var changeZoomButton = document.getElementById('chartZoom'); prevButton.disabled = true; nextButton.disabled = true; changeZoomButton.disabled = true; //alert($('#chartVizDiv').width()); var chartDivWidth = $('#chartVizDiv').width() - 100; var chartDivHeight = $('#chartVizDiv').height() - 215; var myOptions = { chartArea: { top: 70, left: 85, width: chartDivWidth, height: chartDivHeight }, axisTitlesPosition: 'out', // title: chartModeTitle, title: '', series: { 0: { color: '#F5861F' }, 1: { color: '#6B4F2C' }, 2: { color: '#17365D' }, 3: { color: '#FFC000' } }, titlePosition: 'start', titleTextStyle: { color: '#000', fontSize: 20, fontName: 'Open Sans' }, animation: { duration: 1500, easing: 'linear', startup: true }, annotations: { alwaysOutside: true, /* boxStyle: { // Color of the box outline. stroke: '#000', // Thickness of the box outline. strokeWidth: 1, gradient: { color1: '#FFFFFF', color2: '#FFFFFF', x1: '0%', y1: '0%', x2: '100%', y2: '100%', useObjectBoundingBoxUnits: true } },*/ textStyle: { fontName: 'Times-Roman', fontSize: 14, bold: true, opacity: 1 } }, /* explorer: { keepInBounds:true },*/ vAxis: { title: '', textStyle: { fontSize: 14, color: '#000', fontName: 'Open Sans' }, titleTextStyle: { color: '#000', fontSize: 18, italic: false, bold: false }, baselineColor: '#000', gridlines: { count: 5 }, viewWindowMode: 'pretty' }, trendlines: { 0: { type: 'linear', visibleInLegend: true, color: 'purple', lineWidth: 3, opacity: 1, showR2: true } }, hAxis: { title: '', viewWindow: { min: 0, max: MAX }, textStyle: { fontSize: 14, color: '#000', fontName: 'Open Sans' }, titleTextStyle: { color: '#000', fontSize: 18, italic: false, bold: false }, baselineColor: '#000', gridlines: { count: 5 }, viewWindowMode: 'pretty' }, tooltip: { isHtml: false }, areaOpacity: 0.5, backgroundColor: '#FFFFFF', legend: { textStyle: { color: 'black', fontSize: 14, fontName: 'Open Sans' }, position: 'none', alignment: 'end' } }; var hisBarOptions = { chartArea: { // left:10, // top:100, left: 75, width: '90%', height: '70%' }, // title: chartModeTitle, title: '', titleTextStyle: { color: '#000000', fontSize: 20, fontName: 'Open Sans' }, animation: { duration: 1500, easing: 'linear', startup: true }, vAxis: { title: attributeNameY, viewWindow: { min: 0, max: MAX }, textStyle: { fontSize: 14, color: '#000000', fontName: 'Open Sans' }, titleTextStyle: { color: '#000000', fontSize: 18 } }, hAxis: { title: attributeNameX, textStyle: { fontSize: 14, color: '#000000', fontName: 'Open Sans' }, titleTextStyle: { color: '#000000', fontSize: 18 } }, tooltip: { isHtml: false }, backgroundColor: '#FFFFFF', legend: { textStyle: { color: 'black', fontSize: 14, fontName: 'Open Sans' }, position: 'none', alignment: 'end' } }; var wrapper = new google.visualization.ChartWrapper({ containerId: "chartVizDiv", //dataSourceUrl: "http://www.google.com/fusiontables/gvizdata?tq=", //query: placeChartQuery, dataTable: dataTable, chartType: chartType, options: (chartType == "Histogram" || chartType == "BarChart") ? hisBarOptions : myOptions }); google.visualization.events.addListener(wrapper, 'ready', onReady); wrapper.draw(); function onReady() { google.visualization.events.addListener(wrapper.getChart(), 'onmouseover', barMouseOver); google.visualization.events.addListener(wrapper.getChart(), 'onmouseout', barMouseOut); google.visualization.events.addListener(wrapper.getChart(), 'select', barSelect); prevButton.disabled = hisBarOptions.vAxis.viewWindow.min <= 0; nextButton.disabled = hisBarOptions.vAxis.viewWindow.max >= MAX; prevButton.disabled = myOptions.hAxis.viewWindow.min <= 0; nextButton.disabled = myOptions.hAxis.viewWindow.max >= MAX; changeZoomButton.disabled = false; } prevButton.onclick = function() { myOptions.hAxis.viewWindow.min -= MIN - 1; myOptions.hAxis.viewWindow.max -= MIN - 1; hisBarOptions.vAxis.viewWindow.min -= MIN - 1; hisBarOptions.vAxis.viewWindow.max -= MIN - 1; wrapper.draw(); } nextButton.onclick = function() { myOptions.hAxis.viewWindow.min += MIN - 1; myOptions.hAxis.viewWindow.max += MIN - 1; hisBarOptions.vAxis.viewWindow.min += MIN - 1; hisBarOptions.vAxis.viewWindow.max += MIN - 1; wrapper.draw(); } var zoomed = true; changeZoomButton.onclick = function() { if (zoomed) { myOptions.hAxis.viewWindow.min = 0; myOptions.hAxis.viewWindow.max = MIN; hisBarOptions.vAxis.viewWindow.min = 0; hisBarOptions.vAxis.viewWindow.max = MIN; } else { myOptions.hAxis.viewWindow.min = 0; myOptions.hAxis.viewWindow.max = MAX; hisBarOptions.vAxis.viewWindow.min = 0; hisBarOptions.vAxis.viewWindow.max = MAX; } zoomed = !zoomed; wrapper.draw(); } function barSelect(e) { //alert(tooltipValue); //var selectedItem = wrapper.getChart().getSelection()[0]; //tooltipValue = dataTable.getValue(e.row, 0); //addTooltipScript('https://www.googleapis.com/fusiontables/v2/query?sql='); } function barMouseOver(e) { timer = setTimeout(function() { // do your stuff here if (e.row < dataTable.getNumberOfRows()) { tooltipValue = dataTable.getValue(e.row, 0); tooltipValueCol = dataTable.getValue(e.row, 1); //setMapOnAll(null); //if overall and combined show report in modal else show in marker if(mainIndic == 0 || (mainIndic == 1 && subMainIndic == 0) || (mainIndic == 3 && subMainIndic == 0) || (mainIndic == 4 && subMainIndic == 0) || (mainIndic == 5 && subMainIndic == 0) || (mainIndic == 6 && subMainIndic == 0)|| (mainIndic == 8 && subMainIndic == 0)|| (mainIndic == 9 && subMainIndic == 0)|| (mainIndic == 12 && subMainIndic == 0)){ ulbsummary('https://www.googleapis.com/fusiontables/v2/query?sql=',tooltipValue); }else{ addTooltipScript('https://www.googleapis.com/fusiontables/v2/query?sql=', false); } $("#chosenNames").attr("placeholder", "Search ULBs").val("").focus().blur(); $('#chosenNames').chosen().trigger("chosen:updated"); } }, 1500); } function barMouseOut(e) { // on mouse out, cancel the timer clearTimeout(timer); chartInfoBubble2.close(); chartInfoMarker.setMap(null); //setMapOnAll(map); } } } var rankAttri; var targetAttri; var achievedAttri; var marksObtained; function ulbsummary(src,ulb){ $('#ulbsummary-title').html('<b>'+ulb+' - '+titleText.split('-')[0]+'</b>'); $('#ulbreport_table').hide(); $('#ulbreport').modal('show'); $('#loadingIndicatorforreport').show(); if (attributeNameX.indexOf("C-") > -1) { rankAttri = "C-Rank"; targetAttri = "C-Target"; achievedAttri = "C-Achievement"; marksObtained = "C-Marks"; } else if (attributeNameX.indexOf("UPM-") > -1) { rankAttri = "UPM-Rank"; targetAttri = "UPM-Target"; achievedAttri = "UPM-Achievement"; marksObtained = "UPM-Marks"; } else if (attributeNameX.indexOf("M-") > -1) { rankAttri = "M-Rank"; targetAttri = "M-Target"; achievedAttri = "M-Achievement"; marksObtained = "M-Marks"; } var selectText = "SELECT+'ULB Name',Centroid,'" + attributeNameX + "'" + ",'" + attributeNameY + "','Grade','Annual Target','" + rankAttri + "','" + targetAttri + "','" + achievedAttri + "','" + marksObtained + "','Max Marks'"; var tableIDString = "+from+" + citiesTableID; var whereText = "+where+'" + attributeNameY + "'='" + ulb + "'"; var key_callback_string = "&key=" + projectAPIKey; var source = src + selectText + tableIDString + whereText + key_callback_string; //console.log(src); var ulbPoint; $.ajax({url: source, async: false, success: function(response){ ulbPoint = response.rows[0]; }}); if(gradeName == 'regwise'){ }else{ $('#ulbreport_table').html(''); $('#ulbreport_table').append('<table class="table table-bordered table-hover"> <tbody> <tr> <th>Parameter</th> <th>Annual Target</th> <th>Target</th> <th>Achievement</th> <th>Marks</th> <th>Weightage</th> <th>Rank</th> </tr> <tr> <td>'+titleText.split('-')[1]+'</td><td>'+((typeof(ulbPoint[5]) == 'number') ? (ulbPoint[5].toFixed(2)) : ulbPoint[5])+'</td> <td>'+((typeof(ulbPoint[7]) == 'number') ? (ulbPoint[7].toFixed(2)) : ulbPoint[7])+'</td> <td>'+((typeof(ulbPoint[8]) == 'number') ? (ulbPoint[8].toFixed(2)) : ulbPoint[8])+'</td> <td>'+((typeof(ulbPoint[9]) == 'number') ? (ulbPoint[9].toFixed(2)) : ulbPoint[9])+'</td> <td>'+((typeof(ulbPoint[10]) == 'number') ? (ulbPoint[10].toFixed(2)) : ulbPoint[10])+'</td> <td>'+((typeof(ulbPoint[6]) == 'number') ? (ulbPoint[6].toFixed(2)) : ulbPoint[6])+'</td> </tr> </tbody> </table>'); //Show Parameter Data if(mainIndic == 3 && subMainIndic == 0){//Solid Waste Management var tablearray = [{"tableid":"1_nR3f6Z1TzTgCJ5UT0Do6QYf9Ok0hVfxkKf2vAfG","text":"Door To Door Collection"}, {"tableid":"1HlptexkOhseTkl7ujc13LYb7uELXJBQduRM6QmLu","text":"Garbage Lifting"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 4 && subMainIndic == 0){//Property Tax var tablearray = [{"tableid":"1Ft7BVfp-V8hpucsmWoW3Zal7p1qc5o6FwPSw3i4O","text":"Collection Efficiency"}, {"tableid":"175Ocis9sGqWTBLhXd2wVIawnlddbpKE1fvB-j_SZ","text":"Demand Increase"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 5 && subMainIndic == 0){//Citizen Services var tablearray = [{"tableid":"1K6vPTSthe2-X__IHsi42Roq5RReNZ9xy-nVTcgMc","text":"Citizen Charter"}, {"tableid":"1SbLuxSFUquS7q-mmLKp8_zYeKbdwvbbV3fMVmL5W","text":"Grievance Redressal"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 6 && subMainIndic == 0){//Finance var tablearray = [{"tableid":"1t3_EJG6Ppn4apIrONT0Wz1b6OYMix1OZkenzEcOd","text":"Double Entry Accounting"}, {"tableid":"10591kbl5tAaWG4Kamh9QCQ1HWjY4-ESWRDQ1GQZ0","text":"Pending Accounts and Audits"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 0){//Combined if(hod == 1){//DMA - Combined var tablearray = [{"tableid":"1BgiIsyij_n9vB7cuCFRn6UgE9Cq0rgCZ57FePIWm","text":"Solid Waste Management"}, {"tableid":"1gidez_jsV4mxBSZ0a_lfo6cwunZXsSUxlRpNb_Ut","text":"Property Tax"}, {"tableid":"1XXalUDbRkTKbNbv7Dntueqd-BB7Pz5y_-ZxRqDvF","text":"Citizen Services"}, {"tableid":"1q7GNaD1WoY8g2acTpXq9DbOggJnW-crbIxd7ixRY","text":"Finance"}, {"tableid":"1UOltn1AicEOL-FkG4mKsay6pEi8SZQKmf5y5xX9m","text":"Education"}]; queryhandling(tablearray,src,ulb); }else if(hod == 2){//CE - Combined var tablearray = [{"tableid":"1KVFlQd2zfJ5soZv_kJrMsxZNPEzZSdCzvJoKAGlE","text":"Water Supply"}, {"tableid":"1WjL0SBK8k3NgOMS8YjiirnuA1JgnqOuQjAAfSKZ-","text":"Street Lighting"}]; queryhandling(tablearray,src,ulb); }else if(hod == 3){//DTCP - Combined //No need }else if(hod == 4){//MEPMA - Combined //No need }else if(hod == 5){//Swach Andhra - Combined //No need }else if(hod == 6){//Greening Corporation - Combined //No need }else if(hod == 7){//Combined - Combined var tablearray = [{"tableid":"15PCNLfKkPZGc35wtThugjW0FBTlK2U9hCKIFNLTL","text":"DMA"}, {"tableid":"1AMkLyA2vz2xNXTHTX5JnxOZwnrVS6PNqu9xkhS7L","text":"CE"}, {"tableid":"1xCuO37vnXEN0Ake02ErGetRTZUo8W6mueNugmdhq","text":"DTCP"}, {"tableid":"1ufZzYeUN40B-5u0Msggo8UIHddJ-jQMvES8IAqWL","text":"MEPMA"}, {"tableid":"10DDREC-__XHoPjL1FFVZ5G6Beh-Bs3yzuP59t5hL","text":"Swacha Andhra"}, {"tableid":"13zBQvJvzrdj8vf63MnvUcJOgo5pG8MYcqYP1hVjh","text":"Greening Corp."},]; queryhandling(tablearray,src,ulb); } }else if(mainIndic == 8 && subMainIndic == 0){//Water Supply var tablearray = [{"tableid":"1dHEUFs9Edz-pfbBmX7dDczXZXdvHyhIT50681RiI","text":"Connections Coverage"}, {"tableid":"1f6ZA4wqY7V3gJAOhz3M2jMi9VMpVtQFGG6_ExJH-","text":"Cost Recovery"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 9 && subMainIndic == 0){//Street Lighting var tablearray = [{"tableid":"1XiO6lKhyPdCLTR6E_9ltEBaM20wQWDgt3X0E6Xqk","text":"LED Coverage"}, {"tableid":"1SJZL2t_DchzylwR2zoSE-Zk1NOPVrQ-hitSn8KXx","text":"Additional Fixtures"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 12 && subMainIndic == 0){//Community Development var tablearray = [{"tableid":"1ShLFRlL4D_O05ant_kRkkSprShJPYb_nQ8S4MCvT","text":"SHG Bank Linkage"}, {"tableid":"1QjN7go-OdeLVtKnart_yuwWuKavxEJP_lSy9tyV4","text":"Liveihood"}, {"tableid":"1Oua3hYGMx3knhsK7yf36TspEvV_rJbE2lsCEWqLT","text":"Skill Training Programmes"}]; queryhandling(tablearray,src,ulb); }else if(mainIndic == 1 && subMainIndic == 0){//Swach Andhra var tablearray = [{"tableid":"1VlRSa6bRH67nzwoZNNg5Hi7RrADs6nrpL9XGKZxk","text":"Household Toilet Coverage"}, {"tableid":"1gEkwIO7LC2ga5nS7fNiSZjrFaUyVcgQORdMAHs0d","text":"Community Toilet Coverage"}]; queryhandling(tablearray,src,ulb); } $('#loadingIndicatorforreport').hide(); $('#ulbreport_table').show(); } } function queryhandling(tablearray,src,ulb){ //Common Query var selectText = "SELECT+'ULB Name',Centroid,'" + attributeNameX + "'" + ",'" + attributeNameY + "','Grade','Annual Target','" + rankAttri + "','" + targetAttri + "','" + achievedAttri + "','" + marksObtained + "','Max Marks'"; var whereText = "+where+'" + attributeNameY + "'='" + ulb + "'"; var key_callback_string = "&key=" + projectAPIKey; $.each(tablearray, function(k, v) { //display the key and value pair var ts = v.tableid; var tableIDString = "from " + ts; var parameter_src = src + selectText + tableIDString + whereText + key_callback_string; parameter_report(parameter_src, v.text);//Function call }); } function parameter_report(source, parameter_text){ var ulbpoint; $.ajax({url: source, async: false, success: function(response){ ulbPoint = response.rows[0]; }}); $('#ulbreport_table table tbody').append('<tr> <td>'+parameter_text+'</td> <td>'+((typeof(ulbPoint[5]) == 'number') ? (ulbPoint[5].toFixed(2)) : ulbPoint[5])+'</td> <td>'+((typeof(ulbPoint[7]) == 'number') ? (ulbPoint[7].toFixed(2)) : ulbPoint[7])+'</td> <td>'+((typeof(ulbPoint[8]) == 'number') ? (ulbPoint[8].toFixed(2)) : ulbPoint[8])+'</td> <td>'+((typeof(ulbPoint[9]) == 'number') ? (ulbPoint[9].toFixed(2)) : ulbPoint[9])+'</td> <td>'+((typeof(ulbPoint[10]) == 'number') ? (ulbPoint[10].toFixed(2)) : ulbPoint[10])+'</td> <td>'+((typeof(ulbPoint[6]) == 'number') ? (ulbPoint[6].toFixed(2)) : ulbPoint[6])+'</td> </tr>'); } function addTooltipScript(src, fromSearchBar) { var rankAttri; var targetAttri; var achievedAttri; var marksObtained; if (attributeNameX.indexOf("C-") > -1) { rankAttri = "C-Rank"; targetAttri = "C-Target"; achievedAttri = "C-Achievement"; marksObtained = "C-Marks"; } else if (attributeNameX.indexOf("UPM-") > -1) { rankAttri = "UPM-Rank"; targetAttri = "UPM-Target"; achievedAttri = "UPM-Achievement"; marksObtained = "UPM-Marks"; } else if (attributeNameX.indexOf("M-") > -1) { rankAttri = "M-Rank"; targetAttri = "M-Target"; achievedAttri = "M-Achievement"; marksObtained = "M-Marks"; } var selectText = "SELECT+'ULB Name',Centroid,'" + attributeNameX + "'" + ",'" + attributeNameY + "','Grade','Annual Target','" + rankAttri + "','" + targetAttri + "','" + achievedAttri + "','" + marksObtained + "','Max Marks'"; var tableIDString = "+from+" + citiesTableID; var whereText = "+where+'" + attributeNameY + "'='" + tooltipValue + "'"; if (fromSearchBar) { whereText = "+where+'" + 'ULB Name' + "'='" + tooltipValue + "'"; } var key_callback_string = "&key=" + projectAPIKey + "&callback=tooltiphandler"; src = src + selectText + tableIDString + whereText + key_callback_string; var s = document.createElement('script'); s.setAttribute('src', src); document.body.appendChild(s); } function tooltiphandler(response) { var ulbPoint = response.rows[0]; if(gradeName == 'regwise'){ }else{ showULBonMap(ulbPoint[0], ulbPoint[1], ulbPoint[2], ulbPoint[3], ulbPoint[4], ulbPoint[5], ulbPoint[6], ulbPoint[7], ulbPoint[8], ulbPoint[9], ulbPoint[10]); } } function showULBonMap(ulb, centroid, ttValueY, ttValueX, grad, annualTar, rank, target, achieved, marks, maxMarks) { var bubbleLoc = centroid.split(','); if (chartInfoBubble1.isOpen()) { // unless the InfoBubble is open, we open it chartInfoBubble1.close(); } if (unitOfIndicator == "-") { target = " NA"; achieved = " NA"; annualTar = " NA"; } chartInfoBubble1.setContent("<div ><font size='2'><b>" + ulb + "</b><br/>Grade: <b>" + grad + "</b><br/>Unit of indicator: <b>" + unitOfIndicator + "</b></br><table border='1' class='infoWindowTable' style='width=100%;'><tr><th>Annual Target</th><th>Target</th><th>Achievement</th><th>" + attributeNameX + "</th><th>Marks (" + maxMarks + ")</th><th>Rank</th></tr><tr><td><b>" + ((typeof(annualTar) == 'number') ? (annualTar.toFixed(2)) : annualTar) + "</b></td><td><b>" + ((typeof(target) == 'number') ? (target.toFixed(2)) : target) + "</b></td><td><b>" + ((typeof(achieved) == 'number') ? (achieved.toFixed(2)) : achieved) + "</b></td><td><b>" + ((typeof(ttValueY) == 'number') ? (ttValueY.toFixed(2)) : ttValueY) + "</b></td><td><b>" + ((typeof(marks) == 'number') ? (marks.toFixed(2)) : marks) + "</b></td><td><b>" + rank + "</b></td></tr></table></font></div>"); chartInfoBubble1.setPosition(new google.maps.LatLng(parseFloat(bubbleLoc[1]) + zoomLevelBasedBubblePos(), parseFloat(bubbleLoc[0]))); if (!chartInfoBubble1.isOpen()) { // unless the InfoBubble is open, we open it chartInfoBubble1.open(map); } } function zoomLevelBasedBubblePos() { switch (map.getZoom()) { case 6: return 0.7; case 7: return 0.35; case 8: return 0.18; } return 0.04; } function setMapOnAll(map) { for (var i = 0; i < markers.length; i++) { markers[i].setMap(map); } } function bucketGenerator(myar) { myar.sort(function(a, b) { return a - b; }); var array1 = []; for (i = 0; i < myar.length; i++) { if (myar[i] != null) array1.push(myar[i]); } var array = []; for (i = 0; i < array1.length; i++) { array.push(array1[i]); while (array1[i] == 0) i++; } var buck = 3; var len1 = Math.floor(array.length * (0.2)); var len2 = Math.ceil(array.length * (0.6)); var len3 = array.length - (len1 + len2); var bucket = []; var bucketMin = []; var bucketMax = []; var max1 = array // if(array[0]==0) // bucket.push([0.01, array[len1 - 1]]); // else bucket.push([array[0], array[len1 - 1]]); bucket.push([array[len1], array[len1 + len2 - 1]]); bucket.push([array[len1 + len2], array[array.length - 1]]); var bucketF = []; var max; var min = parseFloat(bucket[0][0], 3); for (i = 0; i < buck; i++) { if (i < (buck - 1)) { var x = parseFloat(bucket[i + 1][0], 3); max = Math.ceil(parseFloat((parseFloat(bucket[i][1], 3) + parseFloat(bucket[i + 1][0], 3)) / 2)); if (x < max) { var max1 = (parseFloat(bucket[i][1], 3) + parseFloat(bucket[i + 1][0], 3)) / 2; max = parseFloat(max1).toFixed(2); } } else max = Math.ceil(parseFloat(bucket[i][1], 3)); bucketF.push([min, max]); min = max; } return bucketF; } function applyStyle(layer, column) { addScript('https://www.googleapis.com/fusiontables/v2/query?sql='); } function addScript(src) { var selectText = "SELECT '" + attributeNameX + "',Centroid,'ULB Name','Grade','" + attributeNameY + "','" + "Annual Target','C-Rank','M-Rank','UPM-Rank','C-Marks','UPM-Marks','M-Marks','Max Marks','Region'"; var whereText; if (mode == "city") { whereText = ''; } else if (mode == 'district') { whereText = " WHERE " + "District" + "='" + districtName + "'"; } else if (mode == 'region') { whereText = " WHERE " + "Region" + "='" + regionName + "'"; } else if (mode == 'grade') { if (gradeName == "G1") { whereText = " WHERE " + "'Grade' IN ('Special','Selection')"; } else if (gradeName == "G2") { whereText = " WHERE " + "'Grade' IN ('I','II')"; } else if (gradeName == "G3") { whereText = " WHERE " + "'Grade' IN ('III','NP')"; } else if (gradeName == "G4") { whereText = " WHERE " + "Grade" + "='Corp'"; } else if (gradeName == "elevenulb") { whereText = " WHERE " + "'ULB Name' IN ('TIRUPATI','KURNOOL','VISAKHAPATNAM','SRIKAKULAM','GUNTUR','KAKINADA','NELLIMARLA','RAJAM NP','KANDUKUR','ONGOLE CORP.','RAJAMPET')"; }else if (gradeName == "regwise") { whereText = " WHERE " + "'Region' IN ('ANANTAPUR','GUNTUR','RAJAHMUNDRY','VISAKHAPATNAM')"; } else { whereText = " WHERE " + "Grade" + "='" + gradeName + "'"; } } else { whereText = ''; } var tableIDString = " from " + citiesTableID; var key_callback_string = "&key=" + projectAPIKey + "&callback=handler"; src = src + selectText + tableIDString + whereText + key_callback_string; var s = document.createElement('script'); s.setAttribute('src', src); document.body.appendChild(s); } //var dummycount = 0; function handler(response) { markerLocations = []; searchBarULBs = []; var anantapur_count = 0, guntur_count = 0, raj_count = 0, vizag_count = 0; var anantapur=0, guntur=0, rajahmundry=0, vizag=0; var hisArray = []; for (var i = 0; i < response.rows.length; i++) { var attValX = response.rows[i][0];//timeframe hisArray.push(attValX); var pos = response.rows[i][1].toString().split(",");//latlong var lat = pos[1]; var lon = pos[0]; var city = (response.rows[i])[4].toString();//ulbname var grad = (response.rows[i])[3].toString(); var attValY = (response.rows[i])[4];//ulbname var annualTarget = (response.rows[i])[5]; var cRank = (response.rows[i])[6]; var mRank = (response.rows[i])[7]; var upmRank = (response.rows[i])[8]; var cMarks = (response.rows[i])[9]; var mMarks = (response.rows[i])[10]; var upmMarks = (response.rows[i])[11]; var maxMarks = (response.rows[i])[12]; var ulb_region = (response.rows[i])[13]; /*if((response.rows[i])[10] == 0 ) dummycount+= 1;*/ //do it only when region wise chart /*if (gradeName == "regwise") { if(ulb_region == 'ANANTAPUR'){ anantapur+=attValX; anantapur_count++;//total sum of 'attValX' by this anantapur_count }else if(ulb_region == 'GUNTUR'){ guntur+=attValX; guntur_count++;//total sum of 'attValX' by this guntur_count }else if(ulb_region == 'RAJAHMUNDRY'){ rajahmundry+=attValX; raj_count++;//total sum of 'attValX' by this raj_count }else if(ulb_region == 'VISAKHAPATNAM'){ vizag+=attValX; vizag_count++;//total sum of 'attValX' by this vizag_count } markerLocations.push([lat, lon, city, grad, attValX, attValY, annualTarget, cRank, mRank, upmRank, cMarks, upmMarks, mMarks, maxMarks,ulb_region]); searchBarULBs.push(city); }else{*/ markerLocations.push([lat, lon, city, grad, attValX, attValY, annualTarget, cRank, mRank, upmRank, cMarks, upmMarks, mMarks, maxMarks,ulb_region]); searchBarULBs.push(city); //} } //console.log('dummycount'+dummycount); /*if((attributeNameX.indexOf("UPM-") > -1) && (dummycount == 110)) document.getElementById("titleText").innerHTML = "<b style='color:red'>Since financial year starts from April. Previous month data won't be available for this month</b>"; */ //console.log(anantapur_count+'<-->'+guntur_count+'<-->'+raj_count+'<-->'+vizag_count); globalBucket = bucketGenerator(hisArray); //console.log(globalBucket); if (globalBucket[2][1] == 0 || isNaN(globalBucket[2][1])) { globalBucket[2][1] = 100; } if (isNaN(globalBucket[2][0])) { globalBucket[2][0] = globalBucket[2][1]; } if (isNaN(globalBucket[1][1])) { globalBucket[1][1] = globalBucket[2][1]; } if (isNaN(globalBucket[0][0])) { globalBucket[0][0] = 0; } if (isNaN(globalBucket[0][1])) { globalBucket[0][1] = 0; } if (isNaN(globalBucket[1][0])) { globalBucket[1][0] = 0; } /* if (globalBucket[1][1] == 100.00) { globalBucket[1][1] = 99.99; globalBucket[2][0] = 100; globalBucket[2][1] = 100; } */ var select = document.getElementById("chosenNames"); select.options.length = 0; //$('#chosenNames').append("<option value='"+searchBarULBs.length+"'>"+searchBarULBs.length+" ULBs</option>"); for (var i = 0; i < searchBarULBs.length; i++) { $('#chosenNames').append("<option value='" + searchBarULBs[i] + "'>" + searchBarULBs[i] + "</option>"); } $("#chosenNames").attr("placeholder", "Search ULBs").val("").focus().blur(); $('#chosenNames').chosen().trigger("chosen:updated"); drop(markerLocations, globalBucket); /* var columnStyle = COLUMN_STYLES[attributeNameX]; // was column previously var styles = []; for (var i in columnStyle) { var style = columnStyle[i]; style.min = bucket[i][0]-0.0001; style.max = bucket[i][1]+0.0001; styles.push({ where: generateWhere(attributeNameX, style.min, style.max), polygonOptions: { fillColor: style.color, fillOpacity: style.opacity ? style.opacity : 0.8 } }); } */ var styles = []; for (var i in COLUMN_STYLES[attributeNameX]) { var style = COLUMN_STYLES[attributeNameX][i]; // style.min = parseFloat(bucket[i][0],2) - 0.01; // style.max = parseFloat(bucket[i][1],2) + 0.01; style.min = parseFloat(globalBucket[i][0], 2) - 0.01; style.max = parseFloat(globalBucket[i][1], 2) + 0.01; styles.push({ where: generateWhere(attributeNameX, style.min, style.max), polygonOptions: { fillColor: style.color, fillOpacity: style.opacity ? style.opacity : 0.8 } }); } if(gradeName == 'regwise'){ layer.setMap(null); $('#searchChosenDiv').hide(); }else{ layer.set('styles', styles); } changeMap(); drawChart(); } function generateWhere(columnName, low, high) { var whereClause = []; whereClause.push("'"); whereClause.push(columnName); whereClause.push("' > "); whereClause.push(low); whereClause.push(" AND '"); whereClause.push(columnName); whereClause.push("' <= "); whereClause.push(high); return whereClause.join(''); } function changeMap() { var query = ""; if (mode == "city") { query = "SELECT 'geometry' FROM " + districtsTableID; districtLayer.setOptions({ query: { from: districtsTableID, select: 'geometry' }, styleId: 1, }); } if (mode == "district") { query = "SELECT 'geometry' FROM " + districtsTableID + " WHERE 'DISTRICT_2011' = '" + districtName + "'"; districtLayer.setOptions({ query: { from: districtsTableID, select: 'geometry', where: "'DISTRICT_2011' = '" + districtName + "'" }, styleId: 1 }); } if (mode == "region") { query = "SELECT 'geometry' FROM " + districtsTableID + " WHERE 'Region' = '" + regionName + "'"; districtLayer.setOptions({ query: { from: districtsTableID, select: 'geometry', where: "'Region' = '" + regionName + "'" }, styleId: 1 }); } if (mode == "grade") { query = "SELECT 'geometry' FROM " + districtsTableID; districtLayer.setOptions({ query: { from: districtsTableID, select: 'geometry' }, styleId: 1 }); } zoom2query(query); } function zoom2query(query) { map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(document.getElementById('legendWrapper')); var column = attributeNameX; $('#legendTitle').html(column); var columnStyle = COLUMN_STYLES[column]; var style = columnStyle[0]; $('#legendItem1Content').html((parseFloat(style.min, 2) + 0.01).toFixed(2) + ' - ' + (parseFloat(style.max, 2) - 0.01).toFixed(2)); style = columnStyle[1]; $('#legendItem2Content').html((parseFloat(style.min, 2) + 0.01).toFixed(2) + ' - ' + (parseFloat(style.max, 2) - 0.01).toFixed(2)); style = columnStyle[2]; $('#legendItem3Content').html((parseFloat(style.min, 2) + 0.01).toFixed(2) + ' - ' + (parseFloat(style.max, 2) - 0.01).toFixed(2)); $('#legendItem4Content').html(0 + ' or ' + 'undefined'); $('#legendWrapper').show(); // zoom and center map on query results //set the query using the parameter var queryText = encodeURIComponent(query); var query = new google.visualization.Query('http://www.google.com/fusiontables/gvizdata?tq=' + queryText); //set the callback function query.send(zoomTo); } function centerMap() { map.setZoom(zoomAfterQuery); map.panTo(centerAfterQuery); //wrapper.getChart().setSelection([{row:0, column:null}]); //updateLegend(attributeNameX); } function zoomTo(response) { if (!response) { //alert('no response'); return; } if (response.isError()) { //alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage()); return; } FTresponse = response; //for more information on the response object, see the documentation //http://code.google.com/apis/visualization/documentation/reference.html#QueryResponse numRows = response.getDataTable().getNumberOfRows(); numCols = response.getDataTable().getNumberOfColumns(); // handle multiple matches var bounds = new google.maps.LatLngBounds(); for (var i = 0; i < numRows; i++) { var kml = FTresponse.getDataTable().getValue(i, 0); // create a geoXml3 parser for the click handlers var geoXml = new geoXML3.parser({ map: map, zoom: false }); geoXml.parseKmlString("<Placemark>" + kml + "</Placemark>"); // handle all possible kml placmarks if (geoXml.docs[0].gpolylines.length > 0) { geoXml.docs[0].gpolylines[0].setMap(null); if (i == 0) var bounds = geoXml.docs[0].gpolylines[0].bounds; else bounds.union(geoXml.docs[0].gpolylines[0].bounds); } else if (geoXml.docs[0].markers.length > 0) { geoXml.docs[0].markers[0].setMap(null); if (i == 0) bounds.extend(geoXml.docs[0].markers[0].getPosition()); else bounds.extend(geoXml.docs[0].markers[0].getPosition()); } else if (geoXml.docs[0].gpolygons.length > 0) { geoXml.docs[0].gpolygons[0].setMap(null); if (i == 0) var bounds = geoXml.docs[0].gpolygons[0].bounds; else bounds.union(geoXml.docs[0].gpolygons[0].bounds); } } map.fitBounds(bounds); centerAfterQuery = map.getCenter(); zoomAfterQuery = map.getZoom(); } function getQueryStrings() { var assoc = {}; var decode = function(s) { return decodeURIComponent(s.replace(/\+/g, " ")); }; var queryString = location.search.substring(1); var keyValues = queryString.split('&'); for (var i in keyValues) { var key = keyValues[i].split('='); if (key.length > 1) { assoc[decode(key[0])] = decode(key[1]); } } return assoc; } function fetchDataFromBrowserQueryAndUpdateUI() { var qs = getQueryStrings(); var status = qs["status"]; //if you want to use ahead /* if (status=="init") { parent.document.getElementById('visuals').src = "visuals.html?X=C-Achievement&Y=ULB Name&area=grade&grade=G3&chart=ColumnChart&sort=XDESC&viz=split&status=start"; return; } */ var sort = qs["sort"]; attributeNameX = qs["X"]; attributeNameY = qs["Y"]; chartType = qs["chart"]; mode = qs["area"]; districtName = qs["dis"]; regionName = qs["reg"]; gradeName = qs["grade"]; vizType = qs["viz"]; mainIndic = qs["main"]; subMainIndic = qs["sub"]; hod = qs["hod"]; //document.getElementById("titleText").textContent = attributeNameX + " for " + attributeNameY; overallSelected = false; if (mainIndic == 0 || (mainIndic == 1 && subMainIndic == 0) || (mainIndic == 3 && subMainIndic == 0) || (mainIndic == 4 && subMainIndic == 0) || (mainIndic == 5 && subMainIndic == 0) || (mainIndic == 6 && subMainIndic == 0) || (mainIndic == 8 && subMainIndic == 0) || (mainIndic == 9 && subMainIndic == 0) || (mainIndic == 12 && subMainIndic == 0) ) { overallSelected = true; } if (sort == "XASC") { sortType = "ORDER BY '" + attributeNameX + "' ASC"; } else if (sort == "XDESC") { sortType = "ORDER BY '" + attributeNameX + "' DESC"; } else if (sort == "YASC") { sortType = "ORDER BY '" + attributeNameY + "' ASC"; } else if (sort == "YDESC") { sortType = "ORDER BY '" + attributeNameY + "' DESC"; } else if (sort == "NOSORT") { sortType = ""; } if (vizType == "split") { $('.mapsection').show().removeClass('col-xs-12').addClass('col-xs-6');; $('.chartsection').show().removeClass('col-xs-12').addClass('col-xs-6');; } else if (vizType == "map") { $('.mapsection').show().removeClass('col-xs-6').addClass('col-xs-12'); $('.chartsection').hide(); } else if (vizType == "chart") { $('.mapsection').hide(); $('.chartsection').show().removeClass('col-xs-6').addClass('col-xs-12'); } // alert(mainIndic+","+subMainIndic); citiesTableID = ''; if (mainIndic == 0) { if(hod == 1){ citiesTableID = '15PCNLfKkPZGc35wtThugjW0FBTlK2U9hCKIFNLTL'; titleText = "DMA Overall - Combined"; unitOfIndicator = "-"; }else if(hod == 2){ citiesTableID = '1AMkLyA2vz2xNXTHTX5JnxOZwnrVS6PNqu9xkhS7L'; titleText = "CE Overall - Combined"; unitOfIndicator = "-"; }else if(hod == 7){ citiesTableID = '1oh1JDpEiha7iByWwEo96IQpc_K3zkfdmJx-aE-Li'; titleText = "Combined - Combined"; unitOfIndicator = "-"; } }else if (mainIndic == 1) { if (subMainIndic == 0) { citiesTableID = '10DDREC-__XHoPjL1FFVZ5G6Beh-Bs3yzuP59t5hL'; titleText = "Swachcha Andhra - Overall"; unitOfIndicator = "-"; }else if (subMainIndic == 1) { citiesTableID = '1VlRSa6bRH67nzwoZNNg5Hi7RrADs6nrpL9XGKZxk'; titleText = "Swachcha Andhra - Individual Household Toilets (IHT) coverage"; unitOfIndicator = "No. of Toilets"; }else if (subMainIndic == 2) { citiesTableID = '1gEkwIO7LC2ga5nS7fNiSZjrFaUyVcgQORdMAHs0d'; titleText = "Swachcha Andhra - Community Toilets coverage"; unitOfIndicator = "No. of Toilets"; } }else if (mainIndic == 2) { if (subMainIndic == 0) { citiesTableID = '13zBQvJvzrdj8vf63MnvUcJOgo5pG8MYcqYP1hVjh'; titleText = "Greenery - Tree Plantation"; unitOfIndicator = "No. of plantations"; } }else if (mainIndic == 3) { if (subMainIndic == 0) { citiesTableID = '1BgiIsyij_n9vB7cuCFRn6UgE9Cq0rgCZ57FePIWm'; titleText = "Solid Waste Management - Overall"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1_nR3f6Z1TzTgCJ5UT0Do6QYf9Ok0hVfxkKf2vAfG'; titleText = "Solid Waste Management - Door to Door Garbage Collection"; unitOfIndicator = "No. of Households"; } else if (subMainIndic == 2) { citiesTableID = '1HlptexkOhseTkl7ujc13LYb7uELXJBQduRM6QmLu'; titleText = "Solid Waste Management - Garbage Lifting"; unitOfIndicator = "Metric tonnes"; } }else if (mainIndic == 4) { if (subMainIndic == 0) { citiesTableID = '1gidez_jsV4mxBSZ0a_lfo6cwunZXsSUxlRpNb_Ut'; titleText = "Property Tax - Overall"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1Ft7BVfp-V8hpucsmWoW3Zal7p1qc5o6FwPSw3i4O'; titleText = "Property Tax - Collection Efficiency"; unitOfIndicator = "Rupees (in lakhs)"; } else if (subMainIndic == 2) { citiesTableID = '175Ocis9sGqWTBLhXd2wVIawnlddbpKE1fvB-j_SZ'; titleText = "Property Tax - Demand Increase"; unitOfIndicator = "Rupees (in lakhs)"; } }else if (mainIndic == 5) { if (subMainIndic == 0) { citiesTableID = '1XXalUDbRkTKbNbv7Dntueqd-BB7Pz5y_-ZxRqDvF'; titleText = "Citizen Services - Overall"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1K6vPTSthe2-X__IHsi42Roq5RReNZ9xy-nVTcgMc'; titleText = "Citizen Services - Citizen Charter (office)"; unitOfIndicator = "No. of applications"; } else if (subMainIndic == 2) { citiesTableID = '1SbLuxSFUquS7q-mmLKp8_zYeKbdwvbbV3fMVmL5W'; titleText = "Citizen Services - Grievances Redressal (field)"; unitOfIndicator = "No. of grievances"; } }else if (mainIndic == 6) { if (subMainIndic == 0) { citiesTableID = '1q7GNaD1WoY8g2acTpXq9DbOggJnW-crbIxd7ixRY'; titleText = "Finance - Overall"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1t3_EJG6Ppn4apIrONT0Wz1b6OYMix1OZkenzEcOd'; titleText = "Finance - Double Entry Accounting"; unitOfIndicator = "No. of days"; } else if (subMainIndic == 2) { citiesTableID = '10591kbl5tAaWG4Kamh9QCQ1HWjY4-ESWRDQ1GQZ0'; titleText = "Finance - Pending Accounts and Audit"; unitOfIndicator = "No. of years"; } }else if (mainIndic == 7) { citiesTableID = '1UOltn1AicEOL-FkG4mKsay6pEi8SZQKmf5y5xX9m'; titleText = "Education - High schools with IIT foundation"; unitOfIndicator = "No. of High schools"; }else if (mainIndic == 8) { if (subMainIndic == 0) { citiesTableID = '1KVFlQd2zfJ5soZv_kJrMsxZNPEzZSdCzvJoKAGlE'; titleText = "Water Supply Connections - Overall Coverage"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1dHEUFs9Edz-pfbBmX7dDczXZXdvHyhIT50681RiI'; titleText = "Water Supply - Connections Coverage"; unitOfIndicator = "No. of Connections"; } else if (subMainIndic == 2) { citiesTableID = '1f6ZA4wqY7V3gJAOhz3M2jMi9VMpVtQFGG6_ExJH-'; titleText = "Water Supply per month - Cost Recovery"; unitOfIndicator = "Rupees (in Lakhs)"; } }else if (mainIndic == 9) { if (subMainIndic == 0) { citiesTableID = '1WjL0SBK8k3NgOMS8YjiirnuA1JgnqOuQjAAfSKZ-'; titleText = "Street Lighting - Overall"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1XiO6lKhyPdCLTR6E_9ltEBaM20wQWDgt3X0E6Xqk'; titleText = "Street Lighting - LED Coverage"; unitOfIndicator = "No. of LEDs"; } else if (subMainIndic == 2) { citiesTableID = '1SJZL2t_DchzylwR2zoSE-Zk1NOPVrQ-hitSn8KXx'; titleText = "Street Lighting - Additional Fixtures"; unitOfIndicator = "No. of Fixtures"; } }else if (mainIndic == 11) { if (subMainIndic == 0) { citiesTableID = '1xCuO37vnXEN0Ake02ErGetRTZUo8W6mueNugmdhq'; titleText = "Town Planning Activities - Building Online Permissions"; unitOfIndicator = "No.of Applications"; } }else if (mainIndic == 12) { if (subMainIndic == 0) { citiesTableID = '1ufZzYeUN40B-5u0Msggo8UIHddJ-jQMvES8IAqWL'; titleText = "Community Development - Overall"; unitOfIndicator = "-"; } else if (subMainIndic == 1) { citiesTableID = '1ShLFRlL4D_O05ant_kRkkSprShJPYb_nQ8S4MCvT'; titleText = "Community Development - SHG Bank Linkage"; unitOfIndicator = "Rupees (in lakhs)"; } else if (subMainIndic == 2) { citiesTableID = '1QjN7go-OdeLVtKnart_yuwWuKavxEJP_lSy9tyV4'; titleText = "Community Development - Livelihood"; unitOfIndicator = "No."; }else if (subMainIndic == 3) { citiesTableID = '1Oua3hYGMx3knhsK7yf36TspEvV_rJbE2lsCEWqLT'; titleText = "Community Development - Skill Training Programmes"; unitOfIndicator = "No."; } } if (mode == "city") { titleText += " - All ULBs"; } else if (mode == "district") { titleText += " - " + districtName + " District"; } else if (mode == "region") { titleText += " - " + regionName + " Region"; } else if (mode == "grade") { if (gradeName == "G1") { titleText += " - Special, Selection Grades"; } else if (gradeName == "G2") { titleText += " - Grade I, II"; } else if (gradeName == "G3") { titleText += " - Grades III, NP"; } else if (gradeName == "G4") { titleText += " - Corporations Grade"; }else if (gradeName == "elevenulb") { titleText += " - 11 ULBs"; }else if (gradeName == "regwise") { titleText += " - Region-wise"; } } multiSeries = false; reportTitleText = titleText; if (chartType == "MultiChart") { if(gradeName === 'regwise'){ titleText += " - <span style='color:#F5861F;font-weight:bold;'>Monthly</span> and <span style='color:#6B4F2C;font-weight:bold;'>Cumulative</span> Marks"; }else{ titleText += " - <span style='color:#F5861F;font-weight:bold;'>Monthly</span> and <span style='color:#6B4F2C;font-weight:bold;'>Cumulative</span> Achievement (%)"; } multiSeries = true; reportTitleText += " - Monthly v/s Cumulative Report"; } else { if(gradeName === 'regwise'){ if (attributeNameX.indexOf("C-") > -1) { titleText += " - Cumulative Marks"; reportTitleText += " - Cumulative Report"; } else if (attributeNameX.indexOf("UPM-") > -1) { titleText += " - Upto Previous Month Marks"; reportTitleText += " - Upto previous month Report"; } else if (attributeNameX.indexOf("M-") > -1) { reportTitleText += " - Monthly Report"; titleText += " - Monthly Marks"; } }else{ if (attributeNameX.indexOf("C-") > -1) { titleText += " - Cumulative Achievement (%)"; reportTitleText += " - Cumulative Report"; } else if (attributeNameX.indexOf("UPM-") > -1) { titleText += " - Upto previous month Achievement (%)"; reportTitleText += " - Upto previous month Report"; } else if (attributeNameX.indexOf("M-") > -1) { reportTitleText += " - Monthly Report"; titleText += " - Monthly Achievement (%)"; } } } document.getElementById("titleText").innerHTML = "<b>" + titleText + "</b>"; initialize(); } function drop(cities, bucket) { clearMarkers(); for (var i = 0; i < cities.length; i++) { addMarkerWithTimeout(cities[i], 1, bucket); } } function addMarkerWithTimeout(position, timeout, bucket) { var mrkr; var image; if (position[4] < bucket[0][1]) { //console.log("red: " + position[4]); image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|e74c3c'; } else if (position[4] < bucket[1][1]) { //console.log("amber: " + position[4]); image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|f1c40f'; } else if (position[4] <= bucket[2][1]) { //console.log("green: " + position[4]); image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|2ecc71'; } if (position[4] == 100) { image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|2ecc71'; } //console.log(position[14]);//region-wise if (gradeName == "regwise") { if(position[14] == 'RAJAHMUNDRY'){ image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|e74c3c'; //red }else if(position[14] == 'VISAKHAPATNAM'){ image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|f1c40f';//amber }else if(position[14] == 'GUNTUR'){ image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|2ecc71';//green }else if(position[14] == 'ANANTAPUR'){ image = 'http://chart.googleapis.com/chart?chst=d_map_pin_letter&chld=|0099cc';//blue } } var myLatLng = { lat: parseFloat(position[0]), lng: parseFloat(position[1]) }; if (unitOfIndicator == "-") { position[6] = " NA"; } mrkr = new google.maps.Marker({ position: myLatLng, map: map, icon: image, animation: google.maps.Animation.DROP }); mrkr.addListener('mouseover', function() { chartInfoBubble2.setContent("<div ><font size='2'><b>" + position[2] + "</b><br>" + "Grade: <b>" + position[3] + "</b></br>" + attributeNameX + ": <b>" + ((typeof(position[4]) == 'number') ? (position[4].toFixed(2)) : position[4]) + "</b></br>" + attributeNameY + ": <b>" + position[5] + "</b></br><table border='1' class='infoWindowTable' style='width=100%;'><tr><th>-</th><th>Upto previous month</th><th>Monthly</th><th>Cumulative</th></tr><tr><td><b>Marks (" + position[13] + ")</b></td><td><b>" + ((typeof(position[12]) == 'number') ? (position[12].toFixed(2)) : position[12]) + "</b></td><td><b>" + ((typeof(position[11]) == 'number') ? (position[11].toFixed(2)) : position[11]) + "</b></td><td><b>" + ((typeof(position[10]) == 'number') ? (position[10].toFixed(2)) : position[10]) + "</b></td></tr><tr><td><b>Rank</b></td><td><b>" + position[9] + "</b></td><td><b>" + position[8] + "</b></td><td><b>" + position[7] + "</b></td></tr></table></font></div>"); chartInfoBubble2.open(map,mrkr); }); mrkr.addListener('mouseout', function() { chartInfoBubble2.close(); }); //mrkr.setZIndex(101); markers.push(mrkr); } function clearMarkers() { for (var i = 0; i < markers.length; i++) { markers[i].setMap(null); } markers = []; } function selectChosenItemSelected() { var selectBox = document.getElementById("chosenNames"); var selectedValue = selectBox.options[selectBox.selectedIndex].value; tooltipValue = selectedValue; ulbsummary('https://www.googleapis.com/fusiontables/v2/query?sql=', tooltipValue); } function generateReport() { // alert(generateReportQuery); var query = new google.visualization.Query('http://www.google.com/fusiontables/gvizdata?tq='); //console.log('generateReportQuery:'+generateReportQuery); query.setQuery(generateReportQuery); query.send(openTableModal); $('#loadingIndicator').show(); $('#table_div').hide(); } function openTableModal(response) { var data = response.getDataTable(); var myTableDiv = document.getElementById("table_div"); var table = document.getElementById('print_data_table'); var tableBody = document.getElementById('table_body'); while (tableBody.firstChild) { tableBody.removeChild(tableBody.firstChild); } var heading = new Array(); var heading = []; if (!overallSelected) { if(gradeName == 'regwise'){ if (!multiSeries) { heading = ["Sr No.", "Region", "Annual Target", "Target", "Achievement", "Achievement %", "Marks", "Max Marks"]; } else { heading = ["Sr No.", "Region", "Annual Target", "C-Target", "C-Achievement", "C-Achievement %", "C-Marks", "Max Marks", "M-Target", "M-Achievement", "M-Achievement %", "M-Marks"]; } }else{ if (!multiSeries) { heading = ["Sr No.", "ULB Name", "Annual Target", "Target", "Achievement", "Achievement %", "Marks", "Max Marks", "Rank"]; } else { heading = ["Sr No.", "ULB Name", "Annual Target", "C-Target", "C-Achievement", "C-Achievement %", "C-Marks", "Max Marks", "C-Rank", "M-Target", "M-Achievement", "M-Achievement %", "M-Marks", "M-Rank"]; } } } else { if(gradeName == 'regwise'){ if (!multiSeries) { heading = ["Sr No.", "Region", "Marks", "Max Marks"]; } else { heading = ["Sr No.", "Region", "C-Marks", "M-Marks", "Max Marks"]; } }else{ if (!multiSeries) { heading = ["Sr No.", "ULB Name", "Marks", "Max Marks", "Rank"]; } else { heading = ["Sr No.", "ULB Name", "C-Marks", "C-Rank", "M-Marks", "M-Rank", "Max Marks"]; } } } var tr = document.createElement('TR'); tableBody.appendChild(tr); for (i = 0; i < heading.length; i++) { var th = document.createElement('TH') //th.width = '200'; th.appendChild(document.createTextNode(heading[i])); tr.appendChild(th); } var rows = [], columns = []; for (var i = 0; i < data.getNumberOfRows(); i++) { var tr = document.createElement('TR'); var td = document.createElement('TD'); td.appendChild(document.createTextNode(i + 1)); tr.appendChild(td); for (var j = 0; j < data.getNumberOfColumns(); j++) { var td = document.createElement('TD'); var val = data.getValue(i, j); //td.appendChild(document.createTextNode(val)); //console.log(val+'<--->'+typeof(val)); if(j == (data.getNumberOfColumns()-1)){ td.appendChild(document.createTextNode(val)); }else{ if(typeof(val) == 'string'){ td.appendChild(document.createTextNode(val)); }else if(typeof(val) == 'number'){ td.appendChild(document.createTextNode(val.toFixed(2))); } } tr.appendChild(td); } tableBody.appendChild(tr); } myTableDiv.appendChild(table); $('#loadingIndicator').hide(); $('#table_div').show(); $('#m-title').text(reportTitleText); $('#m-subtitle').text('UOM : '+unitOfIndicator); } function paperPrint() { $(".modal-content").printElement({ printBodyOptions: { styleToAdd: 'height:auto;overflow:auto;margin-left:-25px;' } }); }
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Tfile Schema */ var TfileSchema = new Schema({ name: { type: String, default: '', required: 'Please add a TestFile name', trim: true }, created: { type: Date, default: Date.now }, user: { type: Schema.ObjectId, ref: 'User' }, content: { type:String, default: '' }, tags: { type:[String], default: {} } }); mongoose.model('Tfile', TfileSchema);
'use strict'; // event // eventType - 'dragStart', 'drag', 'dragStop' // pos - absolute pos, // returnCallback var app = angular.module('utilsDrag', []); app.directive('utilsDrag', function ( ) { return { restrict: 'A', scope: { dragCallback: '&utilsDrag' }, replace: true, controller: [ '$scope', '$rootScope', function ( $scope ) { window.ud = $scope; $scope.dragElement = U; $scope.dragStartPosition = U; $scope.returnCallback = function () { $scope.dragElement.css( $scope.dragStartPosition ); } }], link: function ( scope, element ) { var cursorTop = $(element).height() / 2; var cursorLeft = $(element).width() / 2; function getCursorPosition ( topLeft, event ) { // console.log( 'event: ', event ); // var eventPos = getEventPos( event ); var x = event.pageX; var y = event.pageY; return { x: x, y: y }; } $(element).draggable( { cursorAt: { top: cursorTop, left: cursorLeft }, start: function ( event, ui ) { scope.dragElement = $(this); scope.dragElement.css('pointer-events', 'none'); var startDragging = scope.dragCallback( { event: event, eventType: 'dragStart', pos: getCursorPosition( ui.position, event ), returnCallback: scope.returnCallback }); scope.dragStartPosition = ui.position; }, drag: function( event, ui ) { var drag = scope.dragCallback( { event: event, eventType: 'drag', pos: getCursorPosition( ui.position, event ), returnCallback: scope.returnCallback }); if ( drag ) return false; }, stop: function ( event, ui ) { var stopDragging = scope.dragCallback( { event: event, eventType: 'dragStop', pos: getCursorPosition( ui.position, event ), returnCallback: scope.returnCallback }); scope.dragElement.css('pointer-events', 'all'); } }); } }; });
/* jshint node: true */ 'use strict'; var assign = require('object-assign'); module.exports = { name: 'ember-cli-cloudinary-images', config: function(environment, appConfig) { var CLOUDINARY = appConfig.CLOUDINARY || {}; return { CLOUDINARY: assign({ /** For future support */ API_KEY: '', /** The user in Cloudinary */ CLOUD_NAME: '', /** Used for private CDN or as for sub-domain for given domain */ SUB_DOMAIN: '', /** The domain of the account if exists (default to shared domain of Cloudinary) */ DOMAIN: '', /** Use HTTPs or HTTP. The default is HTTPs */ SECURE: true, /** Use distributions CDN (example: https://res-[1-5].cloudinary.com) */ CDN_DISTRIBUTION: false, /** Transforms for concatenation with given transforms */ CONCATENATED_TRANSFORMS: [], /** Default transforms that can be override */ DEFAULT_TRANSFORMS: [], /** Default images file extensions */ DEFAULT_IMAGE_FORMAT: 'jpg' }, CLOUDINARY) }; } };
/* Magic Mirror Test config default weather * * By rejas * MIT Licensed. */ let config = { units: "imperial", modules: [ { module: "weather", position: "bottom_bar", config: { type: "forecast", location: "Munich", mockData: '"#####WEATHERDATA#####"', weatherEndpoint: "/forecast/daily", decimalSymbol: "_" } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; }
/** * Produces optimized XTemplates for chunks of tables to be * used in grids, trees and other table based widgets. */ Ext.define('Ext.view.TableChunker', { singleton: true, requires: ['Ext.XTemplate'], metaTableTpl: [ '{%if (this.openTableWrap)out.push(this.openTableWrap())%}', '<table class="' + Ext.baseCSSPrefix + 'grid-table ' + Ext.baseCSSPrefix + 'grid-table-resizer" border="0" cellspacing="0" cellpadding="0" {[this.embedFullWidth(values)]}>', '<tbody>', '<tr class="' + Ext.baseCSSPrefix + 'grid-header-row">', '<tpl for="columns">', '<th class="' + Ext.baseCSSPrefix + 'grid-col-resizer-{id}" style="width: {width}px; height: 0px;"></th>', '</tpl>', '</tr>', '{[this.openRows()]}', '{row}', '<tpl for="features">', '{[this.embedFeature(values, parent, xindex, xcount)]}', '</tpl>', '{[this.closeRows()]}', '</tbody>', '</table>', '{%if (this.closeTableWrap)out.push(this.closeTableWrap())%}' ], constructor: function() { Ext.XTemplate.prototype.recurse = function(values, reference) { return this.apply(reference ? values[reference] : values); }; }, embedFeature: function(values, parent, x, xcount) { if (!values.disabled) { return values.getFeatureTpl(values, parent, x, xcount); } return ''; }, embedFullWidth: function(values) { var result = 'style="width:{fullWidth}px;'; // If there are no records, we need to give the table a height so that it // is displayed and causes q scrollbar if the width exceeds the View's width. if (!values.rowCount) { result += 'height:1px;'; } return result + '"'; }, openRows: function() { return '<tpl for="rows">'; }, closeRows: function() { return '</tpl>'; }, metaRowTpl: [ '<tr class="' + Ext.baseCSSPrefix + 'grid-row {[this.embedRowCls()]}" {[this.embedRowAttr()]}>', '<tpl for="columns">', '<td class="{cls} ' + Ext.baseCSSPrefix + 'grid-cell ' + Ext.baseCSSPrefix + 'grid-cell-{columnId} {{id}-modified} {{id}-tdCls} {[this.firstOrLastCls(xindex, xcount)]}" {{id}-tdAttr}>', '<div {unselectableAttr} class="' + Ext.baseCSSPrefix + 'grid-cell-inner {unselectableCls}" style="text-align: {align}; {{id}-style};">{{id}}</div>', '</td>', '</tpl>', '</tr>' ], firstOrLastCls: function(xindex, xcount) { var result = ''; if (xindex === 1) { result = Ext.view.Table.prototype.firstCls; } if (xindex === xcount) { result += ' ' + Ext.view.Table.prototype.lastCls; } return result; }, embedRowCls: function() { return '{rowCls}'; }, embedRowAttr: function() { return '{rowAttr}'; }, openTableWrap: undefined, closeTableWrap: undefined, getTableTpl: function(cfg, textOnly) { var me = this, tpl, tableTplMemberFns = { openRows: me.openRows, closeRows: me.closeRows, embedFeature: me.embedFeature, embedFullWidth: me.embedFullWidth, openTableWrap: me.openTableWrap, closeTableWrap: me.closeTableWrap }, tplMemberFns = {}, features = cfg.features, featureCount = features ? features.length : 0, i = 0, memberFns = { embedRowCls: me.embedRowCls, embedRowAttr: me.embedRowAttr, firstOrLastCls: me.firstOrLastCls, unselectableAttr: cfg.enableTextSelection ? '' : 'unselectable="on"', unselectableCls: cfg.enableTextSelection ? '' : Ext.baseCSSPrefix + 'unselectable' }, // copy the template spec array if there are Features which might mutate it metaRowTpl = featureCount ? Array.prototype.slice.call(me.metaRowTpl, 0) : me.metaRowTpl; for (; i < featureCount; i++) { if (!features[i].disabled) { features[i].mutateMetaRowTpl(metaRowTpl); Ext.apply(memberFns, features[i].getMetaRowTplFragments()); Ext.apply(tplMemberFns, features[i].getFragmentTpl()); Ext.apply(tableTplMemberFns, features[i].getTableFragments()); } } cfg.row = new Ext.XTemplate(metaRowTpl.join(''), memberFns).applyTemplate(cfg); tpl = new Ext.XTemplate(me.metaTableTpl.join(''), tableTplMemberFns).applyTemplate(cfg); // TODO: Investigate eliminating. if (!textOnly) { tpl = new Ext.XTemplate(tpl, tplMemberFns); } return tpl; } });
/////////////// /// main.js // ///////////// jQuery(function () { var $ = jQuery; // happy coding! });
import { collection } from 'ember-cli-page-object'; export default { scope: '.user__skills-list', emptyState: { scope: '[data-test-user-skills-list-empty-state]' }, skills: collection('[data-test-user-skills-list-item]') };
/** @module utils/nodes */ /** * The default testnet node * * @type {string} */ let defaultTestnetNode = 'http://bob.nem.ninja:7778'; /** * The default mainnet node * * @type {string} */ let defaultMainnetNode = 'http://alice6.nem.ninja:7778'; /** * The default mijin node * * @type {string} */ let defaultMijinNode = ''; /** * The default mainnet block explorer * * @type {string} */ let defaultMainnetExplorer = 'http://chain.nem.ninja/#/transfer/'; /** * The default testnet block explorer * * @type {string} */ let defaultTestnetExplorer = 'http://bob.nem.ninja:8765/#/transfer/'; /** * The default mijin block explorer * * @type {string} */ let defaultMijinExplorer = ''; /** * The nodes allowing search by transaction hash on testnet * * @type {array} */ let testnetSearchNodes = [ { 'uri': 'http://bigalice2.nem.ninja:7890', 'location': 'America / New_York' }, { 'uri': 'http://192.3.61.243:7890', 'location': 'America / Los_Angeles' }, { 'uri': 'http://23.228.67.85:7890', 'location': 'America / Los_Angeles' } ]; /** * The nodes allowing search by transaction hash on mainnet * * @type {array} */ let mainnetSearchNodes = [ { 'uri': 'http://62.75.171.41:7890', 'location': 'Germany' }, { 'uri': 'http://104.251.212.131:7890', 'location': 'USA' }, { 'uri': 'http://45.124.65.125:7890', 'location': 'Hong Kong' }, { 'uri': 'http://185.53.131.101:7890', 'location': 'Netherlands' }, { 'uri': 'http://sz.nemchina.com:7890', 'location': 'China' } ]; /** * The nodes allowing search by transaction hash on mijin * * @type {array} */ let mijinSearchNodes = [ { 'uri': '', 'location': '' } ]; /** * The testnet nodes * * @type {array} */ let testnetNodes = [ { uri: 'http://bob.nem.ninja:7778' }, { uri: 'http://104.128.226.60:7778' }, { uri: 'http://23.228.67.85:7778' }, { uri: 'http://192.3.61.243:7778' }, { uri: 'http://50.3.87.123:7778' }, { uri: 'http://localhost:7778' } ]; /** * The mainnet nodes * * @type {array} */ let mainnetNodes = [ { uri: 'http://62.75.171.41:7778' }, { uri: 'http://san.nem.ninja:7778' }, { uri: 'http://go.nem.ninja:7778' }, { uri: 'http://hachi.nem.ninja:7778' }, { uri: 'http://jusan.nem.ninja:7778' }, { uri: 'http://nijuichi.nem.ninja:7778' }, { uri: 'http://alice2.nem.ninja:7778' }, { uri: 'http://alice3.nem.ninja:7778' }, { uri: 'http://alice4.nem.ninja:7778' }, { uri: 'http://alice5.nem.ninja:7778' }, { uri: 'http://alice6.nem.ninja:7778' }, { uri: 'http://alice7.nem.ninja:7778' }, { uri: 'http://localhost:7778' } ]; /** * The mijin nodes * * @type {array} */ let mijinNodes = [ { uri: '' } ]; /** * The server verifying signed apostilles * * @type {string} */ let apostilleAuditServer = 'http://185.117.22.58:4567/verify'; module.exports = { defaultTestnetNode, defaultMainnetNode, defaultMijinNode, defaultMainnetExplorer, defaultTestnetExplorer, defaultMijinExplorer, testnetSearchNodes, mainnetSearchNodes, mijinSearchNodes, testnetNodes, mainnetNodes, mijinNodes, apostilleAuditServer }
/* Copyright (c) 2011 Cimaron Shanahan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * IR Instruction Class * * Represents a single assembly-like instruction */ function IrInstruction(op, d, s1, s2, s3) { var args; this.str = null; this.line = null; if (arguments.length == 1) { args = op.split(/[\s,]/); op = args[0]; d = args[1]; s1 = args[2]; s2 = args[3]; s3 = args[4]; } this.op = op; this.d = this.operand(d); this.s1 = this.operand(s1); this.s2 = this.operand(s2); this.s3 = this.operand(s3); } IrInstruction.operands = ['d', 's1', 's2', 's3']; /** * Create operand for instruction * * @param mixed opr String or IrOperand * * @return mixed */ IrInstruction.prototype.operand = function(opr) { if (!opr) { return ""; } if (opr instanceof IrOperand) { return opr; } return new IrOperand(opr); }; /** * Adds the offset to all operands * * @param integer The offset to set */ IrInstruction.prototype.addOffset = function(offset) { var i, o; for (i = 0; i < IrInstruction.operands.length; i++) { o = IrInstruction.operands[i]; if (this[o]) { this[o].addOffset(offset); } } }; /** * Set the swizzle components on all operands * * @param string The swizzle to set */ IrInstruction.prototype.setSwizzle = function(swz) { var i, o; for (i = 0; i < IrInstruction.operands.length; i++) { o = IrInstruction.operands[i]; if (this[o] && !this[o].swizzle) { this[o].swizzle = swz; } } }; /** * toString method * * @return string */ IrInstruction.prototype.toString = function() { var out; out = util.format("%s%s%s%s%s;", this.op, this.d ? ' ' + this.d : '', this.s1 ? ', ' + this.s1 : '', this.s2 ? ', ' + this.s2 : '', this.s3 ? ', ' + this.s3 : '' ); return out; }; /** * IR Comment Class * * Represents a single comment */ function IrComment(comment, loc) { this.comment = comment; this.loc = loc; } IrComment.prototype.toString = function() { var c = this.comment; if (this.loc) { c = util.format("%s [%s:%s-%s:%s]", c, this.loc.first_line, this.loc.first_column, this.loc.last_line, this.loc.last_column); } c = "\n# " + c; return c; }; /** * IR Operand Class * * Represents a single operand */ function IrOperand(str, raw) { this.full = ""; this.neg = ""; this.name = ""; this.address = ""; this.swizzle = ""; this.number = ""; this.raw = ""; this.index = ""; if (raw) { this.full = str; this.raw = str; } else { this.parse(str); } } /** * Parses operand string * * @param string string that represents a single variable */ IrOperand.prototype.parse = function(str) { var parts, regex; if (!str) { return; } if (!isNaN(parseFloat(str))) { this.raw = str; return; } //neg regex = "(\-)?"; //name (include '%' for our code substitution rules) regex += "([\\w%]+)"; //number regex += "(?:@(\\d+))?"; //index regex += "(?:\\[(\\d+)\\])?"; //swizzle regex += "(?:\\.([xyzw]+))?"; regex = new RegExp("^" + regex + "$"); if (parts = str.match(regex)) { this.neg = parts[1] || ""; this.name = parts[2]; this.address = parseInt(parts[3]) || 0; this.index = parseInt(parts[4]) || 0; this.swizzle = parts[5] || ""; } else { if (parts = str.match(/^"(.*)"$/)) { this.raw = parts[1]; } else { this.raw = str; } } this.full = this.toString(); }; /** * Adds an offset * * @param integer Offset to add */ IrOperand.prototype.addOffset = function(offset) { this.address = this.address || 0; this.address += offset; }; /** * Set components size if not already set */ IrOperand.prototype.makeSize = function(size) { if (!this.swizzle) { this.swizzle = "xyzw".substring(0, size); } else if (this.swizzle.length != size) { throw new Error(util.format("Cannot coerce operand to size %s", size)); } }; /** * toString method * * @return string */ IrOperand.prototype.toString = function() { var str; if (this.raw) { str = this.raw; } else { str = this.neg + this.name + ("@" + this.address) + (this.index !== "" ? "[" + this.index + "]" : "") + (this.swizzle ? "." + this.swizzle : ""); } return str; };
/** @license MIT License (c) copyright B Cavalier & J Hann */ /** * wire/on plugin * wire plugin that provides an "on" facet to connect to dom events, * and includes support for delegation * * wire is part of the cujo.js family of libraries (http://cujojs.com/) * * Licensed under the MIT License at: * http://www.opensource.org/licenses/mit-license.php */ (function (define) { define(['./lib/plugin-base/on', './lib/dom/base'], function (createOnPlugin, base) { 'use strict'; var contains; /** * Listens for dom events at the given node. If a selector is provided, * events are filtered to only nodes matching the selector. Note, however, * that children of the matching nodes can also fire events that bubble. * To determine the matching node, use the event object's selectorTarget * property instead of it's target property. * @param node {HTMLElement} element at which to listen * @param event {String} event name ('click', 'mouseenter') * @param handler {Function} handler function with the following signature: function (e) {} * @param [selector] {String} optional css query string to use to * @return {Function} removes the event handler */ function on (node, event, handler /*, selector */) { var selector = arguments[3]; if (selector) { handler = filteringHandler(node, selector, handler); } node.addEventListener(event, handler, false); return function remove () { node.removeEventListener(node, handler, false); }; } on.wire$plugin = createOnPlugin({ on: on }); if (document && document.compareDocumentPosition) { contains = function w3cContains (refNode, testNode) { return (refNode.compareDocumentPosition(testNode) & 16) == 16; }; } else { contains = function oldContains (refNode, testNode) { return refNode.contains(testNode); }; } return on; /** * This is a brute-force method of checking if an event target * matches a query selector. * @private * @param node {Node} * @param selector {String} * @param handler {Function} function (e) {} * @returns {Function} function (e) {} */ function filteringHandler (node, selector, handler) { return function (e) { var target, matches, i, len, match; // if e.target matches the selector, call the handler target = e.target; matches = base.querySelectorAll(selector, node); for (i = 0, len = matches.length; i < len; i++) { match = matches[i]; if (target == match || contains(match, target)) { e.selectorTarget = match; return handler(e); } } }; } }); }( typeof define == 'function' && define.amd ? define : function (deps, factory) { module.exports = factory.apply(this, deps.map(require)); } ));
import { extend, colorRgbToHex, colorRgbToHsl, colorHslToHsb, colorHslToRgb, colorHsbToHsl, colorHexToRgb, nextTick, deleteProps, } from '../../shared/utils'; import Framework7Class from '../../shared/class'; import $ from '../../shared/dom7'; import { getDevice } from '../../shared/get-device'; import moduleAlphaSlider from './modules/alpha-slider'; import moduleCurrentColor from './modules/current-color'; import moduleHex from './modules/hex'; import moduleHsbSliders from './modules/hsb-sliders'; import moduleHueSlider from './modules/hue-slider'; import moduleBrightnessSlider from './modules/brightness-slider'; import modulePalette from './modules/palette'; import moduleInitialCurrentColors from './modules/initial-current-colors'; import moduleRgbBars from './modules/rgb-bars'; import moduleRgbSliders from './modules/rgb-sliders'; import moduleSbSpectrum from './modules/sb-spectrum'; import moduleHsSpectrum from './modules/hs-spectrum'; import moduleWheel from './modules/wheel'; /** @jsx $jsx */ import $jsx from '../../shared/$jsx'; class ColorPicker extends Framework7Class { constructor(app, params = {}) { super(params, [app]); const self = this; self.params = extend({}, app.params.colorPicker, params); let $containerEl; if (self.params.containerEl) { $containerEl = $(self.params.containerEl); if ($containerEl.length === 0) return self; } let $inputEl; if (self.params.inputEl) { $inputEl = $(self.params.inputEl); } let $targetEl; if (self.params.targetEl) { $targetEl = $(self.params.targetEl); } extend(self, { app, $containerEl, containerEl: $containerEl && $containerEl[0], inline: $containerEl && $containerEl.length > 0, $inputEl, inputEl: $inputEl && $inputEl[0], $targetEl, targetEl: $targetEl && $targetEl[0], initialized: false, opened: false, url: self.params.url, modules: { 'alpha-slider': moduleAlphaSlider, 'current-color': moduleCurrentColor, hex: moduleHex, // eslint-disable-line 'hsb-sliders': moduleHsbSliders, 'hue-slider': moduleHueSlider, 'brightness-slider': moduleBrightnessSlider, palette: modulePalette, // eslint-disable-line 'initial-current-colors': moduleInitialCurrentColors, 'rgb-bars': moduleRgbBars, 'rgb-sliders': moduleRgbSliders, 'sb-spectrum': moduleSbSpectrum, 'hs-spectrum': moduleHsSpectrum, wheel: moduleWheel, // eslint-disable-line }, }); function onInputClick() { self.open(); } function onInputFocus(e) { e.preventDefault(); } function onTargetClick() { self.open(); } function onHtmlClick(e) { if (self.destroyed || !self.params) return; if (self.params.openIn === 'page') return; const $clickTargetEl = $(e.target); if (!self.opened || self.closing) return; if ($clickTargetEl.closest('[class*="backdrop"]').length) return; if ($clickTargetEl.closest('.color-picker-popup, .color-picker-popover').length) return; if ($inputEl && $inputEl.length > 0) { if ( $clickTargetEl[0] !== $inputEl[0] && $clickTargetEl.closest('.sheet-modal').length === 0 ) { self.close(); } } else if ($(e.target).closest('.sheet-modal').length === 0) { self.close(); } } // Events extend(self, { attachInputEvents() { self.$inputEl.on('click', onInputClick); if (self.params.inputReadOnly) { self.$inputEl.on('focus mousedown', onInputFocus); if (self.$inputEl[0]) { self.$inputEl[0].f7ValidateReadonly = true; } } }, detachInputEvents() { self.$inputEl.off('click', onInputClick); if (self.params.inputReadOnly) { self.$inputEl.off('focus mousedown', onInputFocus); if (self.$inputEl[0]) { delete self.$inputEl[0].f7ValidateReadonly; } } }, attachTargetEvents() { self.$targetEl.on('click', onTargetClick); }, detachTargetEvents() { self.$targetEl.off('click', onTargetClick); }, attachHtmlEvents() { app.on('click', onHtmlClick); }, detachHtmlEvents() { app.off('click', onHtmlClick); }, }); self.init(); return self; } get view() { const { $inputEl, $targetEl, app, params } = this; let view; if (params.view) { view = params.view; } else { if ($inputEl) { view = $inputEl.parents('.view').length && $inputEl.parents('.view')[0].f7View; } if (!view && $targetEl) { view = $targetEl.parents('.view').length && $targetEl.parents('.view')[0].f7View; } } if (!view) view = app.views.main; return view; } attachEvents() { const self = this; self.centerModules = self.centerModules.bind(self); if (self.params.centerModules) { self.app.on('resize', self.centerModules); } } detachEvents() { const self = this; if (self.params.centerModules) { self.app.off('resize', self.centerModules); } } centerModules() { const self = this; if (!self.opened || !self.$el || self.inline) return; const $pageContentEl = self.$el.find('.page-content'); if (!$pageContentEl.length) return; const { scrollHeight, offsetHeight } = $pageContentEl[0]; if (scrollHeight <= offsetHeight) { $pageContentEl.addClass('justify-content-center'); } else { $pageContentEl.removeClass('justify-content-center'); } } initInput() { const self = this; if (!self.$inputEl) return; if (self.params.inputReadOnly) self.$inputEl.prop('readOnly', true); } getModalType() { const self = this; const { app, modal, params } = self; const { openIn, openInPhone } = params; const device = getDevice(); if (modal && modal.type) return modal.type; if (openIn !== 'auto') return openIn; if (self.inline) return null; if (device.ios) { return device.ipad ? 'popover' : openInPhone; } if (app.width >= 768 || (device.desktop && app.theme === 'aurora')) { return 'popover'; } return openInPhone; } formatValue() { const self = this; const { value } = self; if (self.params.formatValue) { return self.params.formatValue.call(self, value); } return value.hex; } // eslint-disable-next-line normalizeHsValues(arr) { return [ Math.floor(arr[0] * 10) / 10, Math.floor(arr[1] * 1000) / 1000, Math.floor(arr[2] * 1000) / 1000, ]; } setValue(value = {}, updateModules = true) { const self = this; if (typeof value === 'undefined') return; let { hex, rgb, hsl, hsb, alpha = 1, hue, rgba, hsla } = self.value || {}; const needChangeEvent = self.value || (!self.value && !self.params.value); let valueChanged; Object.keys(value).forEach((k) => { if (!self.value || typeof self.value[k] === 'undefined') { valueChanged = true; return; } const v = value[k]; if (Array.isArray(v)) { v.forEach((subV, subIndex) => { if (subV !== self.value[k][subIndex]) { valueChanged = true; } }); } else if (v !== self.value[k]) { valueChanged = true; } }); if (!valueChanged) return; if (value.rgb || value.rgba) { const [r, g, b, a = alpha] = value.rgb || value.rgba; rgb = [r, g, b]; hex = colorRgbToHex(...rgb); hsl = colorRgbToHsl(...rgb); hsb = colorHslToHsb(...hsl); hsl = self.normalizeHsValues(hsl); hsb = self.normalizeHsValues(hsb); hue = hsb[0]; alpha = a; rgba = [rgb[0], rgb[1], rgb[2], a]; hsla = [hsl[0], hsl[1], hsl[2], a]; } if (value.hsl || value.hsla) { const [h, s, l, a = alpha] = value.hsl || value.hsla; hsl = [h, s, l]; rgb = colorHslToRgb(...hsl); hex = colorRgbToHex(...rgb); hsb = colorHslToHsb(...hsl); hsl = self.normalizeHsValues(hsl); hsb = self.normalizeHsValues(hsb); hue = hsb[0]; alpha = a; rgba = [rgb[0], rgb[1], rgb[2], a]; hsla = [hsl[0], hsl[1], hsl[2], a]; } if (value.hsb) { const [h, s, b, a = alpha] = value.hsb; hsb = [h, s, b]; hsl = colorHsbToHsl(...hsb); rgb = colorHslToRgb(...hsl); hex = colorRgbToHex(...rgb); hsl = self.normalizeHsValues(hsl); hsb = self.normalizeHsValues(hsb); hue = hsb[0]; alpha = a; rgba = [rgb[0], rgb[1], rgb[2], a]; hsla = [hsl[0], hsl[1], hsl[2], a]; } if (value.hex) { rgb = colorHexToRgb(value.hex); hex = colorRgbToHex(...rgb); hsl = colorRgbToHsl(...rgb); hsb = colorHslToHsb(...hsl); hsl = self.normalizeHsValues(hsl); hsb = self.normalizeHsValues(hsb); hue = hsb[0]; rgba = [rgb[0], rgb[1], rgb[2], alpha]; hsla = [hsl[0], hsl[1], hsl[2], alpha]; } if (typeof value.alpha !== 'undefined') { alpha = value.alpha; if (typeof rgb !== 'undefined') { rgba = [rgb[0], rgb[1], rgb[2], alpha]; } if (typeof hsl !== 'undefined') { hsla = [hsl[0], hsl[1], hsl[2], alpha]; } } if (typeof value.hue !== 'undefined') { const [h, s, l] = hsl; // eslint-disable-line hsl = [value.hue, s, l]; hsb = colorHslToHsb(...hsl); rgb = colorHslToRgb(...hsl); hex = colorRgbToHex(...rgb); hsl = self.normalizeHsValues(hsl); hsb = self.normalizeHsValues(hsb); hue = hsb[0]; rgba = [rgb[0], rgb[1], rgb[2], alpha]; hsla = [hsl[0], hsl[1], hsl[2], alpha]; } self.value = { hex, alpha, hue, rgb, hsl, hsb, rgba, hsla, }; if (!self.initialValue) self.initialValue = extend({}, self.value); self.updateValue(needChangeEvent); if (self.opened && updateModules) { self.updateModules(); } } getValue() { const self = this; return self.value; } updateValue(fireEvents = true) { const self = this; const { $inputEl, value, $targetEl } = self; if ($targetEl && self.params.targetElSetBackgroundColor) { const { rgba } = value; $targetEl.css('background-color', `rgba(${rgba.join(', ')})`); } if (fireEvents) { self.emit('local::change colorPickerChange', self, value); } if ($inputEl && $inputEl.length) { const inputValue = self.formatValue(value); if ($inputEl && $inputEl.length) { $inputEl.val(inputValue); if (fireEvents) { $inputEl.trigger('change'); } } } } updateModules() { const self = this; const { modules } = self; self.params.modules.forEach((m) => { if (typeof m === 'string' && modules[m] && modules[m].update) { modules[m].update(self); } else if (m && m.update) { m.update(self); } }); } update() { const self = this; self.updateModules(); } renderPicker() { const self = this; const { params, modules } = self; let html = ''; params.modules.forEach((m) => { if (typeof m === 'string' && modules[m] && modules[m].render) { html += modules[m].render(self); } else if (m && m.render) { html += m.render(self); } }); return html; } renderNavbar() { const self = this; if (self.params.renderNavbar) { return self.params.renderNavbar.call(self, self); } const { openIn, navbarTitleText, navbarBackLinkText, navbarCloseText } = self.params; return ( <div class="navbar"> <div class="navbar-bg"></div> <div class="navbar-inner sliding"> {openIn === 'page' && ( <div class="left"> <a class="link back"> <i class="icon icon-back"></i> <span class="if-not-md">{navbarBackLinkText}</span> </a> </div> )} <div class="title">{navbarTitleText}</div> {openIn !== 'page' && ( <div class="right"> <a class="link popup-close" data-popup=".color-picker-popup"> {navbarCloseText} </a> </div> )} </div> </div> ); } renderToolbar() { const self = this; if (self.params.renderToolbar) { return self.params.renderToolbar.call(self, self); } return ( <div class="toolbar toolbar-top no-shadow"> <div class="toolbar-inner"> <div class="left"></div> <div class="right"> <a class="link sheet-close popover-close" data-sheet=".color-picker-sheet-modal" data-popover=".color-picker-popover" > {self.params.toolbarCloseText} </a> </div> </div> </div> ); } renderInline() { const self = this; const { cssClass, groupedModules } = self.params; return ( <div class={`color-picker color-picker-inline ${ groupedModules ? 'color-picker-grouped-modules' : '' } ${cssClass || ''}`} > {self.renderPicker()} </div> ); } renderSheet() { const self = this; const { cssClass, toolbarSheet, groupedModules } = self.params; return ( <div class={`sheet-modal color-picker color-picker-sheet-modal ${ groupedModules ? 'color-picker-grouped-modules' : '' } ${cssClass || ''}`} > {toolbarSheet && self.renderToolbar()} <div class="sheet-modal-inner"> <div class="page-content">{self.renderPicker()}</div> </div> </div> ); } renderPopover() { const self = this; const { cssClass, toolbarPopover, groupedModules } = self.params; return ( <div class={`popover color-picker-popover ${cssClass || ''}`}> <div class="popover-inner"> <div class={`color-picker ${groupedModules ? 'color-picker-grouped-modules' : ''}`}> {toolbarPopover && self.renderToolbar()} <div class="page-content">{self.renderPicker()}</div> </div> </div> </div> ); } renderPopup() { const self = this; const { cssClass, navbarPopup, groupedModules } = self.params; return ( <div class={`popup color-picker-popup ${cssClass || ''}`}> <div class="page"> {navbarPopup && self.renderNavbar()} <div class={`color-picker ${groupedModules ? 'color-picker-grouped-modules' : ''}`}> <div class="page-content">{self.renderPicker()}</div> </div> </div> </div> ); } renderPage() { const self = this; const { cssClass, groupedModules } = self.params; return ( <div class={`page color-picker-page ${cssClass || ''}`} data-name="color-picker-page"> {self.renderNavbar()} <div class={`color-picker ${groupedModules ? 'color-picker-grouped-modules' : ''}`}> <div class="page-content">{self.renderPicker()}</div> </div> </div> ); } // eslint-disable-next-line render() { const self = this; const { params } = self; if (params.render) return params.render.call(self); if (self.inline) return self.renderInline(); if (params.openIn === 'page') { return self.renderPage(); } const modalType = self.getModalType(); if (modalType === 'popover') return self.renderPopover(); if (modalType === 'sheet') return self.renderSheet(); if (modalType === 'popup') return self.renderPopup(); } onOpen() { const self = this; const { initialized, $el, app, $inputEl, inline, value, params, modules } = self; self.closing = false; self.opened = true; self.opening = true; // Init main events self.attachEvents(); params.modules.forEach((m) => { if (typeof m === 'string' && modules[m] && modules[m].init) { modules[m].init(self); } else if (m && m.init) { m.init(self); } }); const updateValue = !value && params.value; // Set value if (!initialized) { if (value) self.setValue(value); else if (params.value) { self.setValue(params.value, false); } else if (!params.value) { self.setValue({ hex: '#ff0000' }, false); } } else if (value) { self.initialValue = extend({}, value); self.setValue(value, false); } // Update input value if (updateValue) self.updateValue(); self.updateModules(); // Center modules if (params.centerModules) { self.centerModules(); } // Extra focus if (!inline && $inputEl && $inputEl.length && app.theme === 'md') { $inputEl.trigger('focus'); } self.initialized = true; // Trigger events if ($el) { $el.trigger('colorpicker:open'); } if ($inputEl) { $inputEl.trigger('colorpicker:open'); } self.emit('local::open colorPickerOpen', self); } onOpened() { const self = this; self.opening = false; if (self.$el) { self.$el.trigger('colorpicker:opened'); } if (self.$inputEl) { self.$inputEl.trigger('colorpicker:opened'); } self.emit('local::opened colorPickerOpened', self); } onClose() { const self = this; const { app, params, modules } = self; self.opening = false; self.closing = true; // Detach events self.detachEvents(); if (self.$inputEl) { if (app.theme === 'md') { self.$inputEl.trigger('blur'); } else { const validate = self.$inputEl.attr('validate'); const required = self.$inputEl.attr('required'); if (validate && required) { app.input.validate(self.$inputEl); } } } params.modules.forEach((m) => { if (typeof m === 'string' && modules[m] && modules[m].destroy) { modules[m].destroy(self); } else if (m && m.destroy) { m.destroy(self); } }); if (self.$el) { self.$el.trigger('colorpicker:close'); } if (self.$inputEl) { self.$inputEl.trigger('colorpicker:close'); } self.emit('local::close colorPickerClose', self); } onClosed() { const self = this; self.opened = false; self.closing = false; if (!self.inline) { nextTick(() => { if (self.modal && self.modal.el && self.modal.destroy) { if (!self.params.routableModals) { self.modal.destroy(); } } delete self.modal; }); } if (self.$el) { self.$el.trigger('colorpicker:closed'); } if (self.$inputEl) { self.$inputEl.trigger('colorpicker:closed'); } self.emit('local::closed colorPickerClosed', self); } open() { const self = this; const { app, opened, inline, $inputEl, $targetEl, params } = self; if (opened) return; if (inline) { self.$el = $(self.render()); self.$el[0].f7ColorPicker = self; self.$containerEl.append(self.$el); self.onOpen(); self.onOpened(); return; } const colorPickerContent = self.render(); if (params.openIn === 'page') { self.view.router.navigate({ url: self.url, route: { content: colorPickerContent, path: self.url, on: { pageBeforeIn(e, page) { self.$el = page.$el.find('.color-picker'); self.$el[0].f7ColorPicker = self; self.onOpen(); }, pageAfterIn() { self.onOpened(); }, pageBeforeOut() { self.onClose(); }, pageAfterOut() { self.onClosed(); if (self.$el && self.$el[0]) { self.$el[0].f7ColorPicker = null; delete self.$el[0].f7ColorPicker; } }, }, }, }); } else { const modalType = self.getModalType(); let backdrop = params.backdrop; if (backdrop === null || typeof backdrop === 'undefined') { if (modalType === 'popover' && app.params.popover.backdrop !== false) backdrop = true; if (modalType === 'popup') backdrop = true; } const modalParams = { targetEl: $targetEl || $inputEl, scrollToEl: params.scrollToInput ? $targetEl || $inputEl : undefined, content: colorPickerContent, backdrop, closeByBackdropClick: params.closeByBackdropClick, on: { open() { const modal = this; self.modal = modal; self.$el = modalType === 'popover' || modalType === 'popup' ? modal.$el.find('.color-picker') : modal.$el; self.$el[0].f7ColorPicker = self; self.onOpen(); }, opened() { self.onOpened(); }, close() { self.onClose(); }, closed() { self.onClosed(); if (self.$el && self.$el[0]) { self.$el[0].f7ColorPicker = null; delete self.$el[0].f7ColorPicker; } }, }, }; if (modalType === 'popup') { modalParams.push = params.popupPush; modalParams.swipeToClose = params.popupSwipeToClose; } if (modalType === 'sheet') { modalParams.push = params.sheetPush; modalParams.swipeToClose = params.sheetSwipeToClose; } if (params.routableModals && self.view) { self.view.router.navigate({ url: self.url, route: { path: self.url, [modalType]: modalParams, }, }); } else { self.modal = app[modalType].create(modalParams); self.modal.open(); } } } close() { const self = this; const { opened, inline } = self; if (!opened) return; if (inline) { self.onClose(); self.onClosed(); return; } if ((self.params.routableModals && self.view) || self.params.openIn === 'page') { self.view.router.back(); } else { self.modal.close(); } } init() { const self = this; self.initInput(); if (self.inline) { self.open(); self.emit('local::init colorPickerInit', self); return; } if (!self.initialized && self.params.value) { self.setValue(self.params.value); } // Attach input Events if (self.$inputEl) { self.attachInputEvents(); } if (self.$targetEl) { self.attachTargetEvents(); } if (self.params.closeByOutsideClick) { self.attachHtmlEvents(); } self.emit('local::init colorPickerInit', self); } destroy() { const self = this; if (self.destroyed) return; const { $el } = self; self.emit('local::beforeDestroy colorPickerBeforeDestroy', self); if ($el) $el.trigger('colorpicker:beforedestroy'); self.close(); // Detach Events self.detachEvents(); if (self.$inputEl) { self.detachInputEvents(); } if (self.$targetEl) { self.detachTargetEvents(); } if (self.params.closeByOutsideClick) { self.detachHtmlEvents(); } if ($el && $el.length) delete self.$el[0].f7ColorPicker; deleteProps(self); self.destroyed = true; } } export default ColorPicker;
/* * * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; /* globals Image, window */ /** * Reference to the global SVGElement class as a workaround for a name conflict * in the Highcharts namespace. * * @global * @typedef {global.SVGElement} GlobalSVGElement * * @see https://developer.mozilla.org/en-US/docs/Web/API/SVGElement */ // glob is a temporary fix to allow our es-modules to work. var glob = ( // @todo UMD variable named `window`, and glob named `win` typeof win !== 'undefined' ? win : typeof window !== 'undefined' ? window : {}), doc = glob.document, SVG_NS = 'http://www.w3.org/2000/svg', userAgent = (glob.navigator && glob.navigator.userAgent) || '', svg = (doc && doc.createElementNS && !!doc.createElementNS(SVG_NS, 'svg').createSVGRect), isMS = /(edge|msie|trident)/i.test(userAgent) && !glob.opera, isFirefox = userAgent.indexOf('Firefox') !== -1, isChrome = userAgent.indexOf('Chrome') !== -1, hasBidiBug = (isFirefox && parseInt(userAgent.split('Firefox/')[1], 10) < 4 // issue #38 ); var H = { product: 'Highcharts', version: '8.0.0', deg2rad: Math.PI * 2 / 360, doc: doc, hasBidiBug: hasBidiBug, hasTouch: !!glob.TouchEvent, isMS: isMS, isWebKit: userAgent.indexOf('AppleWebKit') !== -1, isFirefox: isFirefox, isChrome: isChrome, isSafari: !isChrome && userAgent.indexOf('Safari') !== -1, isTouchDevice: /(Mobile|Android|Windows Phone)/.test(userAgent), SVG_NS: SVG_NS, chartCount: 0, seriesTypes: {}, symbolSizes: {}, svg: svg, win: glob, marginNames: ['plotTop', 'marginRight', 'marginBottom', 'plotLeft'], noop: function () { }, /** * An array containing the current chart objects in the page. A chart's * position in the array is preserved throughout the page's lifetime. When * a chart is destroyed, the array item becomes `undefined`. * * @name Highcharts.charts * @type {Array<Highcharts.Chart|undefined>} */ charts: [], /** * A hook for defining additional date format specifiers. New * specifiers are defined as key-value pairs by using the * specifier as key, and a function which takes the timestamp as * value. This function returns the formatted portion of the * date. * * @sample highcharts/global/dateformats/ * Adding support for week number * * @name Highcharts.dateFormats * @type {Highcharts.Dictionary<Highcharts.TimeFormatCallbackFunction>} */ dateFormats: {} }; export default H;
/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.5.3(793ede49d53dba79d39e52205f16321278f5183c) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *-----------------------------------------------------------*/ define("vs/base/common/worker/simpleWorker.nls.zh-cn", { "vs/base/common/errors": [ "{0}。错误代码: {1}", "权限被拒绝 (HTTP {0})", "权限被拒绝", "{0} (HTTP {1}: {2})", "{0} (HTTP {1})", "未知连接错误 ({0})", "出现未知连接错误。您的 Internet 连接已断开,或者您连接的服务器已脱机。", "{0}: {1}", "出现未知错误。有关详细信息,请参阅日志。", "发生了系统错误({0})", "出现未知错误。有关详细信息,请参阅日志。", "{0} 个(共 {1} 个错误)", "出现未知错误。有关详细信息,请参阅日志。", "未实施", "非法参数: {0}", "非法参数", "非法状态: {0}", "非法状态", "无法加载需要的文件。您的 Internet 连接已断开,或者您连接的服务器已脱机。请刷新浏览器并重试。", "未能加载所需文件。请重启应用程序重试。详细信息: {0}", ], "vs/base/common/keyCodes": [ "Windows", "控件", "Shift", "Alt", "命令", "Windows", "Ctrl", "Shift", "Alt", "命令", "Windows", ], "vs/base/common/severity": [ "错误", "警告", "信息", ] });
/** * Spacelet Manager, 2013 Spaceify Inc. * SpaceletManager is a class for managing Spacelets and their processes. It launches spacelet processes, manages their quotas and access rights and terminates them when needed. * * @class SpaceletManager */ var fs = require("fs"); var fibrous = require("fibrous"); var Config = require("./config")(); var Utility = require("./utility"); var Language = require("./language"); var Application = require("./application"); var Database = require("./database"); var DockerContainer = require("./dockercontainer"); function SpaceletManager() { var self = this; var applications = Object(); var ordinal = 0; var database = new Database(); var isStarting = false; var delayedStart = []; self.start = function(unique_name, callback) { var application = null; if(isStarting) // Start one application at a time - retain call order delayedStart.push({"unique_name": unique_name, "callback": callback}); else { isStarting = true; try { var build_application = self.find(applications, "unique_name", unique_name); // Application by this unique name alredy build? // SHARE SPACELET OR START A NEW //if(!build_application || (build_application && !build_application.isShared())) // 'No' OR 'yes and is not shared' -> add the build application to the applications // { // application = self.build.sync(unique_name); // add(application); // } //else if(build_application && build_application.isShared()) // 'Yes and is shared' -> use the existing application // application = build_application; // SPACELETS ARE NOW SHARED BY DEFAULT - CREATE IF SPACELET DOESN'T EXIST if(!build_application) { application = self.build.sync(unique_name); add(application); } else application = build_application; // START APPLICATION run.sync(application); if(!application.isInitialized()) throw Utility.error(Language.E_SPACELET_FAILED_INIT_ITSELF.p("SpaceletManager::start()")); callback(null, application); } catch(err) { callback(Utility.error(err), null); } isStarting = false; if(delayedStart.length != 0) // Start next application? { var sp = delayedStart.splice(0, 1); self.start(sp[0].unique_name, sp[0].callback); } } } self.build = fibrous( function(unique_name) { var application = null; var _applications = null; try { database.open(Config.SPACEIFY_DATABASE_FILE); if(unique_name) // Build one application _applications = [database.sync.getApplication(unique_name)]; else // Build all applications _applications = database.sync.getApplication([Config.SPACELET], true); for(var i=0; i<_applications.length; i++) { if((manifest = Utility.sync.loadManifest(Config.SPACELETS_PATH + _applications[i].unique_directory + Config.VOLUME_DIRECTORY + Config.APPLICATION_DIRECTORY + Config.MANIFEST, true)) == null) throw Utility.error(Language.E_FAILED_TO_READ_SPACELET_MANIFEST.p("SpaceletManager::build()")); application = self.find("unique_name", manifest.unique_name); // Don't create/add existing application if(application) continue; application = new Application.obj(manifest); application.setDockerImageId(_applications[i].docker_image_id); add(application); } } catch(err) { throw Utility.error(err); } finally { database.close(); } return application; } ); var run = fibrous( function(application) { // Start the application in a Docker container try { if(application.isRunning()) // Return ports if already running ([] = not running and has no ports) return application.getServices(); var volumes = {}; volumes[Config.VOLUME_PATH] = {}; volumes[Config.API_PATH] = {}; var binds = [Config.SPACELETS_PATH + application.getUniqueDirectory() + Config.VOLUME_DIRECTORY + ":" + Config.VOLUME_PATH + ":rw", Config.SPACEIFY_CODE_PATH + ":" + Config.API_PATH + ":r"]; var dockerContainer = new DockerContainer(); application.setDockerContainer(dockerContainer); dockerContainer.sync.startContainer(application.getProvidesServicesCount(), application.getDockerImageId(), volumes, binds); application.makeServices(dockerContainer.getPublicPorts(), dockerContainer.getIpAddress()); dockerContainer.sync.runApplication(application); application.setRunning(true); return application.getServices(); } catch(err) { throw Utility.error(Language.E_SPACELET_FAILED_RUN.p("SpaceletManager::run()"), err); } }); self.stop = fibrous( function(application) { if(typeof application == "string") application = self.find("unique_name", application); if((dockerContainer = application.getDockerContainer()) != null) dockerContainer.sync.stopContainer(application); application.setRunning(false); }); var add = function(application) { application.setOrdinal(++ordinal); applications[ordinal] = application; } self.remove = function(application) { if(typeof application == "string") application = self.find("unique_name", application); for(i in applications) { if(application.getOrdinal() == applications[i].getOrdinal()) { self.sync.stop(applications[i]); delete applications[i]; break; } } } self.removeAll = fibrous( function() { for(i in applications) self.sync.stop(applications[i]); }); self.isRunning = function(unique_name) { var application = self.find("unique_name", unique_name); return (application ? application.isRunning() : false); } self.find = function(_param, _find) { // Find based on _param and _find object return Application.inst.find(applications, _param, _find); } self.initialized = function(application, success) { application.setInitialized(success); if((dc = application.getDockerContainer()) != null) dc.sendClientReadyToStdIn(); } } module.exports = SpaceletManager;
import React, { Component } from 'react'; import {DataTable} from 'datatables.net-responsive-bs'; const settingsMock = { header: 'Test Header' }; describe('DataTables component', () => { class mock extends Component {} var comp = new mock(settingsMock); it('Should have props', () => { expect(comp.props.header).toEqual('Test Header'); }); });
var util = require('util'); var async = require('async'); var path = require('path'); var Router = require('../utils/router.js'); var sandboxHelper = require('../utils/sandbox.js'); // Private fields var modules, library, self, private = {}, shared = {}; private.loaded = false // Constructor function Server(cb, scope) { library = scope; self = this; self.__private = private; private.attachApi(); setImmediate(cb, null, self); } // Private methods private.attachApi = function() { var router = new Router(); router.use(function (req, res, next) { if (modules) return next(); res.status(500).send({success: false, error: "Blockchain is loading"}); }); router.get('/', function (req, res) { if (private.loaded) { res.render('wallet.html', {layout: false}); } else { res.render('index.html'); } }); router.get('/dapps/:id', function (req, res) { res.render('dapps/' + req.params.id + '/index.html'); }); router.use(function (req, res, next) { if (req.url.indexOf('/api/') == -1 && req.url.indexOf('/peer/') == -1) { return res.redirect('/'); } next(); // res.status(500).send({ success: false, error: 'api not found' }); }); library.network.app.use('/', router); } // Public methods Server.prototype.sandboxApi = function (call, args, cb) { sandboxHelper.callMethod(shared, call, args, cb); } // Events Server.prototype.onBind = function (scope) { modules = scope; } Server.prototype.onBlockchainReady = function () { private.loaded = true; } Server.prototype.cleanup = function (cb) { private.loaded = false; cb(); } // Shared // Export module.exports = Server;
(function(global) { // simplified version of Object.assign for es3 function assign() { var result = {}; for (var i = 0, len = arguments.length; i < len; i++) { var arg = arguments[i]; for (var prop in arg) { result[prop] = arg[prop]; } } return result; } var sjsPaths = {}; if (typeof systemJsPaths !== "undefined") { sjsPaths = systemJsPaths; } System.config({ transpiler: 'plugin-babel', defaultExtension: 'js', paths: assign({ // paths serve as alias "npm:": "https://unpkg.com/", }, sjsPaths), map: assign( { // css plugin 'css': 'npm:systemjs-plugin-css/css.js', // babel transpiler 'plugin-babel': 'npm:[email protected]/plugin-babel.js', 'systemjs-babel-build': 'npm:[email protected]/systemjs-babel-browser.js', // react react: 'npm:[email protected]', 'react-dom': 'npm:[email protected]', 'react-dom-factories': 'npm:react-dom-factories', redux: 'npm:[email protected]', 'react-redux': 'npm:[email protected]', 'prop-types': 'npm:prop-types', lodash: 'npm:[email protected]', app: 'app' }, systemJsMap ), // systemJsMap comes from index.html packages: { react: { main: './umd/react.production.min.js' }, 'react-dom': { main: './umd/react-dom.production.min.js' }, 'prop-types': { main: './prop-types.min.js', defaultExtension: 'js' }, redux: { main: './dist/redux.min.js', defaultExtension: 'js' }, 'react-redux': { main: './dist/react-redux.min.js', defaultExtension: 'js' }, app: { defaultExtension: 'jsx' }, 'ag-charts-react': { main: './main.js', defaultExtension: 'js' } }, meta: { '*.jsx': { babelOptions: { react: true } }, '*.css': { loader: 'css' } } }); })(this);
module.exports={title:'Discover',slug:'discover',svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discover icon</title><path d="M12 0A12 12 0 1 0 12 24A12 12 0 1 0 12 0Z"/></svg>',get path(){return this.svg.match(/<path\s+d="([^"]*)/)[1];},source:'https://www.discovernetwork.com/en-us/business-resources/free-signage-logos',hex:'FF6000'};
import Coordinator from '../models/coordinator'; export default { name: "setup coordinator", initialize: function() { let app = arguments[1] || arguments[0]; app.register("drag:coordinator",Coordinator); app.inject("component","coordinator","drag:coordinator"); } };
import { EventEmitter, Input, Output, Component, ViewContainerRef, ContentChildren, ElementRef, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TooltipModule } from 'primeng/tooltip'; import { PrimeTemplate, SharedModule } from 'primeng/api'; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; let idx = 0; let TabViewNav = class TabViewNav { constructor() { this.orientation = 'top'; this.onTabClick = new EventEmitter(); this.onTabCloseClick = new EventEmitter(); } getDefaultHeaderClass(tab) { let styleClass = 'ui-state-default ui-corner-' + this.orientation; if (tab.headerStyleClass) { styleClass = styleClass + " " + tab.headerStyleClass; } return styleClass; } clickTab(event, tab) { this.onTabClick.emit({ originalEvent: event, tab: tab }); } clickClose(event, tab) { this.onTabCloseClick.emit({ originalEvent: event, tab: tab }); } }; __decorate([ Input() ], TabViewNav.prototype, "tabs", void 0); __decorate([ Input() ], TabViewNav.prototype, "orientation", void 0); __decorate([ Output() ], TabViewNav.prototype, "onTabClick", void 0); __decorate([ Output() ], TabViewNav.prototype, "onTabCloseClick", void 0); TabViewNav = __decorate([ Component({ selector: '[p-tabViewNav]', host: { '[class.ui-tabview-nav]': 'true', '[class.ui-helper-reset]': 'true', '[class.ui-helper-clearfix]': 'true', '[class.ui-widget-header]': 'true', '[class.ui-corner-all]': 'true' }, template: ` <ng-template ngFor let-tab [ngForOf]="tabs"> <li [class]="getDefaultHeaderClass(tab)" [ngStyle]="tab.headerStyle" role="presentation" [ngClass]="{'ui-tabview-selected ui-state-active': tab.selected, 'ui-state-disabled': tab.disabled}" (click)="clickTab($event,tab)" *ngIf="!tab.closed" tabindex="0" (keydown.enter)="clickTab($event,tab)"> <a [attr.id]="tab.id + '-label'" role="tab" [attr.aria-selected]="tab.selected" [attr.aria-controls]="tab.id" [pTooltip]="tab.tooltip" [tooltipPosition]="tab.tooltipPosition" [attr.aria-selected]="tab.selected" [positionStyle]="tab.tooltipPositionStyle" [tooltipStyleClass]="tab.tooltipStyleClass"> <ng-container *ngIf="!tab.headerTemplate" > <span class="ui-tabview-left-icon" [ngClass]="tab.leftIcon" *ngIf="tab.leftIcon"></span> <span class="ui-tabview-title">{{tab.header}}</span> <span class="ui-tabview-right-icon" [ngClass]="tab.rightIcon" *ngIf="tab.rightIcon"></span> </ng-container> <ng-container *ngIf="tab.headerTemplate"> <ng-container *ngTemplateOutlet="tab.headerTemplate"></ng-container> </ng-container> </a> <span *ngIf="tab.closable" class="ui-tabview-close pi pi-times" (click)="clickClose($event,tab)"></span> </li> </ng-template> ` }) ], TabViewNav); let TabPanel = class TabPanel { constructor(viewContainer) { this.viewContainer = viewContainer; this.cache = true; this.tooltipPosition = 'top'; this.tooltipPositionStyle = 'absolute'; this.id = `ui-tabpanel-${idx++}`; } ngAfterContentInit() { this.templates.forEach((item) => { switch (item.getType()) { case 'header': this.headerTemplate = item.template; break; case 'content': this.contentTemplate = item.template; break; default: this.contentTemplate = item.template; break; } }); } get selected() { return this._selected; } set selected(val) { this._selected = val; this.loaded = true; } ngOnDestroy() { this.view = null; } }; TabPanel.ctorParameters = () => [ { type: ViewContainerRef } ]; __decorate([ Input() ], TabPanel.prototype, "header", void 0); __decorate([ Input() ], TabPanel.prototype, "disabled", void 0); __decorate([ Input() ], TabPanel.prototype, "closable", void 0); __decorate([ Input() ], TabPanel.prototype, "headerStyle", void 0); __decorate([ Input() ], TabPanel.prototype, "headerStyleClass", void 0); __decorate([ Input() ], TabPanel.prototype, "leftIcon", void 0); __decorate([ Input() ], TabPanel.prototype, "rightIcon", void 0); __decorate([ Input() ], TabPanel.prototype, "cache", void 0); __decorate([ Input() ], TabPanel.prototype, "tooltip", void 0); __decorate([ Input() ], TabPanel.prototype, "tooltipPosition", void 0); __decorate([ Input() ], TabPanel.prototype, "tooltipPositionStyle", void 0); __decorate([ Input() ], TabPanel.prototype, "tooltipStyleClass", void 0); __decorate([ ContentChildren(PrimeTemplate) ], TabPanel.prototype, "templates", void 0); __decorate([ Input() ], TabPanel.prototype, "selected", null); TabPanel = __decorate([ Component({ selector: 'p-tabPanel', template: ` <div [attr.id]="id" class="ui-tabview-panel ui-widget-content" [ngClass]="{'ui-helper-hidden': !selected}" role="tabpanel" [attr.aria-hidden]="!selected" [attr.aria-labelledby]="id + '-label'" *ngIf="!closed"> <ng-content></ng-content> <ng-container *ngIf="contentTemplate && (cache ? loaded : selected)"> <ng-container *ngTemplateOutlet="contentTemplate"></ng-container> </ng-container> </div> ` }) ], TabPanel); let TabView = class TabView { constructor(el) { this.el = el; this.orientation = 'top'; this.onChange = new EventEmitter(); this.onClose = new EventEmitter(); this.activeIndexChange = new EventEmitter(); } ngAfterContentInit() { this.initTabs(); this.tabPanels.changes.subscribe(_ => { this.initTabs(); }); } initTabs() { this.tabs = this.tabPanels.toArray(); let selectedTab = this.findSelectedTab(); if (!selectedTab && this.tabs.length) { if (this.activeIndex != null && this.tabs.length > this.activeIndex) this.tabs[this.activeIndex].selected = true; else this.tabs[0].selected = true; } } open(event, tab) { if (tab.disabled) { if (event) { event.preventDefault(); } return; } if (!tab.selected) { let selectedTab = this.findSelectedTab(); if (selectedTab) { selectedTab.selected = false; } tab.selected = true; let selectedTabIndex = this.findTabIndex(tab); this.preventActiveIndexPropagation = true; this.activeIndexChange.emit(selectedTabIndex); this.onChange.emit({ originalEvent: event, index: selectedTabIndex }); } if (event) { event.preventDefault(); } } close(event, tab) { if (this.controlClose) { this.onClose.emit({ originalEvent: event, index: this.findTabIndex(tab), close: () => { this.closeTab(tab); } }); } else { this.closeTab(tab); this.onClose.emit({ originalEvent: event, index: this.findTabIndex(tab) }); } event.stopPropagation(); } closeTab(tab) { if (tab.disabled) { return; } if (tab.selected) { tab.selected = false; for (let i = 0; i < this.tabs.length; i++) { let tabPanel = this.tabs[i]; if (!tabPanel.closed && !tab.disabled) { tabPanel.selected = true; break; } } } tab.closed = true; } findSelectedTab() { for (let i = 0; i < this.tabs.length; i++) { if (this.tabs[i].selected) { return this.tabs[i]; } } return null; } findTabIndex(tab) { let index = -1; for (let i = 0; i < this.tabs.length; i++) { if (this.tabs[i] == tab) { index = i; break; } } return index; } getBlockableElement() { return this.el.nativeElement.children[0]; } get activeIndex() { return this._activeIndex; } set activeIndex(val) { this._activeIndex = val; if (this.preventActiveIndexPropagation) { this.preventActiveIndexPropagation = false; return; } if (this.tabs && this.tabs.length && this._activeIndex != null && this.tabs.length > this._activeIndex) { this.findSelectedTab().selected = false; this.tabs[this._activeIndex].selected = true; } } }; TabView.ctorParameters = () => [ { type: ElementRef } ]; __decorate([ Input() ], TabView.prototype, "orientation", void 0); __decorate([ Input() ], TabView.prototype, "style", void 0); __decorate([ Input() ], TabView.prototype, "styleClass", void 0); __decorate([ Input() ], TabView.prototype, "controlClose", void 0); __decorate([ ContentChildren(TabPanel) ], TabView.prototype, "tabPanels", void 0); __decorate([ Output() ], TabView.prototype, "onChange", void 0); __decorate([ Output() ], TabView.prototype, "onClose", void 0); __decorate([ Output() ], TabView.prototype, "activeIndexChange", void 0); __decorate([ Input() ], TabView.prototype, "activeIndex", null); TabView = __decorate([ Component({ selector: 'p-tabView', template: ` <div [ngClass]="'ui-tabview ui-widget ui-widget-content ui-corner-all ui-tabview-' + orientation" [ngStyle]="style" [class]="styleClass"> <ul p-tabViewNav role="tablist" *ngIf="orientation!='bottom'" [tabs]="tabs" [orientation]="orientation" (onTabClick)="open($event.originalEvent, $event.tab)" (onTabCloseClick)="close($event.originalEvent, $event.tab)"></ul> <div class="ui-tabview-panels"> <ng-content></ng-content> </div> <ul p-tabViewNav role="tablist" *ngIf="orientation=='bottom'" [tabs]="tabs" [orientation]="orientation" (onTabClick)="open($event.originalEvent, $event.tab)" (onTabCloseClick)="close($event.originalEvent, $event.tab)"></ul> </div> ` }) ], TabView); let TabViewModule = class TabViewModule { }; TabViewModule = __decorate([ NgModule({ imports: [CommonModule, SharedModule, TooltipModule], exports: [TabView, TabPanel, TabViewNav, SharedModule], declarations: [TabView, TabPanel, TabViewNav] }) ], TabViewModule); /** * Generated bundle index. Do not edit. */ export { TabPanel, TabView, TabViewModule, TabViewNav }; //# sourceMappingURL=primeng-tabview.js.map
var MemoryBlogStore = require('./MemoryBlogStore'); var blogStore = new MemoryBlogStore(); blogStore.addPost({ text: 'Hello' }, function(err, post) { console.log(err, post); }); blogStore.addPost({ text: 'Hello' }, function(err, post) { console.log(err, post); }); blogStore.addPost({ text: 'Hello' }, function(err, post) { console.log(err, post); }); // blogStore.getPostsRange(0, 2, function(err, posts) { // console.log(err, posts) // }); blogStore.getPostsAfter(1, 2, function(err, posts) { console.log(err, posts) });
var mysql = require('mysql'); function mysqlConn(config,logger) { this.connectionPool = mysql.createPool(config); this.initialized = true; this.logger = logger; } mysqlConn.prototype = { /// if the raw connection is needed getConnection: function (callback) { if (!this.initialized) { callback(new Error("Connection not initialized")); return; } this.connectionPool.getConnection(function (err, connection) { // Use the connection if (err ) this.logger.error('#Database -> Connection: ' + JSON.stringify(err)); if (callback) callback(err, connection); connection.release(); }); } ,executeSP: function (procedureName, params, callback) { if (!this.initialized) { callback(new Error("Connection not initialized")); return; } if (typeof (params) == "function" && callback == undefined) { callback = params; params = null; } var sql = 'CALL ' + procedureName + '(params)'; sql = this._injectParams(sql, params); var l= this.logger; //Execute stored procedure call this.connectionPool.query(sql, function (err, rows, fields) { if (err) { try { if (err.code == 'ER_SIGNAL_EXCEPTION' && err.sqlState == '45000' && err.message) { var errorCode = err.message.replace('ER_SIGNAL_EXCEPTION: ', ''); l.warn('#Database -> Stored Procedure: ' + sql + ' Error code ##' + errorCode + '## was relieved while executing stored procedure :' ,err); err.errorCode = errorCode; } else { l.error('#Database -> Stored Procedure: ' + sql + ' an error has occurred while executing stored procedure :', err); } } catch(e) { console.error(e); } callback(err, null); } else { l.debug('#Database -> Stored Procedure: ' + sql + ' connected to database successfully'); callback(null, rows); } }); } ,_injectParams: function (query, params) { //Inject parameters in Stored Procedure Call var parameters = ''; if (params) { params.forEach(function (param, index) { if (param == null || param.value == null) parameters += "null"; else{ try{ parameters += "@" + param.name + ':=' + mysql.escape(param.value); } catch(e) { console.log(e); throw e; } } if (index < params.length - 1) parameters += ","; }); } query = query.replace("params", parameters); return query; } , createCommand: function (procedureName) { return new mysqlCommand(procedureName, this); } }; function mysqlCommand(procedureName, connectionPool) { this.connectionPool = connectionPool; this.procedureName = procedureName; this.params = []; } mysqlCommand.prototype = { addParam: function (name, value) { this.params.push({ "name": name , "value" : value }); } ,getDataSet: function (callback) { this.connectionPool.executeSP(this.procedureName, this.params, function (err, data) { if (err) callback(err, null); else { if (data) callback(null, data); else callback(null, null); } }); } ,getDataTable: function (callback) { this.getDataSet(function (err, data) { if (err) callback(err, null); else { if (data && data.length > 0) callback(null, data[0]); else callback(null, []); } }); } ,getDataObject: function (callback) { this.getDataTable(function (err, data) { if (err) callback(err, null); else { if (data && data.length > 0) callback(null, data[0]); else callback(null, null); } }); } ,getScalar: function (callback) { this.getDataObject(function (err, data) { if (err) callback(err, null); else { if (data != null) { var key = Object.keys(data); callback(null, data[key[0]]); } else callback(null, null); } }); } } module.exports = mysqlConn;
'use strict'; define([ 'three', 'explorer', 'underscore' ], function( THREE, Explorer, _ ) { var mp3names = ['crystalCenter', 'cellCollision', 'atomCollision', 'popOutOfAtom', 'dollHolder', 'atomUnderDoll', 'navCube', 'dollArrived', 'leapGrab', 'leapNoGrab']; function Sound(animationMachine) { this.procced = true, this.context ; this.animationMachine = animationMachine ; this.mute = true ; this.buffers = [] ; this.crystalHold ; this.crystalCameraOrbit ; this.crysCentrSource = {panner: undefined , dryGain: undefined , panX : 0, panZ : 0, gain : 0 }; this.steredLoops = {}; this.lattice; this.volume = 0.75 ; this.atomSourcePos = undefined; var _this = this ; try { this.context = new (window.AudioContext || window.webkitAudioContext)(); } catch(e) { this.procced = false; alert('Web Audio API not supported in this browser.'); } if(this.procced === true){ this.universalGainNode = this.context.createGain(); this.universalGainNode.gain.value = 0.75; this.universalGainNode.connect(this.context.destination); } }; Sound.prototype.changeVolume = function(arg){ if(arg.sound){ this.universalGainNode.gain.value = parseFloat(arg.sound)/100; } }; Sound.prototype.loadSamples = function(url){ var _this = this ; var request = new XMLHttpRequest(); request.open('GET', 'sounds/'+url+'.mp3', true); request.setRequestHeader ("Accept", "Access-Control-Allow-Origin: *'"); // to access locally the Mp3s request.responseType = 'arraybuffer'; request.onload = function() { var audioData = request.response; _this.context.decodeAudioData( audioData, function(buffer) { _this.buffers[url] = buffer; }, function(e){"Error with decoding audio data" + e.err}); } request.send(); } Sound.prototype.crystalCenterStop = function() { if(this.crystalHold) { clearInterval(this.crystalHold); } }; Sound.prototype.calculateAngle = function(x,z){ var vec1 = new THREE.Vector2(this.crystalCameraOrbit.control.target.x-this.crystalCameraOrbit.camera.position.x,this.crystalCameraOrbit.control.target.z-this.crystalCameraOrbit.camera.position.z); var vec2 = new THREE.Vector2(x-this.crystalCameraOrbit.camera.position.x,z-this.crystalCameraOrbit.camera.position.z); vec1.normalize(); vec2.normalize(); var angle = Math.atan2( vec2.y,vec2.x) - Math.atan2(vec1.y,vec1.x); var f =angle* (180/Math.PI); if(f > 180 ) f = f - 360; if(f < -180 ) f = f + 360; return f; }; Sound.prototype.soundSourcePos = function() { if(this.lattice === undefined){ return; } var centroid = new THREE.Vector3(0,0,0); if(this.atomSourcePos !== undefined){ centroid = this.atomSourcePos.clone(); } else{ var g = this.lattice.customBox(this.lattice.viewBox); if(g !== undefined){ centroid = new THREE.Vector3(); for ( var z = 0, l = g.vertices.length; z < l; z ++ ) { centroid.add( g.vertices[ z ] ); } centroid.divideScalar( g.vertices.length ); } } return centroid ; }; Sound.prototype.switcher = function(start) { if(this.procced && this.buffers.length === 0 && start === true){ for (var i = mp3names.length - 1; i >= 0; i--) { this.loadSamples(mp3names[i]); }; } var _this = this ; if(start === true){ this.mute = false ; this.crystalHold = setInterval( function() { var centroid = _this.soundSourcePos(); _this.animationMachine.produceWave(centroid, 'crystalCenter'); _this.play('crystalCenter', centroid, true); },2000); } else{ if(this.crystalHold) clearInterval(this.crystalHold); this.mute = true ; } }; Sound.prototype.stopStoredPlay = function(sampleName) { if(this.steredLoops[sampleName] !== undefined){ this.steredLoops[sampleName].stop(); } }; Sound.prototype.storePlay = function(sampleName) { var _this = this, voice; if(!this.mute){ voice = this.context.createBufferSource(); voice.buffer = this.buffers[sampleName] ; voice.connect(this.universalGainNode); this.steredLoops[sampleName] = voice ; voice.start(0); } }; Sound.prototype.play = function(sampleName, sourcePos, calcPanning) { if(!this.mute && mp3names.length === Object.keys(this.buffers).length){ var data; var voice = this.context.createBufferSource(); voice.buffer = this.buffers[sampleName] ; if(calcPanning){ data = this.calculatePanning(sourcePos); var dryGain = this.context.createGain(); var panner = this.context.createPanner(); panner.setPosition(data.panX, data.panY, data.panZ); dryGain.gain.value = data.gain; voice.connect(dryGain); dryGain.connect(panner); panner.connect(this.universalGainNode); } else{ voice.connect(this.universalGainNode); } voice.start(0); } }; // panning vars go from -1 to 1 var ttt = false; Sound.prototype.calculatePanning = function(objPos){ var _this = this ; var c = this.crystalCameraOrbit.camera.position.clone(); // custom panning method. panX goes sinusoidal and panZ is set according to panX so panX + panZ = 1 var panX = Math.sin( this.calculateAngle(objPos.x,objPos.z) * (Math.PI/180) ) ; var panZ = (panX <= 0 ? (1 + panX) : ( 1 - panX) ); var panY = 0; var distance = objPos.distanceTo(this.crystalCameraOrbit.camera.position ); var gain = (distance < 20 ? 1 : (1 - distance/700)) ; gain = gain * 1 ; if(gain < 0.1) gain = 0.1 ; return {'gain' : gain, 'panX' : panX, 'panY' : panY, 'panZ' : panZ }; } return Sound; });
YUI.add("lang/gallery-message-format_lv",function(e){e.Intl.add("gallery-message-format","lv",{pluralRule:"set6"})},"gallery-2013.04.10-22-48");
'use strict'; /* jshint -W030 */ var chai = require('chai') , expect = chai.expect , Support = require(__dirname + '/../support') , DataTypes = require(__dirname + '/../../../lib/data-types') , Sequelize = Support.Sequelize , dialect = Support.getTestDialect() , sinon = require('sinon'); describe(Support.getTestDialectTeaser('Hooks'), function() { beforeEach(function() { this.User = this.sequelize.define('User', { username: { type: DataTypes.STRING, allowNull: false }, mood: { type: DataTypes.ENUM, values: ['happy', 'sad', 'neutral'] } }); this.ParanoidUser = this.sequelize.define('ParanoidUser', { username: DataTypes.STRING, mood: { type: DataTypes.ENUM, values: ['happy', 'sad', 'neutral'] } }, { paranoid: true }); return this.sequelize.sync({ force: true }); }); describe('#define', function() { before(function() { this.sequelize.addHook('beforeDefine', function(attributes, options) { options.modelName = 'bar'; options.name.plural = 'barrs'; attributes.type = DataTypes.STRING; }); this.sequelize.addHook('afterDefine', function(factory) { factory.options.name.singular = 'barr'; }); this.model = this.sequelize.define('foo', {name: DataTypes.STRING}); }); it('beforeDefine hook can change model name', function() { expect(this.model.name).to.equal('bar'); }); it('beforeDefine hook can alter options', function() { expect(this.model.options.name.plural).to.equal('barrs'); }); it('beforeDefine hook can alter attributes', function() { expect(this.model.rawAttributes.type).to.be.ok; }); it('afterDefine hook can alter options', function() { expect(this.model.options.name.singular).to.equal('barr'); }); after(function() { this.sequelize.options.hooks = {}; this.sequelize.modelManager.removeModel(this.model); }); }); describe('#init', function() { before(function() { Sequelize.addHook('beforeInit', function(config, options) { config.database = 'db2'; options.host = 'server9'; }); Sequelize.addHook('afterInit', function(sequelize) { sequelize.options.protocol = 'udp'; }); this.seq = new Sequelize('db', 'user', 'pass', { dialect : dialect }); }); it('beforeInit hook can alter config', function() { expect(this.seq.config.database).to.equal('db2'); }); it('beforeInit hook can alter options', function() { expect(this.seq.options.host).to.equal('server9'); }); it('afterInit hook can alter options', function() { expect(this.seq.options.protocol).to.equal('udp'); }); after(function() { Sequelize.options.hooks = {}; }); }); describe('passing DAO instances', function() { describe('beforeValidate / afterValidate', function() { it('should pass a DAO instance to the hook', function() { var beforeHooked = false; var afterHooked = false; var User = this.sequelize.define('User', { username: DataTypes.STRING }, { hooks: { beforeValidate: function(user, options, fn) { expect(user).to.be.instanceof(User); beforeHooked = true; fn(); }, afterValidate: function(user, options, fn) { expect(user).to.be.instanceof(User); afterHooked = true; fn(); } } }); return User.sync({ force: true }).then(function() { return User.create({ username: 'bob' }).then(function() { expect(beforeHooked).to.be.true; expect(afterHooked).to.be.true; }); }); }); }); describe('beforeCreate / afterCreate', function() { it('should pass a DAO instance to the hook', function() { var beforeHooked = false; var afterHooked = false; var User = this.sequelize.define('User', { username: DataTypes.STRING }, { hooks: { beforeCreate: function(user, options, fn) { expect(user).to.be.instanceof(User); beforeHooked = true; fn(); }, afterCreate: function(user, options, fn) { expect(user).to.be.instanceof(User); afterHooked = true; fn(); } } }); return User.sync({ force: true }).then(function() { return User.create({ username: 'bob' }).then(function() { expect(beforeHooked).to.be.true; expect(afterHooked).to.be.true; }); }); }); }); describe('beforeDestroy / afterDestroy', function() { it('should pass a DAO instance to the hook', function() { var beforeHooked = false; var afterHooked = false; var User = this.sequelize.define('User', { username: DataTypes.STRING }, { hooks: { beforeDestroy: function(user, options, fn) { expect(user).to.be.instanceof(User); beforeHooked = true; fn(); }, afterDestroy: function(user, options, fn) { expect(user).to.be.instanceof(User); afterHooked = true; fn(); } } }); return User.sync({ force: true }).then(function() { return User.create({ username: 'bob' }).then(function(user) { return user.destroy().then(function() { expect(beforeHooked).to.be.true; expect(afterHooked).to.be.true; }); }); }); }); }); describe('beforeDelete / afterDelete', function() { it('should pass a DAO instance to the hook', function() { var beforeHooked = false; var afterHooked = false; var User = this.sequelize.define('User', { username: DataTypes.STRING }, { hooks: { beforeDelete: function(user, options, fn) { expect(user).to.be.instanceof(User); beforeHooked = true; fn(); }, afterDelete: function(user, options, fn) { expect(user).to.be.instanceof(User); afterHooked = true; fn(); } } }); return User.sync({ force: true }).then(function() { return User.create({ username: 'bob' }).then(function(user) { return user.destroy().then(function() { expect(beforeHooked).to.be.true; expect(afterHooked).to.be.true; }); }); }); }); }); describe('beforeUpdate / afterUpdate', function() { it('should pass a DAO instance to the hook', function() { var beforeHooked = false; var afterHooked = false; var User = this.sequelize.define('User', { username: DataTypes.STRING }, { hooks: { beforeUpdate: function(user, options, fn) { expect(user).to.be.instanceof(User); beforeHooked = true; fn(); }, afterUpdate: function(user, options, fn) { expect(user).to.be.instanceof(User); afterHooked = true; fn(); } } }); return User.sync({ force: true }).then(function() { return User.create({ username: 'bob' }).then(function(user) { user.username = 'bawb'; return user.save({ fields: ['username'] }).then(function() { expect(beforeHooked).to.be.true; expect(afterHooked).to.be.true; }); }); }); }); }); }); describe('Model#sync', function() { describe('on success', function() { it('should run hooks', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy(); this.User.beforeSync(beforeHook); this.User.afterSync(afterHook); return this.User.sync().then(function() { expect(beforeHook).to.have.been.calledOnce; expect(afterHook).to.have.been.calledOnce; }); }); it('should not run hooks when "hooks = false" option passed', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy(); this.User.beforeSync(beforeHook); this.User.afterSync(afterHook); return this.User.sync({ hooks: false }).then(function() { expect(beforeHook).to.not.have.been.called; expect(afterHook).to.not.have.been.called; }); }); }); describe('on error', function() { it('should return an error from before', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy(); this.User.beforeSync(function(options) { beforeHook(); throw new Error('Whoops!'); }); this.User.afterSync(afterHook); return expect(this.User.sync()).to.be.rejected.then(function(err) { expect(beforeHook).to.have.been.calledOnce; expect(afterHook).not.to.have.been.called; }); }); it('should return an error from after', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy(); this.User.beforeSync(beforeHook); this.User.afterSync(function(options) { afterHook(); throw new Error('Whoops!'); }); return expect(this.User.sync()).to.be.rejected.then(function(err) { expect(beforeHook).to.have.been.calledOnce; expect(afterHook).to.have.been.calledOnce; }); }); }); }); describe('sequelize#sync', function() { describe('on success', function() { it('should run hooks', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy() , modelBeforeHook = sinon.spy() , modelAfterHook = sinon.spy(); this.sequelize.beforeBulkSync(beforeHook); this.User.beforeSync(modelBeforeHook); this.User.afterSync(modelAfterHook); this.sequelize.afterBulkSync(afterHook); return this.sequelize.sync().then(function() { expect(beforeHook).to.have.been.calledOnce; expect(modelBeforeHook).to.have.been.calledOnce; expect(modelAfterHook).to.have.been.calledOnce; expect(afterHook).to.have.been.calledOnce; }); }); it('should not run hooks if "hooks = false" option passed', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy() , modelBeforeHook = sinon.spy() , modelAfterHook = sinon.spy(); this.sequelize.beforeBulkSync(beforeHook); this.User.beforeSync(modelBeforeHook); this.User.afterSync(modelAfterHook); this.sequelize.afterBulkSync(afterHook); return this.sequelize.sync({ hooks: false }).then(function() { expect(beforeHook).to.not.have.been.called; expect(modelBeforeHook).to.not.have.been.called; expect(modelAfterHook).to.not.have.been.called; expect(afterHook).to.not.have.been.called; }); }); afterEach(function() { this.sequelize.options.hooks = {}; }); }); describe('on error', function() { it('should return an error from before', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy(); this.sequelize.beforeBulkSync(function(options) { beforeHook(); throw new Error('Whoops!'); }); this.sequelize.afterBulkSync(afterHook); return expect(this.sequelize.sync()).to.be.rejected.then(function(err) { expect(beforeHook).to.have.been.calledOnce; expect(afterHook).not.to.have.been.called; }); }); it('should return an error from after', function() { var beforeHook = sinon.spy() , afterHook = sinon.spy(); this.sequelize.beforeBulkSync(beforeHook); this.sequelize.afterBulkSync(function(options) { afterHook(); throw new Error('Whoops!'); }); return expect(this.sequelize.sync()).to.be.rejected.then(function(err) { expect(beforeHook).to.have.been.calledOnce; expect(afterHook).to.have.been.calledOnce; }); }); afterEach(function() { this.sequelize.options.hooks = {}; }); }); }); describe('#removal', function() { it('should be able to remove by name', function() { var sasukeHook = sinon.spy() , narutoHook = sinon.spy(); this.User.hook('beforeCreate', 'sasuke', sasukeHook); this.User.hook('beforeCreate', 'naruto', narutoHook); return this.User.create({ username: 'makunouchi'}).then(() => { expect(sasukeHook).to.have.been.calledOnce; expect(narutoHook).to.have.been.calledOnce; this.User.removeHook('beforeCreate', 'sasuke'); return this.User.create({ username: 'sendo'}); }).then(() => { expect(sasukeHook).to.have.been.calledOnce; expect(narutoHook).to.have.been.calledTwice; }); }); it('should be able to remove by reference', function() { var sasukeHook = sinon.spy() , narutoHook = sinon.spy(); this.User.hook('beforeCreate', sasukeHook); this.User.hook('beforeCreate', narutoHook); return this.User.create({ username: 'makunouchi'}).then(() => { expect(sasukeHook).to.have.been.calledOnce; expect(narutoHook).to.have.been.calledOnce; this.User.removeHook('beforeCreate', sasukeHook); return this.User.create({ username: 'sendo'}); }).then(() => { expect(sasukeHook).to.have.been.calledOnce; expect(narutoHook).to.have.been.calledTwice; }); }); it('should be able to remove proxies', function() { var sasukeHook = sinon.spy() , narutoHook = sinon.spy(); this.User.hook('beforeSave', sasukeHook); this.User.hook('beforeSave', narutoHook); return this.User.create({ username: 'makunouchi'}).then((user) => { expect(sasukeHook).to.have.been.calledOnce; expect(narutoHook).to.have.been.calledOnce; this.User.removeHook('beforeSave', sasukeHook); return user.updateAttributes({ username: 'sendo'}); }).then(() => { expect(sasukeHook).to.have.been.calledOnce; expect(narutoHook).to.have.been.calledTwice; }); }); }); });
// // tselect01.js // Test for select // if(typeof exports === 'object') { var assert = require("assert"); var alasql = require('..'); }; describe('Create database', function(){ it('Create new database', function(done) { var db = new alasql.Database(); assert.deepEqual(db.tables, {}); done(); }); });
/** * Returns the string, with after processing the following backslash escape sequences. * * attacklab: The polite way to do this is with the new escapeCharacters() function: * * text = escapeCharacters(text,"\\",true); * text = escapeCharacters(text,"`*_{}[]()>#+-.!",true); * * ...but we're sidestepping its use of the (slow) RegExp constructor * as an optimization for Firefox. This function gets called a LOT. */ showdown.subParser('encodeBackslashEscapes', function (text, options, globals) { 'use strict'; text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals); text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback); text = text.replace(/\\([`*_{}\[\]()>#+.!~=-])/g, showdown.helper.escapeCharactersCallback); text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals); return text; });
const ts = require('typescript'); const utils = require('tsutils'); const Lint = require('tslint'); const ERROR_MESSAGE = 'A TODO may only appear in inline (//) style comments. ' + 'This is meant to prevent a TODO from being accidentally included in any public API docs.'; /** * Rule that walks through all comments inside of the library and adds failures when it * detects TODO's inside of multi-line comments. TODOs need to be placed inside of single-line * comments. */ class Rule extends Lint.Rules.AbstractRule { apply(sourceFile) { return this.applyWithWalker(new NoExposedTodoWalker(sourceFile, this.getOptions())); } } class NoExposedTodoWalker extends Lint.RuleWalker { visitSourceFile(sourceFile) { utils.forEachComment(sourceFile, (fullText, commentRange) => { let isTodoComment = fullText.substring(commentRange.pos, commentRange.end).includes('TODO'); if (commentRange.kind === ts.SyntaxKind.MultiLineCommentTrivia && isTodoComment) { this.addFailureAt(commentRange.pos, commentRange.end - commentRange.pos, ERROR_MESSAGE); } }); super.visitSourceFile(sourceFile); } } exports.Rule = Rule;
// this is just a demo. To run it execute from the root of repository: // // > npm start // // Then open ./example/index.html // module.exports.main = function () { var graph = require('ngraph.generators').balancedBinTree(6); var createPixiGraphics = require('../'); var pixiGraphics = createPixiGraphics(graph); var layout = pixiGraphics.layout; // just make sure first node does not move: layout.pinNode(graph.getNode(1), true); // begin animation loop: pixiGraphics.run(); }
describe( 'AppCtrl', function() { describe( 'isCurrentUrl', function() { var AppCtrl, $location, $scope; beforeEach( module( 'app' ) ); beforeEach( inject( function( $controller, _$location_, $rootScope ) { $location = _$location_; $scope = $rootScope.$new(); AppCtrl = $controller( 'AppCtrl', { $location: $location, $scope: $scope }); })); it( 'should pass a dummy test', inject( function() { expect( AppCtrl ).toBeTruthy(); })); }); });
<p> Añadir nuevo comentario: </p> <p> <form method="POST" action="/quizzes/<%=quiz.id%>/comments/"> <input type="text" id="comment" name="comment[text]" value="" placeholder="Comentario" /> <p> <button type="submit">Enviar</button> </form> </p>
YUI.add("y3d-texture",function(e,t){var n=e.Lang;e.Texture=e.Base.create("texture",e.Base,[],{},{ATTRS:{image:{value:null},imageUrl:{value:"",validator:n.isString},webglTexture:{value:null}}}),e.TextureLoader=e.Base.create("texture-loader",e.Base,[],{initializer:function(){var t=this,n=t.get("textures"),r=t.get("unloadedTextures"),i,s,o,u;for(i=0;i<n.length;i++)s=n[i],o=new Image,u=s.get("imageUrl"),r[u]=s,o.onload=e.bind(t._onLoad,t,s),o.src=u,s.set("image",o)},_isEmpty:function(){var e=this,t=e.get("unloadedTextures"),n;for(n in t)if(t.hasOwnProperty(n))return!1;return!0},_onLoad:function(e){var t=this,n=e.get("imageUrl"),r=t.get("onLoad"),i=t.get("unloadedTextures");delete i[n],t._isEmpty()&&r()}},{ATTRS:{onLoad:{value:null},textures:{value:[],validator:n.isArray},unloadedTextures:{value:{}}}})},"gallery-2013.08.22-21-03",{requires:["base-build"]});
module.exports = { entry: ["react", "react-dom", "lodash"] }
/* This utility processes the argument passed with the `lang` option in ember-cli, i.e. `ember (new||init||addon) app-name --lang=langArg` Execution Context (usage, input, output, error handling, etc.): - called directly by `init` IFF `--lang` flag is used in (new||init||addon) - receives single input: the argument passed with `lang` (herein `langArg`) - processes `langArg`: lang code validation + error detection / handling - DOES emit Warning messages if necessary - DOES NOT halt execution process / throw errors / disrupt the build - returns single result as output (to `init`): - `langArg` (if it is a valid language code) - `undefined` (otherwise) - `init` assigns the value of `commandOptions.lang` to the returned result - downstream, the `lang` attribute is assigned via inline template control: - file: `blueprints/app/files/app/index.html` - logic: `<html<% if(lang) { %> lang="<%= lang %>"<% } %>> Internal Mechanics -- the utility processes `langArg` to determine: - the value to return to `init` (i.e. validated lang code or undefined) - a descriptive category for the usage: `correct`, `incorrect`, `edge`, etc. - what message text (if any: category-dependent) to emit before return Warning Messages (if necessary): - An internal instance of `console-ui` is used to emit messages - IFF there is a message, it will be emitted before returning the result - Components of all emitted messages -- [Name] (writeLevel): 'example': - [`HEAD`] (WARNING): 'A warning was generated while processing `--lang`:' - [`BODY`] (WARNING): 'Invalid language code, `en-UK`' - [`STATUS`] (WARNING): '`lang` will NOT be set to `en-UK` in `index.html`' - [`HELP`] (INFO): 'Correct usage of `--lang`: ... ' */ 'use strict'; const { isLangCode } = require('is-language-code'); // Primary language code validation function (boolean) function isValidLangCode(langArg) { return isLangCode(langArg).res; } // Generates the result to pass back to `init` function getResult(langArg) { return isValidLangCode(langArg) ? langArg : undefined; } /* Misuse case: attempt to set application programming language via `lang` AND Edge case: valid language code AND a common programming language abbreviation ------------------------------------------------------------------------------- It is possible that a user might mis-interpret the type of `language` that is specified by the `--lang` flag. One notable potential `misuse case` is one in which the user thinks `--lang` specifies the application's programming language. For example, the user might call `ember new my-app --lang=typescript` expecting to achieve an effect similar to the one provided by the `ember-cli-typescript` addon. This misuse case is handled by checking the input `langArg` against an Array containing notable programming language-related values: language names (e.g. `JavaScript`), abbreviations (e.g. `js`), file extensions (e.g. `.js`), or versions (e.g. `ES6`), etc. Specifically, if `langArg` is found within this reference list, a WARNING message that describes correct `--lang` usage will be emitted. The `lang` attribute will not be assigned in `index.html`, and the user will be notified with a corresponding STATUS message. There are several edge cases (marked) where `langArg` is both a commonly-used abbreviation for a programming language AND a valid language code. The behavior for these cases is to assume the user has used `--lang` correctly and set the `lang` attribute to the valid code in `index.html`. To cover for potential misuage, several helpful messages will also be emitted: - `ts` is a valid language code AND a common programming language abbreviation - the `lang` attribute will be set to `ts` in the application - if this is not correct, it can be changed in `app/index.html` directly - (general `help` information about correct `--lang` usage) */ const PROG_LANGS = [ 'javascript', '.js', 'js', 'emcascript2015', 'emcascript6', 'es6', 'emcascript2016', 'emcascript7', 'es7', 'emcascript2017', 'emcascript8', 'es8', 'emcascript2018', 'emcascript9', 'es9', 'emcascript2019', 'emcascript10', 'es10', 'typescript', '.ts', 'node.js', 'node', 'handlebars', '.hbs', 'hbs', 'glimmer', 'glimmer.js', 'glimmer-vm', 'markdown', 'markup', 'html5', 'html4', '.md', '.html', '.htm', '.xhtml', '.xml', '.xht', 'md', 'html', 'htm', 'xhtml', '.sass', '.scss', '.css', 'sass', 'scss', // Edge Cases 'ts', // Tsonga 'TS', // Tsonga (case insensitivity check) 'xml', // Malaysian Sign Language 'xht', // Hattic 'css', // Costanoan ]; function isProgLang(langArg) { return langArg && PROG_LANGS.includes(langArg.toLowerCase().trim()); } function isValidCodeAndProg(langArg) { return isValidLangCode(langArg) && isProgLang(langArg); } /* Misuse case: `--lang` called without `langArg` (NB: parser bug workaround) ------------------------------------------------------------------------------- This is a workaround for handling an existing bug in the ember-cli parser where the `--lang` option is specified in the command without a corresponding value for `langArg`. As examples, the parser behavior would likely affect the following usages: 1. `ember new app-name --lang --skip-npm 2. `ember new app-name --lang` In this context, the unintended parser behavior is that `langArg` will be assingned to the String that immediately follows `--lang` in the command. If `--lang` is the last explicitly defined part of the command (as in the second example above), the first of any any `hidden` options pushed onto the command after the initial parse (e.g. `--disable-analytics`, `--no-watcher`) will be used when assigning `langArg`. In the above examples, `langArg` would likely be assigned as follows: 1. `ember new app-name --lang --skip-npm => `langArg='--skip-npm'` 2. `ember new app-name --lang` => `langArg='--disable-analytics'` The workaround impelemented herein is to check whether or not the value of `langArg` starts with a hyphen. The rationale for this approach is based on the following underlying assumptions: - ALL CLI options start with (at least one) hyphen - NO valid language codes start with a hyphen If the leading hyphen is detected, the current behavior is to assume `--lang` was declared without a corresponding specification. A WARNING message that describes correct `--lang` usage will be emitted. The `lang` attribute will not be assigned in `index.html`, and the user will be notified with a corresponding STATUS message. Execution will not be halted. Other complications related to this parser behavior are considered out-of-scope and not handled here. In the first example above, this workaround would ensure that `lang` is not assigned to `--skip-npm`, but it would not guarantee that `--skip-npm` is correctly processed as a command option. That is, `npm` may or may not get skipped during execution. */ function startsWithHyphen(langArg) { return langArg && langArg[0] === '-'; } // MESSAGE GENERATION: // 1. `HEAD` Message: template for all `--lang`-related warnings emitted const MSG_HEAD = `An issue with the \`--lang\` flag returned the following message:`; // 2. `BODY` Messages: category-dependent context information // Message context from language code validation (valid: null, invalid: reason) function getLangCodeMsg(langArg) { return isLangCode(langArg).message; } // Edge case: valid language code AND a common programming language abbreviation function getValidAndProgMsg(langArg) { return `The \`--lang\` flag has been used with argument \`${langArg}\`, which is BOTH a valid language code AND an abbreviation for a programming language. ${getProgLangMsg(langArg)}`; } // Misuse case: attempt to set application programming language via `lang` function getProgLangMsg(langArg) { return `Trying to set the app programming language to \`${langArg}\`? This is not the intended usage of the \`--lang\` flag.`; } // Misuse case: `--lang` called without `langArg` (NB: parser bug workaround) function getCliMsg() { return `Detected a \`--lang\` specification starting with command flag \`-\`. This issue is likely caused by using the \`--lang\` flag without a specification.`; } // 3. `STATUS` message: report if `lang` will be set in `index.html` function getStatusMsg(langArg, willSet) { return `The human language of the application will ${willSet ? `be set to ${langArg}` : `NOT be set`} in the \`<html>\` element's \`lang\` attribute in \`index.html\`.`; } // 4. `HELP` message: template for all `--lang`-related warnings emitted const MSG_HELP = `If this was not your intention, you may edit the \`<html>\` element's \`lang\` attribute in \`index.html\` manually after the process is complete. Information about using the \`--lang\` flag: The \`--lang\` flag sets the base human language of an app or test app: - \`app/index.html\` (app) - \`tests/dummy/app/index.html\` (addon test app) If used, the lang option must specfify a valid language code. For default behavior, remove the flag. See \`ember <command> help\` for more information.`; function getBodyMsg(langArg) { return isValidCodeAndProg(langArg) ? getValidAndProgMsg(langArg) : isProgLang(langArg) ? getProgLangMsg(langArg) : startsWithHyphen(langArg) ? getCliMsg(langArg) : getLangCodeMsg(langArg); } function getFullMsg(langArg) { return { head: MSG_HEAD, body: getBodyMsg(langArg), status: getStatusMsg(langArg, isValidCodeAndProg(langArg)), help: MSG_HELP, }; } function writeFullMsg(fullMsg, ui) { ui.setWriteLevel('WARNING'); ui.writeWarnLine(`${fullMsg.head}\n ${fullMsg.body}\``); ui.writeWarnLine(fullMsg.status); ui.setWriteLevel('INFO'); ui.writeInfoLine(fullMsg.help); } module.exports = function getLangArg(langArg, ui) { let fullMsg = getFullMsg(langArg); if (fullMsg.body) { writeFullMsg(fullMsg, ui); } return getResult(langArg); };
(function(b){var a=b.cultures,d=a.en,e=d.calendars.standard,c=a.no=b.extend(true,{},d,{name:"no",englishName:"Norwegian",nativeName:"norsk",language:"no",numberFormat:{",":" ",".":",",percent:{",":" ",".":","},currency:{pattern:["$ -n","$ n"],",":" ",".":",",symbol:"kr"}},calendars:{standard:b.extend(true,{},e,{"/":".",firstDay:1,days:{names:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],namesAbbr:["sø","ma","ti","on","to","fr","lø"],namesShort:["sø","ma","ti","on","to","fr","lø"]},months:{names:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],namesAbbr:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""]},AM:null,PM:null,patterns:{d:"dd.MM.yyyy",D:"d. MMMM yyyy",t:"HH:mm",T:"HH:mm:ss",f:"d. MMMM yyyy HH:mm",F:"d. MMMM yyyy HH:mm:ss",M:"d. MMMM",Y:"MMMM yyyy"}})}},a.no);c.calendar=c.calendars.standard})(jQuery)
var EPOCH = 1900; var PATTERN = /(\d+)[^\/|-]/g; function iskabisat(year) { if(year % 4 === 0){ if(year % 100 === 0 && year % 400 !== 0) return false; else return true; } return false; } /* * kabisats: * Calculating how many kabisats' years in time span between * given year and primordial year, Y0 */ function kabisats(year) { var kabcount = 0; for(var i=1900; i<year; i++) { if(iskabisat(i)) kabcount++; } return kabcount; } function calcdays(date) { function months(mth) { var days = 0; for(var i=1; i<mth; i++) { if(extraday.indexOf(i) !== -1) days += 31; else if (i == 2) days += 28; else days += 30; } return days+1; } var extraday = [1, 3, 5, 7, 8, 10, 12]; var dayarr = date.match(PATTERN); var day = parseInt(dayarr[2]); var month = parseInt(dayarr[1]); var year = parseInt(dayarr[0]); var days = day + months(month) + (year - EPOCH) * 365 + kabisats(year); return days; } function triwara(day) { return ['Pasah', 'Beteng', 'Kajeng'][(day-1) % 3]; } function pancawara(day) { var pancalist = ["Umanis", "Paing", "Pon", "Wage", "Kliwon"]; return pancalist[(day-1) % 5]; } function saptawara(day) { return ["Redite", "Coma", "Anggara","Buda", "Wrespati", "Sukra", "Saniscara"][(day-1) % 7]; } function wuku(day) { var wukulist = [ "Sinta", "Landep", "Ukir", "Kulantir", "Tolu", "Gumbreg", "Wariga", "Warigadean", "Julungwangi", "Sungsang", "Dungulan", "Kuningan", "Langkir", "Medangsya", "Pujut", "Pahang", "Krulut", "Merakih", "Tambir", "Medangkungan", "Matal", "Uye", "Menail", "Prangbakat", "Bala", "Ugu", "Wayang", "Kelawu", "Dukut", "Watugunung" ]; idx = (Math.floor((day-1) / 7) + 12) % 30; return wukulist[idx]; } function bali_calendar(date) { var day = calcdays(date); return { Triwara: triwara(day), Pancawara: pancawara(day), Saptawara: saptawara(day), Wuku: wuku(day) }; } module.exports.bali_calendar = bali_calendar;
var _elm_lang$window$Native_Window = function() { var size = _elm_lang$core$Native_Scheduler.nativeBinding(function(callback) { callback(_elm_lang$core$Native_Scheduler.succeed({ width: window.innerWidth, height: window.innerHeight })); }); return { size: size }; }();
/* ShipManager.js KC3改 Ship Manager Managesship roster and does indexing for data access. Saves and loads list to and from localStorage */ (function(){ "use strict"; window.KC3ShipManager = { list: {}, max: 100, pendingShipNum: 0, // Get a specific ship by ID get :function( rosterId ){ // console.log("getting ship", rosterId, this.list["x"+rosterId]); return this.list["x"+rosterId] || (new KC3Ship()); }, // Count number of ships count :function(){ return Object.size(this.list) + this.pendingShipNum; }, // Add or replace a ship on the list add :function(data){ var didFlee = false; if(typeof data.api_id != "undefined"){ if (typeof this.list["x"+data.api_id] !== "undefined") { didFlee = this.list["x"+data.api_id].didFlee; } this.list["x"+data.api_id] = new KC3Ship(data); this.list["x"+data.api_id].didFlee = didFlee; }else if(typeof data.rosterId != "undefined"){ if (typeof this.list["x"+data.rosterId] !== "undefined") { didFlee = this.list["x"+data.rosterId].didFlee; } this.list["x"+data.rosterId] = new KC3Ship(data); this.list["x"+data.rosterId].didFlee = didFlee; } }, // Mass set multiple ships set :function(data){ var ctr; for(ctr in data){ if(!!data[ctr]){ this.add(data[ctr]); } } this.save(); }, // Remove ship from the list, scrapped, mod-fodded, or sunk remove :function( rosterId ){ console.log("removing ship", rosterId); var thisShip = this.list["x"+rosterId]; if(thisShip != "undefined"){ // initializing for fleet sanitizing of zombie ships var flatShips = PlayerManager.fleets .map(function(x){ return x.ships; }) .reduce(function(x,y){ return x.concat(y); }), shipTargetOnFleet = flatShips.indexOf(Number(rosterId)), // check from which fleet shipTargetFleetID = Math.floor(shipTargetOnFleet/6); // check whether the designated ship is on fleet or not if(shipTargetOnFleet >= 0){ PlayerManager.fleets[shipTargetFleetID].discard(rosterId); } // remove any equipments from her for(var gctr in thisShip.items){ if(thisShip.items[gctr] > -1){ KC3GearManager.remove( thisShip.items[gctr] ); } } delete this.list["x"+rosterId]; this.save(); KC3GearManager.save(); } }, // Show JSON string of the list for debugging purposes json: function(){ console.log(JSON.stringify(this.list)); }, // Save ship list onto local storage clear: function(){ this.list = {}; }, // Save ship list onto local storage save: function(){ localStorage.ships = JSON.stringify(this.list); }, // Load from storage and add each one to manager list load: function(){ if(typeof localStorage.ships != "undefined"){ this.clear(); var ShipList = JSON.parse(localStorage.ships); for(var ctr in ShipList){ this.add( ShipList[ctr] ); } return true; } return false; } }; })();
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; const models = require('./index'); /** * Create recovery plan input class. * */ class CreateRecoveryPlanInput { /** * Create a CreateRecoveryPlanInput. * @member {object} properties Recovery plan creation properties. * @member {string} [properties.primaryFabricId] The primary fabric Id. * @member {string} [properties.recoveryFabricId] The recovery fabric Id. * @member {string} [properties.failoverDeploymentModel] The failover * deployment model. Possible values include: 'NotApplicable', 'Classic', * 'ResourceManager' * @member {array} [properties.groups] The recovery plan groups. */ constructor() { } /** * Defines the metadata of CreateRecoveryPlanInput * * @returns {object} metadata of CreateRecoveryPlanInput * */ mapper() { return { required: false, serializedName: 'CreateRecoveryPlanInput', type: { name: 'Composite', className: 'CreateRecoveryPlanInput', modelProperties: { properties: { required: true, serializedName: 'properties', type: { name: 'Composite', className: 'CreateRecoveryPlanInputProperties' } } } } }; } } module.exports = CreateRecoveryPlanInput;
describe("About Expects", function() { // We shall contemplate truth by testing reality, via spec expectations. it("should expect true", function() { expect(true).toBeTruthy(); //This should be true }); // To understand reality, we must compare our expectations against reality. it("should expect equality", function () { var expectedValue = 2; var actualValue = 1 + 1; expect(actualValue === expectedValue).toBeTruthy(); }); // Some ways of asserting equality are better than others. it("should assert equality a better way", function () { var expectedValue = 2; var actualValue = 1 + 1; // toEqual() compares using common sense equality. expect(actualValue).toEqual(expectedValue); }); // Sometimes you need to be really exact about what you "type." it("should assert equality with ===", function () { var expectedValue = 2; var actualValue = (1 + 1); // toBe() will always use === to compare. expect(actualValue).toBe(expectedValue); }); // Sometimes we will ask you to fill in the values. it("should have filled in values", function () { expect(1 + 1).toEqual(2); }); });
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; /** * @class * Initializes a new instance of the ComputeNodeListNextOptions class. * @constructor * Additional parameters for the listNext operation. * * @member {string} [clientRequestId] The caller-generated request identity, * in the form of a GUID with no decoration such as curly braces, e.g. * 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. * * @member {boolean} [returnClientRequestId] Whether the server should return * the client-request-id identifier in the response. * * @member {date} [ocpDate] The time the request was issued. If not specified, * this header will be automatically populated with the current system clock * time. * */ function ComputeNodeListNextOptions() { } /** * Defines the metadata of ComputeNodeListNextOptions * * @returns {object} metadata of ComputeNodeListNextOptions * */ ComputeNodeListNextOptions.prototype.mapper = function () { return { required: false, type: { name: 'Composite', className: 'ComputeNodeListNextOptions', modelProperties: { clientRequestId: { required: false, type: { name: 'String' } }, returnClientRequestId: { required: false, type: { name: 'Boolean' } }, ocpDate: { required: false, type: { name: 'DateTimeRfc1123' } } } } }; }; module.exports = ComputeNodeListNextOptions;
'use strict'; const common = require('../common'); const assert = require('assert'); const tick = require('./tick'); const initHooks = require('./init-hooks'); const { checkInvocations } = require('./hook-checks'); const fs = require('fs'); const hooks = initHooks(); hooks.enable(); fs.readFile(__filename, common.mustCall(onread)); function onread() { const as = hooks.activitiesOfTypes('FSREQWRAP'); let lastParent = 1; for (let i = 0; i < as.length; i++) { const a = as[i]; assert.strictEqual(a.type, 'FSREQWRAP'); assert.strictEqual(typeof a.uid, 'number'); assert.strictEqual(a.triggerAsyncId, lastParent); lastParent = a.uid; } checkInvocations(as[0], { init: 1, before: 1, after: 1, destroy: 1 }, 'reqwrap[0]: while in onread callback'); checkInvocations(as[1], { init: 1, before: 1, after: 1, destroy: 1 }, 'reqwrap[1]: while in onread callback'); checkInvocations(as[2], { init: 1, before: 1, after: 1, destroy: 1 }, 'reqwrap[2]: while in onread callback'); // this callback is called from within the last fs req callback therefore // the last req is still going and after/destroy haven't been called yet checkInvocations(as[3], { init: 1, before: 1 }, 'reqwrap[3]: while in onread callback'); tick(2); } process.on('exit', onexit); function onexit() { hooks.disable(); hooks.sanityCheck('FSREQWRAP'); const as = hooks.activitiesOfTypes('FSREQWRAP'); const a = as.pop(); checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 }, 'when process exits'); }
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. var common = require('../common'); var assert = require('assert'); var Stream = require('stream').Stream; (function testErrorListenerCatches() { var source = new Stream(); var dest = new Stream(); source.pipe(dest); var gotErr = null; source.on('error', function(err) { gotErr = err; }); var err = new Error('This stream turned into bacon.'); source.emit('error', err); assert.strictEqual(gotErr, err); })(); (function testErrorWithoutListenerThrows() { var source = new Stream(); var dest = new Stream(); source.pipe(dest); var err = new Error('This stream turned into bacon.'); var gotErr = null; try { source.emit('error', err); } catch (e) { gotErr = e; } assert.strictEqual(gotErr, err); })();
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import SettingsWrapper from '../SettingsWrapper'; test('renders if isEnabled', (t) => { const wrapper = shallow(<SettingsWrapper isEnabled />); t.true(wrapper.matchesElement(<div />)); }); test('renders with settings toggle when provided', (t) => { const settingsToggle = () => <div>Toggle</div>; const wrapper = shallow(<SettingsWrapper isEnabled SettingsToggle={settingsToggle} />); t.is(wrapper.html(), '<div><div>Toggle</div></div>'); }); test('renders with style', (t) => { const style = { backgroundColor: '#EDEDED' }; const wrapper = shallow(<SettingsWrapper isEnabled style={style} />); t.true(wrapper.matchesElement(<div style={{ backgroundColor: '#EDEDED' }} />)); }); test('renders with className', (t) => { const wrapper = shallow(<SettingsWrapper isEnabled className="className" />); t.true(wrapper.matchesElement(<div className="className" />)); }); test('renders with settings if visible and settings component is provided', (t) => { const settings = () => <div>Settings</div>; const wrapper = shallow(<SettingsWrapper isEnabled isVisible Settings={settings} />); t.is(wrapper.html(), '<div><div>Settings</div></div>'); }); test('renders without settings if isVisible is false and settings component is provided', (t) => { const settings = () => <div>Settings</div>; const wrapper = shallow(<SettingsWrapper isEnabled isVisible={false} Settings={settings} />); t.is(wrapper.html(), '<div></div>'); });
module.exports={A:{A:{"2":"J C G E B A TB"},B:{"2":"D X g H L"},C:{"2":"0 2 3 4 RB F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x y z s r PB OB"},D:{"1":"0 2 4 8 m n o p q v w x y z s r DB AB SB BB","2":"F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l"},E:{"2":"7 F I J C G E B A CB EB FB GB HB IB JB"},F:{"1":"Z a b c d e f K h i j k l m n o p q","2":"1 5 6 E A D H L M N O P Q R S T U V W t Y KB LB MB NB QB"},G:{"2":"7 9 G A u UB VB WB XB YB ZB aB bB"},H:{"2":"cB"},I:{"1":"r","2":"3 F dB eB fB gB u hB iB"},J:{"2":"C B"},K:{"1":"K","2":"1 5 6 B A D"},L:{"1":"8"},M:{"2":"s"},N:{"2":"B A"},O:{"2":"jB"},P:{"1":"F I"},Q:{"2":"kB"},R:{"1":"lB"}},B:5,C:"Web MIDI API"};
/* globals: sinon */ var expect = require("chai").expect; var Keen = require("../../../../src/core"), keenHelper = require("../../helpers/test-config"); describe("Keen.Dataviz", function(){ beforeEach(function(){ this.project = new Keen({ projectId: keenHelper.projectId, readKey: keenHelper.readKey }); this.query = new Keen.Query("count", { eventCollection: "test-collection" }); this.dataviz = new Keen.Dataviz(); // console.log(this.dataviz); }); afterEach(function(){ this.project = null; this.query = null; this.dataviz = null; Keen.Dataviz.visuals = new Array(); }); describe("constructor", function(){ it("should create a new Keen.Dataviz instance", function(){ expect(this.dataviz).to.be.an.instanceof(Keen.Dataviz); }); it("should contain a new Keen.Dataset instance", function(){ expect(this.dataviz.dataset).to.be.an.instanceof(Keen.Dataset); }); it("should contain a view object", function(){ expect(this.dataviz.view).to.be.an("object"); }); it("should contain view attributes matching Keen.Dataviz.defaults", function(){ expect(this.dataviz.view.attributes).to.deep.equal(Keen.Dataviz.defaults); }); it("should contain view defaults also matching Keen.Dataviz.defaults", function(){ expect(this.dataviz.view.defaults).to.deep.equal(Keen.Dataviz.defaults); }); it("should be appended to Keen.Dataviz.visuals", function(){ expect(Keen.Dataviz.visuals).to.have.length(1); expect(Keen.Dataviz.visuals[0]).and.to.be.an.instanceof(Keen.Dataviz); }); }); describe("#attributes", function(){ it("should get the current properties", function(){ expect(this.dataviz.attributes()).to.deep.equal(Keen.Dataviz.defaults); }); it("should set a hash of properties", function(){ this.dataviz.attributes({ title: "Updated Attributes", width: 600 }); expect(this.dataviz.view.attributes.title).to.be.a("string") .and.to.eql("Updated Attributes"); expect(this.dataviz.view.attributes.width).to.be.a("number") .and.to.eql(600); }); it("should unset properties by passing null", function(){ this.dataviz.adapter({ height: null }); expect(this.dataviz.view.adapter.height).to.not.exist; }); }); // it("should", function(){}); describe("#colors", function(){ it("should get the current color set", function(){ expect(this.dataviz.colors()).to.be.an("array") .and.to.eql(Keen.Dataviz.defaults.colors); }); it("should set a new array of colors", function(){ var array = ["red","green","blue"]; this.dataviz.colors(array); expect(this.dataviz.colors()).to.be.an("array") .and.to.have.length(3) .and.to.eql(array); }); it("should unset the colors set by passing null", function(){ var array = ["red","green","blue"]; this.dataviz.colors(array); this.dataviz.colors(null); expect(this.dataviz.colors()).to.not.exist; }); }); describe("#colorMapping", function(){ it("should return undefined by default", function(){ expect(this.dataviz.colorMapping()).to.be.an("undefined"); }); it("should set and get a hash of properties", function(){ var hash = { "A": "#aaa", "B": "#bbb" }; this.dataviz.colorMapping(hash); expect(this.dataviz.colorMapping()).to.be.an("object") .and.to.deep.equal(hash); }); it("should unset a property by passing null", function(){ var hash = { "A": "#aaa", "B": "#bbb" }; this.dataviz.colorMapping(hash); expect(this.dataviz.colorMapping().A).to.be.a("string") .and.to.eql("#aaa"); this.dataviz.colorMapping({ "A": null }); expect(this.dataviz.colorMapping().A).to.not.exist; }); }); describe("#labels", function(){ it("should return an empty array by default", function(){ expect(this.dataviz.labels()).to.be.an("array").and.to.have.length(0); }); it("should set and get a new array of labels", function(){ var array = ["A","B","C"]; this.dataviz.labels(array); expect(this.dataviz.labels()).to.be.an("array") .and.to.have.length(3) .and.to.eql(array); }); it("should unset the labels set by passing null", function(){ var array = ["A","B","C"]; this.dataviz.labels(array); this.dataviz.labels(null); expect(this.dataviz.labels()).to.be.an("array").and.to.have.length(0); }); }); describe("#labelMapping", function(){ it("should return undefined by default", function(){ expect(this.dataviz.labelMapping()).to.be.an("undefined"); }); it("should set and get a hash of properties", function(){ var hash = { "_a_": "A", "_b_": "B" }; this.dataviz.labelMapping(hash); expect(this.dataviz.labelMapping()).to.be.an("object") .and.to.deep.equal(hash); }); it("should unset a property by passing null", function(){ var hash = { "_a_": "A", "_b_": "B" }; this.dataviz.labelMapping(hash); expect(this.dataviz.labelMapping()._a_).to.be.a("string") .and.to.eql("A"); this.dataviz.labelMapping({ "_a_": null }); expect(this.dataviz.labelMapping()._a_).to.not.exist; }); it("should provide full text replacement of categorical values", function(){ var num_viz = new Keen.Dataviz() .call(function(){ this.dataset.output([ [ "Index", "Count" ], [ "Sunday", 10 ], [ "Monday", 11 ], [ "Tuesday", 12 ], [ "Wednesday", 13 ] ]); this.dataset.meta.schema = { records: "result", select: true }; this.dataType("categorical"); }) .labelMapping({ "Sunday" : "Sun", "Monday" : "Mon", "Tuesday" : "Tues" }); expect(num_viz.dataset.output()[1][0]).to.be.a("string") .and.to.eql("Sun"); expect(num_viz.dataset.output()[2][0]).to.be.a("string") .and.to.eql("Mon"); expect(num_viz.dataset.output()[3][0]).to.be.a("string") .and.to.eql("Tues"); expect(num_viz.dataset.output()[4][0]).to.be.a("string") .and.to.eql("Wednesday"); }); }); describe("#height", function(){ it("should return undefined by default", function(){ expect(this.dataviz.height()).to.be.an("undefined"); }); it("should set and get a new height", function(){ var height = 375; this.dataviz.height(height); expect(this.dataviz.height()).to.be.a("number") .and.to.eql(height); }); it("should unset the height by passing null", function(){ this.dataviz.height(null); expect(this.dataviz.height()).to.not.exist; }); }); describe("#title", function(){ it("should return undefined by default", function(){ expect(this.dataviz.title()).to.be.an("undefined"); }); it("should set and get a new title", function(){ var title = "New Title"; this.dataviz.title(title); expect(this.dataviz.title()).to.be.a("string") .and.to.eql(title); }); it("should unset the title by passing null", function(){ this.dataviz.title(null); expect(this.dataviz.title()).to.not.exist; }); }); describe("#width", function(){ it("should return undefined by default", function(){ expect(this.dataviz.width()).to.be.an("undefined"); }); it("should set and get a new width", function(){ var width = 900; this.dataviz.width(width); expect(this.dataviz.width()).to.be.a("number") .and.to.eql(width); }); it("should unset the width by passing null", function(){ this.dataviz.width(null); expect(this.dataviz.width()).to.not.exist; }); }); describe("#adapter", function(){ it("should get the current adapter properties", function(){ expect(this.dataviz.adapter()).to.be.an("object") .and.to.contain.keys("library", "chartType", "defaultChartType", "dataType"); expect(this.dataviz.adapter().library).to.be.an("undefined"); expect(this.dataviz.adapter().chartType).to.be.an("undefined"); }); it("should set a hash of properties", function(){ this.dataviz.adapter({ library: "lib2", chartType: "pie" }); expect(this.dataviz.view.adapter.library).to.be.a("string") .and.to.eql("lib2"); expect(this.dataviz.view.adapter.chartType).to.be.a("string") .and.to.eql("pie"); }); it("should unset properties by passing null", function(){ this.dataviz.adapter({ library: null }); expect(this.dataviz.view.adapter.library).to.not.exist; }); }); describe("#library", function(){ it("should return undefined by default", function(){ expect(this.dataviz.library()).to.be.an("undefined"); }); it("should set and get a new library", function(){ var lib = "nvd3"; this.dataviz.library(lib); expect(this.dataviz.library()).to.be.a("string") .and.to.eql(lib); }); it("should unset the library by passing null", function(){ this.dataviz.library(null); expect(this.dataviz.library()).to.not.exist; }); }); describe("#chartOptions", function(){ it("should set and get a hash of properties", function(){ var hash = { legend: { position: "none" }, isStacked: true }; this.dataviz.chartOptions(hash); expect(this.dataviz.view.adapter.chartOptions.legend).to.be.an("object") .and.to.deep.eql(hash.legend); expect(this.dataviz.view.adapter.chartOptions.isStacked).to.be.a("boolean") .and.to.eql(true); }); it("should unset properties by passing null", function(){ var hash = { legend: { position: "none" }, isStacked: true }; this.dataviz.chartOptions(hash); this.dataviz.chartOptions({ legend: null }); expect(this.dataviz.view.adapter.chartOptions.legend).to.not.exist; }); }); describe("#chartType", function(){ it("should return undefined by default", function(){ expect(this.dataviz.chartType()).to.be.an("undefined"); }); it("should set and get a new chartType", function(){ var chartType = "magic-pie" this.dataviz.chartType(chartType); expect(this.dataviz.chartType()).to.be.a("string") .and.to.eql(chartType); }); it("should unset properties by passing null", function(){ this.dataviz.chartType(null); expect(this.dataviz.chartType()).to.not.exist; }); }); describe("#defaultChartType", function(){ it("should return undefined by default", function(){ expect(this.dataviz.defaultChartType()).to.be.an("undefined"); }); it("should set and get a new chartType", function(){ var defaultType = "backup-pie"; this.dataviz.defaultChartType(defaultType); expect(this.dataviz.defaultChartType()).to.be.a("string") .and.to.eql(defaultType); }); it("should unset chartType by passing null", function(){ this.dataviz.defaultChartType(null); expect(this.dataviz.defaultChartType()).to.not.exist; }); }); describe("#dataType", function(){ it("should return undefined by default", function(){ expect(this.dataviz.dataType()).to.be.an("undefined"); }); it("should set and get a new dataType", function(){ var dataType = "cat-interval"; this.dataviz.dataType(dataType); expect(this.dataviz.dataType()).to.be.a("string") .and.to.eql(dataType); }); it("should unset dataType by passing null", function(){ this.dataviz.dataType(null); expect(this.dataviz.dataType()).to.not.exist; }); }); describe("#el", function(){ beforeEach(function(){ var elDiv = document.createElement("div"); elDiv.id = "chart-test"; document.body.appendChild(elDiv); }); it("should return undefined by default", function(){ expect(this.dataviz.el()).to.be.an("undefined"); }); it("should set and get a new el", function(){ this.dataviz.el(document.getElementById("chart-test")); expect(this.dataviz.el()).to.be.an("object"); if (this.dataviz.el().nodeName) { expect(this.dataviz.el().nodeName).to.be.a("string") .and.to.eql("DIV"); } }); it("should unset el by passing null", function(){ this.dataviz.el(null); expect(this.dataviz.el()).to.not.exist; }); }); describe("#indexBy", function(){ it("should return \"timeframe.start\" by default", function(){ expect(this.dataviz.indexBy()).to.be.a("string") .and.to.eql("timeframe.start"); }); it("should set and get a new indexBy property", function(){ this.dataviz.indexBy("timeframe.end"); expect(this.dataviz.indexBy()).to.be.a("string") .and.to.eql("timeframe.end"); }); it("should revert the property to default value by passing null", function(){ this.dataviz.indexBy(null); expect(this.dataviz.indexBy()).to.be.a("string") .and.to.eql(Keen.Dataviz.defaults.indexBy); }); }); describe("#sortGroups", function(){ it("should return undefined by default", function(){ expect(this.dataviz.sortGroups()).to.be.an("undefined"); }); it("should set and get a new sortGroups property", function(){ this.dataviz.sortGroups("asc"); expect(this.dataviz.sortGroups()).to.be.a("string") .and.to.eql("asc"); }); it("should unset property by passing null", function(){ this.dataviz.sortGroups(null); expect(this.dataviz.sortGroups()).to.not.exist; }); }); describe("#sortIntervals", function(){ it("should return undefined by default", function(){ expect(this.dataviz.sortIntervals()).to.be.an("undefined"); }); it("should set and get a new sortIntervals property", function(){ this.dataviz.sortIntervals("asc"); expect(this.dataviz.sortIntervals()).to.be.a("string") .and.to.eql("asc"); }); it("should unset property by passing null", function(){ this.dataviz.sortIntervals(null); expect(this.dataviz.sortIntervals()).to.not.exist; }); }); describe("#stacked", function(){ it("should return false by default", function(){ expect(this.dataviz.stacked()).to.be.a("boolean").and.to.eql(false); }); it("should set `stacked` to true by passing true", function(){ this.dataviz.stacked(true); expect(this.dataviz.stacked()).to.be.a("boolean").and.to.eql(true); }); it("should set `stacked` to false by passing null", function(){ this.dataviz.stacked(true); this.dataviz.stacked(null); expect(this.dataviz.stacked()).to.be.a("boolean").and.to.eql(false); }); }); describe("#prepare", function(){ it("should set the view._prepared flag to true", function(){ expect(this.dataviz.view._prepared).to.be.false; this.dataviz.el(document.getElementById("chart-test")).prepare(); expect(this.dataviz.view._prepared).to.be.true; // terminate the spinner instance this.dataviz.initialize(); }); }); describe("Adapter actions", function(){ beforeEach(function(){ Keen.Dataviz.register("demo", { "chart": { initialize: sinon.spy(), render: sinon.spy(), update: sinon.spy(), destroy: sinon.spy(), error: sinon.spy() } }); this.dataviz.adapter({ library: "demo", chartType: "chart" }); }); describe("#initialize", function(){ it("should call the #initialize method of a given adapter", function(){ this.dataviz.initialize(); expect(Keen.Dataviz.libraries.demo.chart.initialize.called).to.be.ok; }); it("should set the view._initialized flag to true", function(){ expect(this.dataviz.view._initialized).to.be.false; this.dataviz.initialize(); expect(this.dataviz.view._initialized).to.be.true; }); }); describe("#render", function(){ it("should call the #initialize method of a given adapter", function(){ this.dataviz.initialize(); expect(Keen.Dataviz.libraries.demo.chart.initialize.called).to.be.ok; }); it("should call the #render method of a given adapter", function(){ this.dataviz.el(document.getElementById("chart-test")).render(); expect(Keen.Dataviz.libraries.demo.chart.render.called).to.be.ok; }); it("should NOT call the #render method if el is NOT set", function(){ this.dataviz.render(); expect(Keen.Dataviz.libraries.demo.chart.render.called).to.not.be.ok; }); it("should set the view._rendered flag to true", function(){ expect(this.dataviz.view._rendered).to.be.false; this.dataviz.el(document.getElementById("chart-test")).render(); expect(this.dataviz.view._rendered).to.be.true; }); }); describe("#update", function(){ it("should call the #update method of a given adapter if available", function(){ this.dataviz.update(); expect(Keen.Dataviz.libraries.demo.chart.update.called).to.be.ok; }); it("should call the #render method of a given adapter if NOT available", function(){ Keen.Dataviz.libraries.demo.chart.update = void 0; this.dataviz.el(document.getElementById("chart-test")).update(); expect(Keen.Dataviz.libraries.demo.chart.render.called).to.be.ok; }); }); describe("#destroy", function(){ it("should call the #destroy method of a given adapter", function(){ this.dataviz.destroy(); expect(Keen.Dataviz.libraries.demo.chart.destroy.called).to.be.ok; }); }); describe("#error", function(){ it("should call the #error method of a given adapter if available", function(){ this.dataviz.error(); expect(Keen.Dataviz.libraries.demo.chart.error.called).to.be.ok; }); }); }); });
var fs = require('fs'); var daff = require('daff'); var assert = require('assert'); var Fiber = null; var sqlite3 = null; try { Fiber = require('fibers'); sqlite3 = require('sqlite3'); } catch (err) { // We don't have what we need for accessing the sqlite database. // Not an error. console.log("No sqlite3/fibers"); return; } Fiber(function() { var sql = new SqliteDatabase(new sqlite3.Database(':memory:'),null,Fiber); sql.exec("CREATE TABLE ver1 (id INTEGER PRIMARY KEY, name TEXT)"); sql.exec("CREATE TABLE ver2 (id INTEGER PRIMARY KEY, name TEXT)"); sql.exec("INSERT INTO ver1 VALUES(?,?)",[1, "Paul"]); sql.exec("INSERT INTO ver1 VALUES(?,?)",[2, "Naomi"]); sql.exec("INSERT INTO ver1 VALUES(?,?)",[4, "Hobbes"]); sql.exec("INSERT INTO ver2 VALUES(?,?)",[2, "Noemi"]); sql.exec("INSERT INTO ver2 VALUES(?,?)",[3, "Calvin"]); sql.exec("INSERT INTO ver2 VALUES(?,?)",[4, "Hobbes"]); var st1 = new daff.SqlTable(sql,"ver1") var st2 = new daff.SqlTable(sql,"ver2") var sc = new daff.SqlCompare(sql,st1,st2) var alignment = sc.apply(); var flags = new daff.CompareFlags(); var td = new daff.TableDiff(alignment,flags); var out = new daff.TableView([]); td.hilite(out); var target = new daff.TableView([['@@', 'id', 'name'], ['+++', 3, 'Calvin'], ['->', 2, 'Naomi->Noemi'], ['---', 1, 'Paul']]); assert(target.isSimilar(out)); }).run();
/** * @fileoverview transition parser/implementation - still WIP * * @author Tony Parisi */ goog.provide('glam.TransitionElement'); goog.require('glam.AnimationElement'); glam.TransitionElement.DEFAULT_DURATION = glam.AnimationElement.DEFAULT_DURATION; glam.TransitionElement.DEFAULT_TIMING_FUNCTION = glam.AnimationElement.DEFAULT_TIMING_FUNCTION; // transition:transform 2s, background-color 5s linear 2s; glam.TransitionElement.parse = function(docelt, style, obj) { var transition = style.transition || ""; var transitions = { }; var comps = transition.split(","); var i, len = comps.length; for (i = 0; i < len; i++) { var comp = comps[i]; if (comp) { var params = comp.split(" "); if (params[0] == "") params.shift(); var propname = params[0]; var duration = params[1]; var timingFunction = params[2] || glam.TransitionElement.DEFAULT_TIMING_FUNCTION; var delay = params[3] || ""; duration = glam.AnimationElement.parseTime(duration); timingFunction = glam.AnimationElement.parseTimingFunction(timingFunction); delay = glam.AnimationElement.parseTime(delay); transitions[propname] = { duration : duration, timingFunction : timingFunction, delay : delay }; } } }
var assert = require('assert'); var common = require('../../common'); var path = common.fixtures + '/data.csv'; var table = 'multi_load_data_test'; var newline = common.detectNewline(path); common.getTestConnection({multipleStatements: true}, function (err, connection) { assert.ifError(err); common.useTestDb(connection); connection.query([ 'CREATE TEMPORARY TABLE ?? (', '`id` int(11) unsigned NOT NULL AUTO_INCREMENT,', '`title` varchar(400),', 'PRIMARY KEY (`id`)', ') ENGINE=InnoDB DEFAULT CHARSET=utf8' ].join('\n'), [table], assert.ifError); var stmt = 'LOAD DATA LOCAL INFILE ? INTO TABLE ?? CHARACTER SET utf8 ' + 'FIELDS TERMINATED BY ? ' + 'LINES TERMINATED BY ? ' + '(id, title)'; var sql = connection.format(stmt, [path, table, ',', newline]) + ';' + connection.format(stmt, [path, table, ',', newline]) + ';'; connection.query(sql, function (err, results) { assert.ifError(err); assert.equal(results.length, 2); assert.equal(results[0].affectedRows, 5); assert.equal(results[1].affectedRows, 0); }); connection.query('SELECT * FROM ??', [table], function (err, rows) { assert.ifError(err); assert.equal(rows.length, 5); assert.equal(rows[0].id, 1); assert.equal(rows[0].title, 'Hello World'); assert.equal(rows[3].id, 4); assert.equal(rows[3].title, '中文内容'); assert.equal(rows[4].id, 5); assert.equal(rows[4].title.length, 321); assert.equal(rows[4].title, 'this is a long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long string'); }); connection.end(assert.ifError); });
/*** * Contains core SlickGrid classes. * @module Core * @namespace Slick */ (function ($) { // register namespace $.extend(true, window, { "Slick": { "Event": Event, "EventData": EventData, "EventHandler": EventHandler, "Range": Range, "NonDataRow": NonDataItem, "Group": Group, "GroupTotals": GroupTotals, "EditorLock": EditorLock, /*** * A global singleton editor lock. * @class GlobalEditorLock * @static * @constructor */ "GlobalEditorLock": new EditorLock(), "TreeColumns": TreeColumns } }); /*** * An event object for passing data to event handlers and letting them control propagation. * <p>This is pretty much identical to how W3C and jQuery implement events.</p> * @class EventData * @constructor */ function EventData() { var isPropagationStopped = false; var isImmediatePropagationStopped = false; /*** * Stops event from propagating up the DOM tree. * @method stopPropagation */ this.stopPropagation = function () { isPropagationStopped = true; }; /*** * Returns whether stopPropagation was called on this event object. * @method isPropagationStopped * @return {Boolean} */ this.isPropagationStopped = function () { return isPropagationStopped; }; /*** * Prevents the rest of the handlers from being executed. * @method stopImmediatePropagation */ this.stopImmediatePropagation = function () { isImmediatePropagationStopped = true; }; /*** * Returns whether stopImmediatePropagation was called on this event object.\ * @method isImmediatePropagationStopped * @return {Boolean} */ this.isImmediatePropagationStopped = function () { return isImmediatePropagationStopped; } } /*** * A simple publisher-subscriber implementation. * @class Event * @constructor */ function Event() { var handlers = []; /*** * Adds an event handler to be called when the event is fired. * <p>Event handler will receive two arguments - an <code>EventData</code> and the <code>data</code> * object the event was fired with.<p> * @method subscribe * @param fn {Function} Event handler. */ this.subscribe = function (fn) { handlers.push(fn); }; /*** * Removes an event handler added with <code>subscribe(fn)</code>. * @method unsubscribe * @param fn {Function} Event handler to be removed. */ this.unsubscribe = function (fn) { for (var i = handlers.length - 1; i >= 0; i--) { if (handlers[i] === fn) { handlers.splice(i, 1); } } }; /*** * Fires an event notifying all subscribers. * @method notify * @param args {Object} Additional data object to be passed to all handlers. * @param e {EventData} * Optional. * An <code>EventData</code> object to be passed to all handlers. * For DOM events, an existing W3C/jQuery event object can be passed in. * @param scope {Object} * Optional. * The scope ("this") within which the handler will be executed. * If not specified, the scope will be set to the <code>Event</code> instance. */ this.notify = function (args, e, scope) { e = e || new EventData(); scope = scope || this; var returnValue; for (var i = 0; i < handlers.length && !(e.isPropagationStopped() || e.isImmediatePropagationStopped()); i++) { returnValue = handlers[i].call(scope, e, args); } return returnValue; }; } function EventHandler() { var handlers = []; this.subscribe = function (event, handler) { handlers.push({ event: event, handler: handler }); event.subscribe(handler); return this; // allow chaining }; this.unsubscribe = function (event, handler) { var i = handlers.length; while (i--) { if (handlers[i].event === event && handlers[i].handler === handler) { handlers.splice(i, 1); event.unsubscribe(handler); return; } } return this; // allow chaining }; this.unsubscribeAll = function () { var i = handlers.length; while (i--) { handlers[i].event.unsubscribe(handlers[i].handler); } handlers = []; return this; // allow chaining } } /*** * A structure containing a range of cells. * @class Range * @constructor * @param fromRow {Integer} Starting row. * @param fromCell {Integer} Starting cell. * @param toRow {Integer} Optional. Ending row. Defaults to <code>fromRow</code>. * @param toCell {Integer} Optional. Ending cell. Defaults to <code>fromCell</code>. */ function Range(fromRow, fromCell, toRow, toCell) { if (toRow === undefined && toCell === undefined) { toRow = fromRow; toCell = fromCell; } /*** * @property fromRow * @type {Integer} */ this.fromRow = Math.min(fromRow, toRow); /*** * @property fromCell * @type {Integer} */ this.fromCell = Math.min(fromCell, toCell); /*** * @property toRow * @type {Integer} */ this.toRow = Math.max(fromRow, toRow); /*** * @property toCell * @type {Integer} */ this.toCell = Math.max(fromCell, toCell); /*** * Returns whether a range represents a single row. * @method isSingleRow * @return {Boolean} */ this.isSingleRow = function () { return this.fromRow == this.toRow; }; /*** * Returns whether a range represents a single cell. * @method isSingleCell * @return {Boolean} */ this.isSingleCell = function () { return this.fromRow == this.toRow && this.fromCell == this.toCell; }; /*** * Returns whether a range contains a given cell. * @method contains * @param row {Integer} * @param cell {Integer} * @return {Boolean} */ this.contains = function (row, cell) { return row >= this.fromRow && row <= this.toRow && cell >= this.fromCell && cell <= this.toCell; }; /*** * Returns a readable representation of a range. * @method toString * @return {String} */ this.toString = function () { if (this.isSingleCell()) { return "(" + this.fromRow + ":" + this.fromCell + ")"; } else { return "(" + this.fromRow + ":" + this.fromCell + " - " + this.toRow + ":" + this.toCell + ")"; } } } /*** * A base class that all special / non-data rows (like Group and GroupTotals) derive from. * @class NonDataItem * @constructor */ function NonDataItem() { this.__nonDataRow = true; } /*** * Information about a group of rows. * @class Group * @extends Slick.NonDataItem * @constructor */ function Group() { this.__group = true; /** * Grouping level, starting with 0. * @property level * @type {Number} */ this.level = 0; /*** * Number of rows in the group. * @property count * @type {Integer} */ this.count = 0; /*** * Grouping value. * @property value * @type {Object} */ this.value = null; /*** * Formatted display value of the group. * @property title * @type {String} */ this.title = null; /*** * Whether a group is collapsed. * @property collapsed * @type {Boolean} */ this.collapsed = false; /*** * GroupTotals, if any. * @property totals * @type {GroupTotals} */ this.totals = null; /** * Rows that are part of the group. * @property rows * @type {Array} */ this.rows = []; /** * Sub-groups that are part of the group. * @property groups * @type {Array} */ this.groups = null; /** * A unique key used to identify the group. This key can be used in calls to DataView * collapseGroup() or expandGroup(). * @property groupingKey * @type {Object} */ this.groupingKey = null; } Group.prototype = new NonDataItem(); /*** * Compares two Group instances. * @method equals * @return {Boolean} * @param group {Group} Group instance to compare to. */ Group.prototype.equals = function (group) { return this.value === group.value && this.count === group.count && this.collapsed === group.collapsed && this.title === group.title; }; /*** * Information about group totals. * An instance of GroupTotals will be created for each totals row and passed to the aggregators * so that they can store arbitrary data in it. That data can later be accessed by group totals * formatters during the display. * @class GroupTotals * @extends Slick.NonDataItem * @constructor */ function GroupTotals() { this.__groupTotals = true; /*** * Parent Group. * @param group * @type {Group} */ this.group = null; /*** * Whether the totals have been fully initialized / calculated. * Will be set to false for lazy-calculated group totals. * @param initialized * @type {Boolean} */ this.initialized = false; } GroupTotals.prototype = new NonDataItem(); /*** * A locking helper to track the active edit controller and ensure that only a single controller * can be active at a time. This prevents a whole class of state and validation synchronization * issues. An edit controller (such as SlickGrid) can query if an active edit is in progress * and attempt a commit or cancel before proceeding. * @class EditorLock * @constructor */ function EditorLock() { var activeEditController = null; /*** * Returns true if a specified edit controller is active (has the edit lock). * If the parameter is not specified, returns true if any edit controller is active. * @method isActive * @param editController {EditController} * @return {Boolean} */ this.isActive = function (editController) { return (editController ? activeEditController === editController : activeEditController !== null); }; /*** * Sets the specified edit controller as the active edit controller (acquire edit lock). * If another edit controller is already active, and exception will be thrown. * @method activate * @param editController {EditController} edit controller acquiring the lock */ this.activate = function (editController) { if (editController === activeEditController) { // already activated? return; } if (activeEditController !== null) { throw "SlickGrid.EditorLock.activate: an editController is still active, can't activate another editController"; } if (!editController.commitCurrentEdit) { throw "SlickGrid.EditorLock.activate: editController must implement .commitCurrentEdit()"; } if (!editController.cancelCurrentEdit) { throw "SlickGrid.EditorLock.activate: editController must implement .cancelCurrentEdit()"; } activeEditController = editController; }; /*** * Unsets the specified edit controller as the active edit controller (release edit lock). * If the specified edit controller is not the active one, an exception will be thrown. * @method deactivate * @param editController {EditController} edit controller releasing the lock */ this.deactivate = function (editController) { if (activeEditController !== editController) { throw "SlickGrid.EditorLock.deactivate: specified editController is not the currently active one"; } activeEditController = null; }; /*** * Attempts to commit the current edit by calling "commitCurrentEdit" method on the active edit * controller and returns whether the commit attempt was successful (commit may fail due to validation * errors, etc.). Edit controller's "commitCurrentEdit" must return true if the commit has succeeded * and false otherwise. If no edit controller is active, returns true. * @method commitCurrentEdit * @return {Boolean} */ this.commitCurrentEdit = function () { return (activeEditController ? activeEditController.commitCurrentEdit() : true); }; /*** * Attempts to cancel the current edit by calling "cancelCurrentEdit" method on the active edit * controller and returns whether the edit was successfully cancelled. If no edit controller is * active, returns true. * @method cancelCurrentEdit * @return {Boolean} */ this.cancelCurrentEdit = function cancelCurrentEdit() { return (activeEditController ? activeEditController.cancelCurrentEdit() : true); }; } /** * * @param {Array} treeColumns Array com levels of columns * @returns {{hasDepth: 'hasDepth', getTreeColumns: 'getTreeColumns', extractColumns: 'extractColumns', getDepth: 'getDepth', getColumnsInDepth: 'getColumnsInDepth', getColumnsInGroup: 'getColumnsInGroup', visibleColumns: 'visibleColumns', filter: 'filter', reOrder: reOrder}} * @constructor */ function TreeColumns(treeColumns) { var columnsById = {}; function init() { mapToId(treeColumns); } function mapToId(columns) { columns .forEach(function (column) { columnsById[column.id] = column; if (column.columns) mapToId(column.columns); }); } function filter(node, condition) { return node.filter(function (column) { var valid = condition.call(column); if (valid && column.columns) column.columns = filter(column.columns, condition); return valid && (!column.columns || column.columns.length); }); } function sort(columns, grid) { columns .sort(function (a, b) { var indexA = getOrDefault(grid.getColumnIndex(a.id)), indexB = getOrDefault(grid.getColumnIndex(b.id)); return indexA - indexB; }) .forEach(function (column) { if (column.columns) sort(column.columns, grid); }); } function getOrDefault(value) { return typeof value === 'undefined' ? -1 : value; } function getDepth(node) { if (node.length) for (var i in node) return getDepth(node[i]); else if (node.columns) return 1 + getDepth(node.columns); else return 1; } function getColumnsInDepth(node, depth, current) { var columns = []; current = current || 0; if (depth == current) { if (node.length) node.forEach(function(n) { if (n.columns) n.extractColumns = function() { return extractColumns(n); }; }); return node; } else for (var i in node) if (node[i].columns) { columns = columns.concat(getColumnsInDepth(node[i].columns, depth, current + 1)); } return columns; } function extractColumns(node) { var result = []; if (node.hasOwnProperty('length')) { for (var i = 0; i < node.length; i++) result = result.concat(extractColumns(node[i])); } else { if (node.hasOwnProperty('columns')) result = result.concat(extractColumns(node.columns)); else return node; } return result; } function cloneTreeColumns() { return $.extend(true, [], treeColumns); } init(); this.hasDepth = function () { for (var i in treeColumns) if (treeColumns[i].hasOwnProperty('columns')) return true; return false; }; this.getTreeColumns = function () { return treeColumns; }; this.extractColumns = function () { return this.hasDepth()? extractColumns(treeColumns): treeColumns; }; this.getDepth = function () { return getDepth(treeColumns); }; this.getColumnsInDepth = function (depth) { return getColumnsInDepth(treeColumns, depth); }; this.getColumnsInGroup = function (groups) { return extractColumns(groups); }; this.visibleColumns = function () { return filter(cloneTreeColumns(), function () { return this.visible; }); }; this.filter = function (condition) { return filter(cloneTreeColumns(), condition); }; this.reOrder = function (grid) { return sort(treeColumns, grid); }; this.getById = function (id) { return columnsById[id]; } this.getInIds = function (ids) { return ids.map(function (id) { return columnsById[id]; }); } } })(jQuery);
{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "Incident number": 71820028, "Date": "7\/1\/2007", "Time": "02:18 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7001 N 43RD ST #5", "Location": [ 43.144909, -87.965720 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.965719603150504, 43.144909396070091 ] } }, { "type": "Feature", "properties": { "Incident number": 71820073, "Date": "7\/1\/2007", "Time": "10:30 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4722 N TEUTONIA AV", "Location": [ 43.102543, -87.945519 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.94551865582207, 43.102542803630179 ] } }, { "type": "Feature", "properties": { "Incident number": 71830015, "Date": "7\/1\/2007", "Time": "11:55 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4945 N 39TH ST", "Location": [ 43.106861, -87.961571 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.961571080053773, 43.106860906154616 ] } }, { "type": "Feature", "properties": { "Incident number": 71820081, "Date": "7\/1\/2007", "Time": "11:03 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7115 W SILVER SPRING DR #1", "Location": [ 43.119247, -87.999929 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.99992879853319, 43.119246997216656 ] } }, { "type": "Feature", "properties": { "Incident number": 71820136, "Date": "7\/1\/2007", "Time": "04:40 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5135 N 106TH ST", "Location": [ 43.110999, -88.044593 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.044592571354215, 43.110998528997676 ] } }, { "type": "Feature", "properties": { "Incident number": 71820026, "Date": "7\/1\/2007", "Time": "02:17 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3501 N 6TH ST", "Location": [ 43.083238, -87.919072 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.919072245344694, 43.083237966868069 ] } }, { "type": "Feature", "properties": { "Incident number": 71820040, "Date": "7\/1\/2007", "Time": "03:40 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3351 N 8TH ST", "Location": [ 43.080031, -87.921220 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.921219580933496, 43.080030838190318 ] } }, { "type": "Feature", "properties": { "Incident number": 71820096, "Date": "7\/1\/2007", "Time": "11:43 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "220 E HADLEY ST", "Location": [ 43.069358, -87.908733 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.908733, 43.069357507646046 ] } }, { "type": "Feature", "properties": { "Incident number": 71830001, "Date": "7\/1\/2007", "Time": "11:26 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1209 W KEEFE AV", "Location": [ 43.081628, -87.926463 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.926462696087498, 43.081628481245438 ] } }, { "type": "Feature", "properties": { "Incident number": 71820017, "Date": "7\/1\/2007", "Time": "12:04 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3125 N 25TH ST", "Location": [ 43.075827, -87.944791 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.944791099255355, 43.075826863725545 ] } }, { "type": "Feature", "properties": { "Incident number": 71820030, "Date": "7\/1\/2007", "Time": "02:48 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2526 W LEGION ST #UPPER", "Location": [ 43.009307, -87.945984 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.945983832361946, 43.009306500432693 ] } }, { "type": "Feature", "properties": { "Incident number": 71820193, "Date": "7\/1\/2007", "Time": "10:48 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "6824 W APPLETON AV #7", "Location": [ 43.082213, -87.997756 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.997755700502211, 43.082213331957924 ] } }, { "type": "Feature", "properties": { "Incident number": 71820029, "Date": "7\/1\/2007", "Time": "02:09 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DISORDERLY CONDUCT", "Address": "725 W LAPHAM BL #24", "Location": [ 43.014036, -87.920593 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92059348458389, 43.014035849605904 ] } }, { "type": "Feature", "properties": { "Incident number": 71820036, "Date": "7\/1\/2007", "Time": "02:02 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1818 S 10TH ST #UPR", "Location": [ 43.010511, -87.924117 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92411668495032, 43.010510982514859 ] } }, { "type": "Feature", "properties": { "Incident number": 71820037, "Date": "7\/1\/2007", "Time": "02:34 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "510 W ORCHARD ST", "Location": [ 43.016057, -87.917283 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.917283, 43.016056500432704 ] } }, { "type": "Feature", "properties": { "Incident number": 71820082, "Date": "7\/1\/2007", "Time": "10:33 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2441 S 18TH ST", "Location": [ 43.000300, -87.935609 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.935609088146862, 43.000299670552266 ] } }, { "type": "Feature", "properties": { "Incident number": 71820023, "Date": "7\/1\/2007", "Time": "12:53 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2628 N 20TH ST", "Location": [ 43.066619, -87.937494 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.937493875209412, 43.066619245628722 ] } }, { "type": "Feature", "properties": { "Incident number": 72120029, "Date": "7\/31\/2007", "Time": "02:36 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2614 W PORT SUNLIGHT WA", "Location": [ 43.097621, -87.946164 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.946164450458781, 43.097621467684107 ] } }, { "type": "Feature", "properties": { "Incident number": 72120196, "Date": "7\/31\/2007", "Time": "05:18 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "1812 W CONGRESS ST", "Location": [ 43.096886, -87.933500 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 2, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.933500329447725, 43.096886453257376 ] } }, { "type": "Feature", "properties": { "Incident number": 72120236, "Date": "7\/31\/2007", "Time": "09:57 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "4136 N GREEN BAY AV #1", "Location": [ 43.092420, -87.924433 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.924433298055476, 43.09241987705574 ] } }, { "type": "Feature", "properties": { "Incident number": 72110020, "Date": "7\/30\/2007", "Time": "12:38 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "1932 W HAMPTON AV", "Location": [ 43.104439, -87.935161 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 8, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.935161499999978, 43.104439486005965 ] } }, { "type": "Feature", "properties": { "Incident number": 72110034, "Date": "7\/30\/2007", "Time": "02:02 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5770 N 41ST ST", "Location": [ 43.123014, -87.963344 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.963343886317915, 43.123014220093488 ] } }, { "type": "Feature", "properties": { "Incident number": 72110242, "Date": "7\/30\/2007", "Time": "07:14 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7140 N 48TH ST", "Location": [ 43.147656, -87.972284 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.972284390213048, 43.147655633360273 ] } }, { "type": "Feature", "properties": { "Incident number": 72110271, "Date": "7\/30\/2007", "Time": "11:23 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6827 N DARIEN ST #1", "Location": [ 43.141853, -87.956351 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.956350847056768, 43.141852687172175 ] } }, { "type": "Feature", "properties": { "Incident number": 72100044, "Date": "7\/29\/2007", "Time": "05:18 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4735 W LUSCHER AV", "Location": [ 43.105505, -87.972782 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.972781999423091, 43.105504506780669 ] } }, { "type": "Feature", "properties": { "Incident number": 72100104, "Date": "7\/29\/2007", "Time": "12:04 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5442 N 20TH ST", "Location": [ 43.116245, -87.936482 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 1, "e_clusterK4": 1, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.936482328034103, 43.116245245628697 ] } }, { "type": "Feature", "properties": { "Incident number": 72110001, "Date": "7\/29\/2007", "Time": "11:25 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3820 W GREEN TREE RD #2", "Location": [ 43.141317, -87.958832 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.958832184361597, 43.141317312115042 ] } }, { "type": "Feature", "properties": { "Incident number": 72110005, "Date": "7\/29\/2007", "Time": "09:50 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "PURSE SNATCHING", "Address": "5770 N 41ST ST", "Location": [ 43.123014, -87.963344 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.963343886317915, 43.123014220093488 ] } }, { "type": "Feature", "properties": { "Incident number": 72070074, "Date": "7\/26\/2007", "Time": "07:41 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7373 N TEUTONIA AV", "Location": [ 43.151928, -87.957885 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.957884841421617, 43.151927647786991 ] } }, { "type": "Feature", "properties": { "Incident number": 72060015, "Date": "7\/25\/2007", "Time": "01:11 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3636 W GOOD HOPE RD #5", "Location": [ 43.148644, -87.957481 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.957481143083797, 43.148643504327843 ] } }, { "type": "Feature", "properties": { "Incident number": 72060017, "Date": "7\/25\/2007", "Time": "01:23 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4564 N 26TH ST", "Location": [ 43.100375, -87.945585 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.945585099342267, 43.100375374689825 ] } }, { "type": "Feature", "properties": { "Incident number": 72060038, "Date": "7\/25\/2007", "Time": "04:41 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5264-A N 34TH ST", "Location": [ 43.113330, -87.955134 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.955134393531267, 43.113329664723857 ] } }, { "type": "Feature", "properties": { "Incident number": 72060047, "Date": "7\/25\/2007", "Time": "07:04 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3916 W FAIRMOUNT AV", "Location": [ 43.108284, -87.962110 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.962110051070468, 43.108284456575603 ] } }, { "type": "Feature", "properties": { "Incident number": 72050107, "Date": "7\/24\/2007", "Time": "11:42 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4909 N 20TH ST", "Location": [ 43.106760, -87.936958 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.936958113682081, 43.106760199001684 ] } }, { "type": "Feature", "properties": { "Incident number": 72050245, "Date": "7\/24\/2007", "Time": "09:48 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3000 W ORIOLE DR", "Location": [ 43.123772, -87.950044 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.95004363918865, 43.123772460470754 ] } }, { "type": "Feature", "properties": { "Incident number": 72040040, "Date": "7\/23\/2007", "Time": "03:26 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7007-B N 42ND ST", "Location": [ 43.145097, -87.964420 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.964420383340766, 43.145096661384628 ] } }, { "type": "Feature", "properties": { "Incident number": 72030035, "Date": "7\/22\/2007", "Time": "03:16 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6050 N 40TH ST #LOWER", "Location": [ 43.127775, -87.962396 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.962396356887552, 43.127775303912536 ] } }, { "type": "Feature", "properties": { "Incident number": 72030041, "Date": "7\/22\/2007", "Time": "03:39 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4140 N 24TH PL", "Location": [ 43.092486, -87.943406 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 2, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.943405879104532, 43.092486220093491 ] } }, { "type": "Feature", "properties": { "Incident number": 72030043, "Date": "7\/22\/2007", "Time": "04:11 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5550 N 27TH ST #7", "Location": [ 43.118198, -87.946215 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.946215352992397, 43.118197994171616 ] } }, { "type": "Feature", "properties": { "Incident number": 72020038, "Date": "7\/21\/2007", "Time": "03:45 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "6864 N DARIEN ST #1", "Location": [ 43.142692, -87.956732 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.956732178971194, 43.142692431670277 ] } }, { "type": "Feature", "properties": { "Incident number": 72020142, "Date": "7\/21\/2007", "Time": "03:56 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4023 N 24TH PL", "Location": [ 43.090254, -87.943520 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 2, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.943519653644032, 43.09025377990649 ] } }, { "type": "Feature", "properties": { "Incident number": 72020160, "Date": "7\/21\/2007", "Time": "05:22 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4260 N 25TH ST", "Location": [ 43.094079, -87.944534 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.944534404639782, 43.09407896863641 ] } }, { "type": "Feature", "properties": { "Incident number": 72010026, "Date": "7\/20\/2007", "Time": "04:21 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4965 N HOPKINS ST", "Location": [ 43.107754, -87.961519 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.961518676214126, 43.107753940100572 ] } }, { "type": "Feature", "properties": { "Incident number": 72000250, "Date": "7\/19\/2007", "Time": "10:46 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER LARCENY", "Address": "5208 N TEUTONIA AV", "Location": [ 43.112142, -87.949942 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.949942495095229, 43.112142314184325 ] } }, { "type": "Feature", "properties": { "Incident number": 71990057, "Date": "7\/18\/2007", "Time": "07:59 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5500 N TEUTONIA AV", "Location": [ 43.117347, -87.950316 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.95031553621105, 43.117346682209025 ] } }, { "type": "Feature", "properties": { "Incident number": 71990180, "Date": "7\/18\/2007", "Time": "05:10 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4909 N 39TH ST #1", "Location": [ 43.106537, -87.961561 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.961561254179898, 43.106536652316592 ] } }, { "type": "Feature", "properties": { "Incident number": 71990240, "Date": "7\/18\/2007", "Time": "10:28 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6025 N 35TH ST", "Location": [ 43.127137, -87.956150 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.95614957703836, 43.127137424923546 ] } }, { "type": "Feature", "properties": { "Incident number": 71980104, "Date": "7\/17\/2007", "Time": "02:11 PM", "Police District": 7, "Offense 1": "TRESPASSING", "Offense 2": "SIMPLE ASSAULT", "Address": "4875 N 42ND ST", "Location": [ 43.106266, -87.965080 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.965079588146864, 43.106265701915866 ] } }, { "type": "Feature", "properties": { "Incident number": 71970147, "Date": "7\/16\/2007", "Time": "04:01 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4777 N 30TH ST", "Location": [ 43.104195, -87.950418 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 1, "e_clusterK4": 1, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.95041811036387, 43.104195167638075 ] } }, { "type": "Feature", "properties": { "Incident number": 71970155, "Date": "7\/16\/2007", "Time": "06:07 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5137 N 42ND ST", "Location": [ 43.110648, -87.965042 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.965041617577228, 43.110647947544578 ] } }, { "type": "Feature", "properties": { "Incident number": 71970189, "Date": "7\/16\/2007", "Time": "08:02 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4105 N 20TH ST", "Location": [ 43.091658, -87.936991 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.936990650325811, 43.091657779906512 ] } }, { "type": "Feature", "properties": { "Incident number": 71970201, "Date": "7\/16\/2007", "Time": "09:23 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6152 N 35TH ST #5", "Location": [ 43.129495, -87.955985 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.955985414594437, 43.129494859282161 ] } }, { "type": "Feature", "properties": { "Incident number": 71960097, "Date": "7\/15\/2007", "Time": "01:36 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4301 W FAIRMOUNT AV", "Location": [ 43.108194, -87.966636 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.966636270074886, 43.108193729925134 ] } }, { "type": "Feature", "properties": { "Incident number": 71960148, "Date": "7\/15\/2007", "Time": "05:20 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5028 N 38TH ST", "Location": [ 43.108937, -87.960144 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.960144386317921, 43.108937077990646 ] } }, { "type": "Feature", "properties": { "Incident number": 71960200, "Date": "7\/15\/2007", "Time": "10:55 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4930 N 53RD ST", "Location": [ 43.107210, -87.978772 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.97877235356934, 43.107209664723882 ] } }, { "type": "Feature", "properties": { "Incident number": 71950016, "Date": "7\/14\/2007", "Time": "12:38 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5479 N 35TH ST", "Location": [ 43.117273, -87.956302 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.956301643112454, 43.117273173466465 ] } }, { "type": "Feature", "properties": { "Incident number": 71950124, "Date": "7\/14\/2007", "Time": "01:24 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3501 W MOTHER DANIELS WA #103", "Location": [ 43.106304, -87.956602 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.956601828954945, 43.106304301209285 ] } }, { "type": "Feature", "properties": { "Incident number": 71940005, "Date": "7\/13\/2007", "Time": "12:30 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5104 N 47TH ST", "Location": [ 43.110053, -87.971322 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.971322386317922, 43.110053329447744 ] } }, { "type": "Feature", "properties": { "Incident number": 71940013, "Date": "7\/13\/2007", "Time": "12:33 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7105 N TEUTONIA AV #105", "Location": [ 43.146662, -87.956336 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.956335910237001, 43.146661840960284 ] } }, { "type": "Feature", "properties": { "Incident number": 71950001, "Date": "7\/13\/2007", "Time": "11:39 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4020 W HAMPTON AV", "Location": [ 43.104655, -87.963403 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.963403332361949, 43.104655486005974 ] } }, { "type": "Feature", "properties": { "Incident number": 71950046, "Date": "7\/13\/2007", "Time": "11:44 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5260 N 36TH ST", "Location": [ 43.113257, -87.957566 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.957565886317923, 43.113256994171621 ] } }, { "type": "Feature", "properties": { "Incident number": 71930183, "Date": "7\/12\/2007", "Time": "08:19 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "4035 N 15TH ST", "Location": [ 43.090300, -87.929522 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.929521624790567, 43.090299754371301 ] } }, { "type": "Feature", "properties": { "Incident number": 71920050, "Date": "7\/11\/2007", "Time": "07:17 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5239 N 35TH ST", "Location": [ 43.112647, -87.956428 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.956428120895467, 43.112646754371298 ] } }, { "type": "Feature", "properties": { "Incident number": 71910006, "Date": "7\/10\/2007", "Time": "12:10 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3815 W GOOD HOPE RD #5", "Location": [ 43.148421, -87.959624 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.959623751457102, 43.148420531738978 ] } }, { "type": "Feature", "properties": { "Incident number": 71910210, "Date": "7\/10\/2007", "Time": "07:15 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4476 N 29TH ST", "Location": [ 43.098784, -87.949126 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.949125649896985, 43.098783552071239 ] } }, { "type": "Feature", "properties": { "Incident number": 71890014, "Date": "7\/8\/2007", "Time": "01:17 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4292 N 27TH ST #2", "Location": [ 43.094763, -87.946814 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.946813893531271, 43.094763136274452 ] } }, { "type": "Feature", "properties": { "Incident number": 71870003, "Date": "7\/6\/2007", "Time": "12:14 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5139 N 47TH ST", "Location": [ 43.110720, -87.971382 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.971381599255352, 43.110719779906503 ] } }, { "type": "Feature", "properties": { "Incident number": 71870142, "Date": "7\/6\/2007", "Time": "01:43 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4074 N 24TH ST", "Location": [ 43.091388, -87.941896 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 2, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.941896430174992, 43.091387800998319 ] } }, { "type": "Feature", "properties": { "Incident number": 71860215, "Date": "7\/5\/2007", "Time": "06:06 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5319 N 39TH ST", "Location": [ 43.114258, -87.961239 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.961238599255353, 43.114258173466453 ] } }, { "type": "Feature", "properties": { "Incident number": 71860266, "Date": "7\/5\/2007", "Time": "10:49 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3425 W SILVER SPRING DR", "Location": [ 43.119080, -87.955892 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.955892276992316, 43.119079513994045 ] } }, { "type": "Feature", "properties": { "Incident number": 71850043, "Date": "7\/4\/2007", "Time": "04:26 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6914 N 43RD ST", "Location": [ 43.143687, -87.965512 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.965512089495093, 43.143687159511593 ] } }, { "type": "Feature", "properties": { "Incident number": 71850057, "Date": "7\/4\/2007", "Time": "06:47 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "3507 W KILEY AV #1", "Location": [ 43.144855, -87.955850 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.95584960268512, 43.144855031721171 ] } }, { "type": "Feature", "properties": { "Incident number": 71840190, "Date": "7\/3\/2007", "Time": "11:54 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "4630 N 29TH ST", "Location": [ 43.101602, -87.949072 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.949072353569321, 43.101602329447758 ] } }, { "type": "Feature", "properties": { "Incident number": 71840229, "Date": "7\/3\/2007", "Time": "10:34 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2004 W ROOSEVELT DR", "Location": [ 43.097829, -87.937243 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 8, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.937243462999646, 43.097829038871041 ] } }, { "type": "Feature", "properties": { "Incident number": 71820028, "Date": "7\/1\/2007", "Time": "02:18 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7001 N 43RD ST #5", "Location": [ 43.144909, -87.965720 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.965719603150504, 43.144909396070091 ] } }, { "type": "Feature", "properties": { "Incident number": 71820073, "Date": "7\/1\/2007", "Time": "10:30 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4722 N TEUTONIA AV", "Location": [ 43.102543, -87.945519 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.94551865582207, 43.102542803630179 ] } }, { "type": "Feature", "properties": { "Incident number": 71830015, "Date": "7\/1\/2007", "Time": "11:55 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4945 N 39TH ST", "Location": [ 43.106861, -87.961571 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.961571080053773, 43.106860906154616 ] } }, { "type": "Feature", "properties": { "Incident number": 72120041, "Date": "7\/31\/2007", "Time": "04:09 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8200 W VILLARD AV", "Location": [ 43.112266, -88.013371 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.013371499999977, 43.11226550432783 ] } }, { "type": "Feature", "properties": { "Incident number": 72120176, "Date": "7\/31\/2007", "Time": "03:25 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4559 N 68TH ST", "Location": [ 43.100336, -87.996908 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.99690765364403, 43.100335645017033 ] } }, { "type": "Feature", "properties": { "Incident number": 72110050, "Date": "7\/30\/2007", "Time": "04:31 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9331 W SILVER SPRING DR #8", "Location": [ 43.119406, -88.029261 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.029260832361942, 43.119405546742627 ] } }, { "type": "Feature", "properties": { "Incident number": 72110264, "Date": "7\/30\/2007", "Time": "10:17 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4446 N 76TH ST", "Location": [ 43.098308, -88.006945 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.006944926279857, 43.098307910352595 ] } }, { "type": "Feature", "properties": { "Incident number": 72100008, "Date": "7\/29\/2007", "Time": "12:25 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5833 N 65TH ST", "Location": [ 43.123760, -87.992279 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.992279186392636, 43.123760276992328 ] } }, { "type": "Feature", "properties": { "Incident number": 72100164, "Date": "7\/29\/2007", "Time": "05:33 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5047 N 67TH ST", "Location": [ 43.109416, -87.994898 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.994898164752541, 43.109415670552266 ] } }, { "type": "Feature", "properties": { "Incident number": 72090036, "Date": "7\/28\/2007", "Time": "03:00 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4164 N 49TH ST", "Location": [ 43.093115, -87.974565 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.974564937388337, 43.093114994171628 ] } }, { "type": "Feature", "properties": { "Incident number": 72080001, "Date": "7\/26\/2007", "Time": "09:49 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4233 N 60TH ST", "Location": [ 43.094358, -87.986961 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.9869611392173, 43.094358167638063 ] } }, { "type": "Feature", "properties": { "Incident number": 72060023, "Date": "7\/25\/2007", "Time": "02:06 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4225 N 73RD ST", "Location": [ 43.094168, -88.003072 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.003071573720149, 43.094167994171613 ] } }, { "type": "Feature", "properties": { "Incident number": 72060044, "Date": "7\/25\/2007", "Time": "06:03 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6352 N 84TH ST #4", "Location": [ 43.133425, -88.015532 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.0155324001677, 43.133425103525887 ] } }, { "type": "Feature", "properties": { "Incident number": 72060143, "Date": "7\/25\/2007", "Time": "03:33 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "6432 W HAMPTON AV", "Location": [ 43.104941, -87.992379 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.992379220093483, 43.104940500432704 ] } }, { "type": "Feature", "properties": { "Incident number": 72040056, "Date": "7\/23\/2007", "Time": "06:50 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7308 W CAPITOL DR", "Location": [ 43.090022, -88.003292 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.0032915, 43.090022460470763 ] } }, { "type": "Feature", "properties": { "Incident number": 72040229, "Date": "7\/23\/2007", "Time": "08:12 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6929 W SILVER SPRING DR", "Location": [ 43.119285, -87.998310 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.998310167638053, 43.119284524525632 ] } }, { "type": "Feature", "properties": { "Incident number": 72040248, "Date": "7\/23\/2007", "Time": "09:15 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8810 W SILVER SPRING DR #2", "Location": [ 43.119632, -88.022413 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.022413058283803, 43.119632460470754 ] } }, { "type": "Feature", "properties": { "Incident number": 72030003, "Date": "7\/22\/2007", "Time": "12:09 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5768 N 92ND ST", "Location": [ 43.122761, -88.027024 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.027024360782676, 43.122761077990646 ] } }, { "type": "Feature", "properties": { "Incident number": 72030121, "Date": "7\/22\/2007", "Time": "01:00 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8200 W VILLARD AV", "Location": [ 43.112266, -88.013371 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.013371499999977, 43.11226550432783 ] } }, { "type": "Feature", "properties": { "Incident number": 72020043, "Date": "7\/21\/2007", "Time": "04:42 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6306 N 84TH ST", "Location": [ 43.132546, -88.015555 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.015554835247457, 43.132546446015375 ] } }, { "type": "Feature", "properties": { "Incident number": 72020197, "Date": "7\/21\/2007", "Time": "09:48 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7317 W BECKETT AV", "Location": [ 43.090833, -88.003357 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.00335749988443, 43.090832777396344 ] } }, { "type": "Feature", "properties": { "Incident number": 72020204, "Date": "7\/21\/2007", "Time": "09:48 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7317 W BECKETT AV", "Location": [ 43.090833, -88.003357 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.00335749988443, 43.090832777396344 ] } }, { "type": "Feature", "properties": { "Incident number": 71990022, "Date": "7\/18\/2007", "Time": "02:42 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7158 W FOND DU LAC AV", "Location": [ 43.109252, -88.000634 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.000633623376956, 43.109251561515123 ] } }, { "type": "Feature", "properties": { "Incident number": 71990140, "Date": "7\/18\/2007", "Time": "02:47 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "6826 W CONGRESS ST", "Location": [ 43.097251, -87.997833 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.997833167638049, 43.097251471579249 ] } }, { "type": "Feature", "properties": { "Incident number": 71990148, "Date": "7\/18\/2007", "Time": "03:28 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4109 N 48TH ST", "Location": [ 43.091911, -87.973490 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.973489632003961, 43.091910586733249 ] } }, { "type": "Feature", "properties": { "Incident number": 71980186, "Date": "7\/17\/2007", "Time": "09:13 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5856 N 69TH ST #LOWER", "Location": [ 43.124444, -87.997152 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.997152386317921, 43.124444413266794 ] } }, { "type": "Feature", "properties": { "Incident number": 71990009, "Date": "7\/17\/2007", "Time": "11:14 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5852 N 76TH ST", "Location": [ 43.124136, -88.005835 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.00583515276422, 43.124136039965173 ] } }, { "type": "Feature", "properties": { "Incident number": 71960026, "Date": "7\/15\/2007", "Time": "02:23 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7319 W BECKETT AV", "Location": [ 43.090740, -88.003280 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.003279507097801, 43.090739770182999 ] } }, { "type": "Feature", "properties": { "Incident number": 71950052, "Date": "7\/14\/2007", "Time": "03:32 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5157 N 61ST ST", "Location": [ 43.111089, -87.987471 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.987471132003961, 43.11108877990651 ] } }, { "type": "Feature", "properties": { "Incident number": 71940015, "Date": "7\/13\/2007", "Time": "12:42 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5501 N 76TH ST #11", "Location": [ 43.117768, -88.006159 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.006159154220938, 43.117767974464776 ] } }, { "type": "Feature", "properties": { "Incident number": 71940205, "Date": "7\/13\/2007", "Time": "11:24 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8946 W LYNX AV #25", "Location": [ 43.129852, -88.023726 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.02372584328846, 43.129852090186652 ] } }, { "type": "Feature", "properties": { "Incident number": 71930159, "Date": "7\/12\/2007", "Time": "06:40 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6929 W SILVER SPRING DR", "Location": [ 43.119285, -87.998310 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.998310167638053, 43.119284524525632 ] } }, { "type": "Feature", "properties": { "Incident number": 71930197, "Date": "7\/12\/2007", "Time": "09:59 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4607 N 68TH ST", "Location": [ 43.101117, -87.996891 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.996891124790579, 43.101117115182632 ] } }, { "type": "Feature", "properties": { "Incident number": 71920203, "Date": "7\/11\/2007", "Time": "09:42 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7600 W BOBOLINK AV", "Location": [ 43.125080, -88.006132 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.006132444179357, 43.125079915054314 ] } }, { "type": "Feature", "properties": { "Incident number": 71910193, "Date": "7\/10\/2007", "Time": "05:31 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7300 W CAPITOL DR", "Location": [ 43.090071, -88.003104 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.003104246795786, 43.090071246795816 ] } }, { "type": "Feature", "properties": { "Incident number": 71890026, "Date": "7\/8\/2007", "Time": "02:44 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "6518 W HAMPTON AV", "Location": [ 43.104950, -87.993261 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.993260968636392, 43.104949500432681 ] } }, { "type": "Feature", "properties": { "Incident number": 71890201, "Date": "7\/8\/2007", "Time": "10:36 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8814 W CARMEN AV", "Location": [ 43.123480, -88.022574 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.02257441909515, 43.123479504327833 ] } }, { "type": "Feature", "properties": { "Incident number": 71880032, "Date": "7\/7\/2007", "Time": "03:12 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5050 N 74TH ST", "Location": [ 43.109775, -88.004514 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.004513846355991, 43.109775 ] } }, { "type": "Feature", "properties": { "Incident number": 71880115, "Date": "7\/7\/2007", "Time": "01:18 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5730 N 91ST ST", "Location": [ 43.122113, -88.025685 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.025684875209421, 43.12211299417163 ] } }, { "type": "Feature", "properties": { "Incident number": 71880148, "Date": "7\/7\/2007", "Time": "03:02 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9326 W SHERIDAN AV #3", "Location": [ 43.118513, -88.029284 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.029283583819009, 43.118513453257378 ] } }, { "type": "Feature", "properties": { "Incident number": 71880158, "Date": "7\/7\/2007", "Time": "04:26 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8228 W BENDER AV #2", "Location": [ 43.132324, -88.013952 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.013952, 43.132323518754568 ] } }, { "type": "Feature", "properties": { "Incident number": 71880212, "Date": "7\/7\/2007", "Time": "10:54 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6333 N 77TH ST", "Location": [ 43.132967, -88.007301 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.007300599255359, 43.132966910352593 ] } }, { "type": "Feature", "properties": { "Incident number": 71870031, "Date": "7\/6\/2007", "Time": "03:22 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5612 N 95TH ST", "Location": [ 43.119811, -88.030806 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.030806041550861, 43.119810940722068 ] } }, { "type": "Feature", "properties": { "Incident number": 71870034, "Date": "7\/6\/2007", "Time": "03:30 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4335 N 48TH ST", "Location": [ 43.096078, -87.973391 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.973390548184923, 43.09607834110453 ] } }, { "type": "Feature", "properties": { "Incident number": 71860189, "Date": "7\/5\/2007", "Time": "04:05 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4079 N 68TH ST", "Location": [ 43.091596, -87.997069 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.997068595360219, 43.091595922009361 ] } }, { "type": "Feature", "properties": { "Incident number": 71860236, "Date": "7\/5\/2007", "Time": "07:56 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6929 W SILVER SPRING DR", "Location": [ 43.119285, -87.998310 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.998310167638053, 43.119284524525632 ] } }, { "type": "Feature", "properties": { "Incident number": 71840219, "Date": "7\/3\/2007", "Time": "10:16 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9420 W BECKETT AV UNIT A", "Location": [ 43.117874, -88.030713 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.030713249495207, 43.117873877892464 ] } }, { "type": "Feature", "properties": { "Incident number": 71820081, "Date": "7\/1\/2007", "Time": "11:03 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7115 W SILVER SPRING DR #1", "Location": [ 43.119247, -87.999929 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.99992879853319, 43.119246997216656 ] } }, { "type": "Feature", "properties": { "Incident number": 72120227, "Date": "7\/31\/2007", "Time": "08:55 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2900 N HOLTON ST", "Location": [ 43.071186, -87.905224 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.905223585966695, 43.071185778464034 ] } }, { "type": "Feature", "properties": { "Incident number": 72060019, "Date": "7\/25\/2007", "Time": "01:44 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1213 N WATER ST", "Location": [ 43.046126, -87.911200 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.911199573720154, 43.046126025535223 ] } }, { "type": "Feature", "properties": { "Incident number": 72040209, "Date": "7\/23\/2007", "Time": "06:50 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1962 N PROSPECT AV", "Location": [ 43.055747, -87.887990 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.887990115269545, 43.055746943909256 ] } }, { "type": "Feature", "properties": { "Incident number": 72000006, "Date": "7\/19\/2007", "Time": "12:07 AM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "2970 N FREDERICK AV", "Location": [ 43.072523, -87.884174 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.8841744334932, 43.072522994171635 ] } }, { "type": "Feature", "properties": { "Incident number": 71980209, "Date": "7\/17\/2007", "Time": "11:28 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2900 N BOOTH ST", "Location": [ 43.071221, -87.903954 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.90395427813435, 43.071221466432533 ] } }, { "type": "Feature", "properties": { "Incident number": 71960125, "Date": "7\/15\/2007", "Time": "03:58 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2626 N FRATNEY ST", "Location": [ 43.066322, -87.901593 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.901592875209431, 43.066322413266789 ] } }, { "type": "Feature", "properties": { "Incident number": 71950037, "Date": "7\/14\/2007", "Time": "04:18 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1320 N VAN BUREN ST #7", "Location": [ 43.047386, -87.903474 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.903474436811422, 43.047386381903181 ] } }, { "type": "Feature", "properties": { "Incident number": 71940019, "Date": "7\/12\/2007", "Time": "10:07 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "2828 N CRAMER ST", "Location": [ 43.070157, -87.886674 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.886674400744653, 43.070156580904843 ] } }, { "type": "Feature", "properties": { "Incident number": 71920148, "Date": "7\/11\/2007", "Time": "04:54 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "2656 N BOOTH ST", "Location": [ 43.066934, -87.904066 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.904065926279856, 43.066934245628723 ] } }, { "type": "Feature", "properties": { "Incident number": 71910020, "Date": "7\/10\/2007", "Time": "01:58 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2430 N MURRAY AV", "Location": [ 43.061993, -87.885556 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.885555955133299, 43.061992826533569 ] } }, { "type": "Feature", "properties": { "Incident number": 71910029, "Date": "7\/10\/2007", "Time": "01:36 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "820 E HAMILTON ST", "Location": [ 43.054462, -87.901542 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.901542, 43.054462486005967 ] } }, { "type": "Feature", "properties": { "Incident number": 71900014, "Date": "7\/9\/2007", "Time": "01:00 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2323 N LAKE DR", "Location": [ 43.060852, -87.879769 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.879768851867595, 43.060852442219065 ] } }, { "type": "Feature", "properties": { "Incident number": 71850030, "Date": "7\/4\/2007", "Time": "03:15 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2645 N FARWELL AV", "Location": [ 43.066999, -87.881848 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.881848106468709, 43.066998586733227 ] } }, { "type": "Feature", "properties": { "Incident number": 71850077, "Date": "7\/4\/2007", "Time": "09:53 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2057 N CAMBRIDGE AV", "Location": [ 43.058368, -87.892009 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.892009103727418, 43.058367838190314 ] } }, { "type": "Feature", "properties": { "Incident number": 71830226, "Date": "7\/2\/2007", "Time": "10:21 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "507 E CHAMBERS ST", "Location": [ 43.072915, -87.904872 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.904872167638061, 43.072914532315892 ] } }, { "type": "Feature", "properties": { "Incident number": 72120178, "Date": "7\/31\/2007", "Time": "04:47 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3004 W WELLS ST", "Location": [ 43.040327, -87.952190 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.952190306826708, 43.040326533758183 ] } }, { "type": "Feature", "properties": { "Incident number": 72120235, "Date": "7\/31\/2007", "Time": "09:33 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1601 W HIGHLAND AV", "Location": [ 43.044258, -87.933033 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 5, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.933033251457104, 43.04425847013696 ] } }, { "type": "Feature", "properties": { "Incident number": 72110012, "Date": "7\/30\/2007", "Time": "12:43 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "920 N 28TH ST #107", "Location": [ 43.042210, -87.948954 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.948953510098903, 43.04220973688615 ] } }, { "type": "Feature", "properties": { "Incident number": 72110046, "Date": "7\/30\/2007", "Time": "03:21 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3128 W WISCONSIN AV #417", "Location": [ 43.038796, -87.953993 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.953993419499184, 43.038796471579225 ] } }, { "type": "Feature", "properties": { "Incident number": 72100084, "Date": "7\/29\/2007", "Time": "10:37 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "823 N 24TH ST #203", "Location": [ 43.040861, -87.942962 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.942961548184911, 43.040860994171616 ] } }, { "type": "Feature", "properties": { "Incident number": 72100132, "Date": "7\/29\/2007", "Time": "02:56 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2522 W WELLS ST #208", "Location": [ 43.040303, -87.945723 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.945722832361952, 43.040303453257387 ] } }, { "type": "Feature", "properties": { "Incident number": 72110019, "Date": "7\/29\/2007", "Time": "10:51 PM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "139 E KILBOURN AV", "Location": [ 43.042065, -87.910785 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.910785221190011, 43.04206494362078 ] } }, { "type": "Feature", "properties": { "Incident number": 72090151, "Date": "7\/28\/2007", "Time": "03:20 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3002 W CHERRY ST #UPPER", "Location": [ 43.050107, -87.951321 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.95132058090482, 43.050107482110825 ] } }, { "type": "Feature", "properties": { "Incident number": 72070137, "Date": "7\/26\/2007", "Time": "12:30 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2803 W CHERRY ST", "Location": [ 43.049992, -87.948963 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.948963210671536, 43.049991575701455 ] } }, { "type": "Feature", "properties": { "Incident number": 72030010, "Date": "7\/25\/2007", "Time": "05:27 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER LARCENY", "Address": "1145 N CALLAHAN PL", "Location": [ 43.045105, -87.932336 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 5, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.932336011277329, 43.045105168465525 ] } }, { "type": "Feature", "properties": { "Incident number": 72060235, "Date": "7\/25\/2007", "Time": "10:03 PM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "606 N JAMES LOVELL ST", "Location": [ 43.037558, -87.920354 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 3, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.920354293416636, 43.03755791598919 ] } }, { "type": "Feature", "properties": { "Incident number": 72040039, "Date": "7\/23\/2007", "Time": "03:00 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "331 N 31ST ST #UPR", "Location": [ 43.034373, -87.952869 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.952868558716489, 43.034373 ] } }, { "type": "Feature", "properties": { "Incident number": 72010145, "Date": "7\/22\/2007", "Time": "08:30 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2610 W STATE ST", "Location": [ 43.043264, -87.946574 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.946573835276126, 43.043264474897477 ] } }, { "type": "Feature", "properties": { "Incident number": 72030081, "Date": "7\/22\/2007", "Time": "08:05 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "1150 N 20TH ST #512", "Location": [ 43.045091, -87.937795 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.937795415748269, 43.045091245628726 ] } }, { "type": "Feature", "properties": { "Incident number": 72020022, "Date": "7\/21\/2007", "Time": "02:58 AM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "1100 N OLD WORLD THIRD ST", "Location": [ 43.044338, -87.914403 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.91440293892704, 43.044338121028261 ] } }, { "type": "Feature", "properties": { "Incident number": 72000154, "Date": "7\/19\/2007", "Time": "03:54 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DISORDERLY CONDUCT", "Address": "2501 W KILBOURN AV", "Location": [ 43.041575, -87.945008 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.945008167866078, 43.041574821244907 ] } }, { "type": "Feature", "properties": { "Incident number": 71990119, "Date": "7\/18\/2007", "Time": "12:52 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2850 W HIGHLAND BL #307", "Location": [ 43.044640, -87.950313 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.950313, 43.044640478792608 ] } }, { "type": "Feature", "properties": { "Incident number": 71980022, "Date": "7\/17\/2007", "Time": "03:12 AM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "833 W WISCONSIN AV", "Location": [ 43.038649, -87.922949 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 1, "e_clusterK6": 5, "g_clusterK6": 3, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.922949238415342, 43.038649480668532 ] } }, { "type": "Feature", "properties": { "Incident number": 71980197, "Date": "7\/17\/2007", "Time": "10:33 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "431 N 30TH ST", "Location": [ 43.035524, -87.951569 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.951569073720151, 43.035524497085817 ] } }, { "type": "Feature", "properties": { "Incident number": 71970185, "Date": "7\/16\/2007", "Time": "07:50 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "944 N 20TH ST", "Location": [ 43.042624, -87.937796 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.937795977350291, 43.042623988343252 ] } }, { "type": "Feature", "properties": { "Incident number": 71970211, "Date": "7\/16\/2007", "Time": "09:09 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2460 W JUNEAU AV", "Location": [ 43.045892, -87.944382 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.944382, 43.04589247489745 ] } }, { "type": "Feature", "properties": { "Incident number": 71960047, "Date": "7\/15\/2007", "Time": "02:52 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2702 W STATE ST", "Location": [ 43.043239, -87.947770 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.947770248542895, 43.043239486005966 ] } }, { "type": "Feature", "properties": { "Incident number": 71930177, "Date": "7\/12\/2007", "Time": "08:00 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "911 N 24TH ST #9", "Location": [ 43.041924, -87.942942 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.942941599255349, 43.041924335276114 ] } }, { "type": "Feature", "properties": { "Incident number": 71920134, "Date": "7\/11\/2007", "Time": "04:45 PM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "333 W KILBOURN AV", "Location": [ 43.041336, -87.915122 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.915121721622697, 43.041336498990383 ] } }, { "type": "Feature", "properties": { "Incident number": 71890124, "Date": "7\/8\/2007", "Time": "06:21 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3022 W MC KINLEY BL", "Location": [ 43.047356, -87.951883 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.95188308090485, 43.047356467684104 ] } }, { "type": "Feature", "properties": { "Incident number": 71890144, "Date": "7\/8\/2007", "Time": "05:25 PM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "200 N HARBOR DR", "Location": [ 43.033131, -87.899688 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 2, "e_clusterK6": 5, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 4, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.899688203318973, 43.033131354982004 ] } }, { "type": "Feature", "properties": { "Incident number": 71880087, "Date": "7\/7\/2007", "Time": "09:23 AM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "700 W STATE ST", "Location": [ 43.043007, -87.920883 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 3, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.920882800998328, 43.043007494373157 ] } }, { "type": "Feature", "properties": { "Incident number": 71880130, "Date": "7\/7\/2007", "Time": "02:37 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "950 N 13TH ST", "Location": [ 43.041845, -87.928633 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 5, "g_clusterK7": 1, "e_clusterK8": 4, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.928633151937902, 43.041844970600174 ] } }, { "type": "Feature", "properties": { "Incident number": 71860120, "Date": "7\/5\/2007", "Time": "11:24 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1900 W HIGHLAND AV", "Location": [ 43.044501, -87.936470 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.936470488317113, 43.044501448079394 ] } }, { "type": "Feature", "properties": { "Incident number": 71840008, "Date": "7\/3\/2007", "Time": "12:25 AM", "Police District": 1, "Offense 1": "SIMPLE ASSAULT", "Address": "200 N HARBOR DR", "Location": [ 43.033131, -87.899688 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 2, "e_clusterK6": 5, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 4, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.899688203318973, 43.033131354982004 ] } }, { "type": "Feature", "properties": { "Incident number": 71840223, "Date": "7\/3\/2007", "Time": "10:06 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "541 N 33RD ST", "Location": [ 43.036408, -87.955309 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.955308753076494, 43.036408337726186 ] } }, { "type": "Feature", "properties": { "Incident number": 71830034, "Date": "7\/2\/2007", "Time": "01:56 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2219 W GALENA ST", "Location": [ 43.051395, -87.940831 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.940831499999987, 43.05139547013696 ] } }, { "type": "Feature", "properties": { "Incident number": 71830202, "Date": "7\/2\/2007", "Time": "07:03 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2743 W HIGHLAND BL #110", "Location": [ 43.044437, -87.949004 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.9490035, 43.044436542847478 ] } }, { "type": "Feature", "properties": { "Incident number": 71830215, "Date": "7\/2\/2007", "Time": "01:20 PM", "Police District": 3, "Offense 1": "ALL OTHER LARCENY", "Offense 2": "SIMPLE ASSAULT", "Address": "2219 W GALENA ST", "Location": [ 43.051395, -87.940831 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.940831499999987, 43.05139547013696 ] } }, { "type": "Feature", "properties": { "Incident number": 72120151, "Date": "7\/31\/2007", "Time": "02:22 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4065 N 84TH ST", "Location": [ 43.091209, -88.017558 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.017557613682058, 43.09120875437128 ] } }, { "type": "Feature", "properties": { "Incident number": 72120244, "Date": "7\/31\/2007", "Time": "10:44 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9117 W EDGEWATER DR", "Location": [ 43.139552, -88.026002 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.02600202553522, 43.139551528420775 ] } }, { "type": "Feature", "properties": { "Incident number": 72110007, "Date": "7\/30\/2007", "Time": "12:13 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5142 N 108TH ST", "Location": [ 43.111215, -88.047096 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.047096393531291, 43.11121477990649 ] } }, { "type": "Feature", "properties": { "Incident number": 72100080, "Date": "7\/29\/2007", "Time": "09:59 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8875 W POTOMAC AV", "Location": [ 43.108975, -88.023127 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.023127226198667, 43.108974848804465 ] } }, { "type": "Feature", "properties": { "Incident number": 72110032, "Date": "7\/29\/2007", "Time": "10:36 PM", "Police District": 4, "Offense 1": "KIDNAPING", "Offense 2": "SIMPLE ASSAULT", "Address": "9025 W APPLETON AV", "Location": [ 43.111995, -88.025289 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.025289200415301, 43.111994910612381 ] } }, { "type": "Feature", "properties": { "Incident number": 72090065, "Date": "7\/28\/2007", "Time": "08:11 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3956 N 88TH ST", "Location": [ 43.089065, -88.022583 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.022582860782677, 43.089065025535234 ] } }, { "type": "Feature", "properties": { "Incident number": 72080127, "Date": "7\/27\/2007", "Time": "04:04 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7800 W APPLETON AV #G", "Location": [ 43.097255, -88.009770 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.009769666803706, 43.097254671717785 ] } }, { "type": "Feature", "properties": { "Incident number": 72060092, "Date": "7\/25\/2007", "Time": "10:39 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "9631 W CAPITOL DR", "Location": [ 43.089546, -88.033249 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.033248808045457, 43.089545753673903 ] } }, { "type": "Feature", "properties": { "Incident number": 72030103, "Date": "7\/22\/2007", "Time": "11:34 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "5172 N 108TH ST #2", "Location": [ 43.111656, -88.047105 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.04710487795073, 43.111655779906528 ] } }, { "type": "Feature", "properties": { "Incident number": 72020187, "Date": "7\/21\/2007", "Time": "08:34 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4450 N 92ND ST #A", "Location": [ 43.098128, -88.027503 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.02750339353129, 43.098128329447746 ] } }, { "type": "Feature", "properties": { "Incident number": 72000107, "Date": "7\/19\/2007", "Time": "11:45 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4409 N 91ST ST", "Location": [ 43.097267, -88.026358 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.02635803707642, 43.097266592561596 ] } }, { "type": "Feature", "properties": { "Incident number": 72000181, "Date": "7\/19\/2007", "Time": "06:00 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4803 N 90TH ST", "Location": [ 43.105130, -88.024706 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.024706181750872, 43.105130126401122 ] } }, { "type": "Feature", "properties": { "Incident number": 71990137, "Date": "7\/18\/2007", "Time": "02:32 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3435 N 83RD ST", "Location": [ 43.081819, -88.016063 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.016062891770929, 43.081818927809067 ] } }, { "type": "Feature", "properties": { "Incident number": 71980045, "Date": "7\/17\/2007", "Time": "07:57 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5163 N 107TH ST #1", "Location": [ 43.111437, -88.045829 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.045828847365215, 43.111437091515363 ] } }, { "type": "Feature", "properties": { "Incident number": 71930053, "Date": "7\/12\/2007", "Time": "09:03 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9021 W APPLETON AV", "Location": [ 43.111884, -88.025225 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.025224544599311, 43.111884317150604 ] } }, { "type": "Feature", "properties": { "Incident number": 71910018, "Date": "7\/10\/2007", "Time": "01:25 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "8501 W GRANTOSA DR #5", "Location": [ 43.104374, -88.018446 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.018446498009439, 43.104374036355289 ] } }, { "type": "Feature", "properties": { "Incident number": 71910030, "Date": "7\/10\/2007", "Time": "03:44 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "8329 W CONGRESS ST #5", "Location": [ 43.097038, -88.017003 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.017002580904844, 43.097037539529246 ] } }, { "type": "Feature", "properties": { "Incident number": 71860216, "Date": "7\/5\/2007", "Time": "06:26 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "10631 W HAMPTON AV", "Location": [ 43.104779, -88.045223 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.04522308050079, 43.104778535634118 ] } }, { "type": "Feature", "properties": { "Incident number": 71850042, "Date": "7\/4\/2007", "Time": "04:13 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "4445 N HOUSTON AV", "Location": [ 43.098506, -88.013820 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.013819543741491, 43.098505733539284 ] } }, { "type": "Feature", "properties": { "Incident number": 71820136, "Date": "7\/1\/2007", "Time": "04:40 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5135 N 106TH ST", "Location": [ 43.110999, -88.044593 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.044592571354215, 43.110998528997676 ] } }, { "type": "Feature", "properties": { "Incident number": 72120034, "Date": "7\/31\/2007", "Time": "02:24 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3318 N 16TH ST", "Location": [ 43.079481, -87.931004 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.931004419066511, 43.079480549541252 ] } }, { "type": "Feature", "properties": { "Incident number": 72120177, "Date": "7\/31\/2007", "Time": "04:13 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2857 N 13TH ST", "Location": [ 43.070715, -87.927579 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927579139217301, 43.070714528449429 ] } }, { "type": "Feature", "properties": { "Incident number": 72120231, "Date": "7\/31\/2007", "Time": "09:06 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1312 W COTTAGE PL", "Location": [ 43.072727, -87.927943 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927942913266776, 43.072727489324208 ] } }, { "type": "Feature", "properties": { "Incident number": 72120240, "Date": "7\/31\/2007", "Time": "10:16 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2634 N RICHARDS ST", "Location": [ 43.066317, -87.907691 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.907691131237257, 43.066317148645055 ] } }, { "type": "Feature", "properties": { "Incident number": 72120241, "Date": "7\/31\/2007", "Time": "10:51 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1402 W CHAMBERS ST", "Location": [ 43.073270, -87.929275 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.929274732624734, 43.073270216468522 ] } }, { "type": "Feature", "properties": { "Incident number": 72130006, "Date": "7\/31\/2007", "Time": "11:33 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "2014 W KEEFE AV", "Location": [ 43.082392, -87.937673 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.937673223007678, 43.082391518754555 ] } }, { "type": "Feature", "properties": { "Incident number": 72110033, "Date": "7\/30\/2007", "Time": "12:11 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2546 N 7TH ST", "Location": [ 43.064955, -87.919875 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.919874882422775, 43.064954580904846 ] } }, { "type": "Feature", "properties": { "Incident number": 72110236, "Date": "7\/30\/2007", "Time": "07:52 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3163 N 2ND ST", "Location": [ 43.076088, -87.912629 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.91262910257359, 43.076088419095157 ] } }, { "type": "Feature", "properties": { "Incident number": 72100189, "Date": "7\/29\/2007", "Time": "08:53 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2408 W HOPKINS ST", "Location": [ 43.079871, -87.942403 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.94240320296926, 43.079871040853497 ] } }, { "type": "Feature", "properties": { "Incident number": 72100199, "Date": "7\/29\/2007", "Time": "10:29 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3350 N 9TH ST #C", "Location": [ 43.080038, -87.922325 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.922325411853123, 43.080037994171619 ] } }, { "type": "Feature", "properties": { "Incident number": 72090209, "Date": "7\/28\/2007", "Time": "10:06 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2932 N 9TH ST", "Location": [ 43.071922, -87.922484 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.922483907957997, 43.071921639188652 ] } }, { "type": "Feature", "properties": { "Incident number": 72090218, "Date": "7\/28\/2007", "Time": "10:38 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2616 N 4TH ST #4", "Location": [ 43.066188, -87.915473 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.915473426279846, 43.066187832361955 ] } }, { "type": "Feature", "properties": { "Incident number": 72090227, "Date": "7\/28\/2007", "Time": "11:19 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3450 N BOOTH ST", "Location": [ 43.081235, -87.903756 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.903756422384717, 43.081235130446089 ] } }, { "type": "Feature", "properties": { "Incident number": 72090229, "Date": "7\/28\/2007", "Time": "08:23 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1429 W ATKINSON AV #2", "Location": [ 43.086418, -87.929181 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.929181407178589, 43.086417822349965 ] } }, { "type": "Feature", "properties": { "Incident number": 72080015, "Date": "7\/27\/2007", "Time": "01:09 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1430 W ATKINSON AV #6", "Location": [ 43.086341, -87.928744 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928743671709938, 43.086340808287609 ] } }, { "type": "Feature", "properties": { "Incident number": 72080172, "Date": "7\/27\/2007", "Time": "08:50 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2129 W KEEFE AV #3", "Location": [ 43.082355, -87.939342 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.93934216763806, 43.082354536211042 ] } }, { "type": "Feature", "properties": { "Incident number": 72090015, "Date": "7\/27\/2007", "Time": "10:23 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1300 W CHAMBERS ST", "Location": [ 43.073233, -87.927588 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.92758842377377, 43.073233487899572 ] } }, { "type": "Feature", "properties": { "Incident number": 72070069, "Date": "7\/26\/2007", "Time": "08:14 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2559 N HOLTON ST", "Location": [ 43.065152, -87.905379 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.90537860646873, 43.065152276992343 ] } }, { "type": "Feature", "properties": { "Incident number": 72050203, "Date": "7\/24\/2007", "Time": "06:19 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3209 N 2ND ST", "Location": [ 43.076474, -87.912630 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.91263016085739, 43.076474360811346 ] } }, { "type": "Feature", "properties": { "Incident number": 72050221, "Date": "7\/24\/2007", "Time": "07:14 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1323 W COTTAGE PL", "Location": [ 43.072681, -87.928263 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928262696087472, 43.072680510675795 ] } }, { "type": "Feature", "properties": { "Incident number": 72030025, "Date": "7\/22\/2007", "Time": "02:16 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2414 W HOPKINS ST", "Location": [ 43.080063, -87.942702 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.942701998038103, 43.080062761324854 ] } }, { "type": "Feature", "properties": { "Incident number": 72030028, "Date": "7\/22\/2007", "Time": "02:19 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3212 N 7TH ST #LOWER", "Location": [ 43.076754, -87.919943 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.919943356887543, 43.07675396863641 ] } }, { "type": "Feature", "properties": { "Incident number": 72030136, "Date": "7\/22\/2007", "Time": "02:19 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3878 N 15TH ST", "Location": [ 43.087553, -87.929514 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.929514379104532, 43.087552994171631 ] } }, { "type": "Feature", "properties": { "Incident number": 72030215, "Date": "7\/22\/2007", "Time": "11:27 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3005 N 18TH ST", "Location": [ 43.073416, -87.935588 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.93558810257359, 43.073416005828392 ] } }, { "type": "Feature", "properties": { "Incident number": 72020135, "Date": "7\/21\/2007", "Time": "02:56 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2202 W VIENNA AV", "Location": [ 43.086095, -87.939770 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.939770055369593, 43.086095474897483 ] } }, { "type": "Feature", "properties": { "Incident number": 72020163, "Date": "7\/21\/2007", "Time": "05:11 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2241 N 5TH ST", "Location": [ 43.059608, -87.917134 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.917134094949972, 43.059608205987857 ] } }, { "type": "Feature", "properties": { "Incident number": 72020166, "Date": "7\/21\/2007", "Time": "04:09 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3358 N 6TH ST", "Location": [ 43.080101, -87.918454 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.918454375209421, 43.080101161809694 ] } }, { "type": "Feature", "properties": { "Incident number": 72010023, "Date": "7\/20\/2007", "Time": "03:07 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3842 N 13TH ST", "Location": [ 43.087553, -87.927064 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927063911853125, 43.087552994171631 ] } }, { "type": "Feature", "properties": { "Incident number": 72010118, "Date": "7\/20\/2007", "Time": "03:01 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1517 W BURLEIGH ST", "Location": [ 43.074953, -87.930352 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.930351838190305, 43.074952535634139 ] } }, { "type": "Feature", "properties": { "Incident number": 72020008, "Date": "7\/20\/2007", "Time": "11:39 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2558 N 2ND ST", "Location": [ 43.065207, -87.912514 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.912514375209412, 43.065207136274473 ] } }, { "type": "Feature", "properties": { "Incident number": 72000031, "Date": "7\/19\/2007", "Time": "04:01 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3300 N 21ST ST #A", "Location": [ 43.078805, -87.938476 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.938475911853118, 43.078805245628729 ] } }, { "type": "Feature", "properties": { "Incident number": 72000057, "Date": "7\/19\/2007", "Time": "08:18 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3294 N 10TH ST", "Location": [ 43.078662, -87.923596 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.923596382422772, 43.078662387731562 ] } }, { "type": "Feature", "properties": { "Incident number": 72000120, "Date": "7\/19\/2007", "Time": "12:35 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3414 N 15TH ST", "Location": [ 43.080453, -87.929726 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.92972644070656, 43.080452549541242 ] } }, { "type": "Feature", "properties": { "Incident number": 72000155, "Date": "7\/19\/2007", "Time": "03:44 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "2920 N 4TH ST", "Location": [ 43.071750, -87.915406 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.9154058424608, 43.07175 ] } }, { "type": "Feature", "properties": { "Incident number": 72000231, "Date": "7\/19\/2007", "Time": "09:54 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3240 N BUFFUM ST", "Location": [ 43.077563, -87.906316 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906316444601728, 43.077562575076456 ] } }, { "type": "Feature", "properties": { "Incident number": 72000236, "Date": "7\/19\/2007", "Time": "10:03 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2958 N 2ND ST #6", "Location": [ 43.072587, -87.912472 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.912472382422777, 43.072587303912506 ] } }, { "type": "Feature", "properties": { "Incident number": 71990031, "Date": "7\/18\/2007", "Time": "02:15 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3634 N PORTWASHINGTON RD", "Location": [ 43.042000, -87.906870 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.90687, 43.042 ] } }, { "type": "Feature", "properties": { "Incident number": 71990055, "Date": "7\/18\/2007", "Time": "07:43 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2430 N 2ND ST", "Location": [ 43.062796, -87.912556 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.912555849674192, 43.062795723007696 ] } }, { "type": "Feature", "properties": { "Incident number": 71980125, "Date": "7\/17\/2007", "Time": "04:30 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2710 N BUFFUM ST", "Location": [ 43.067798, -87.906503 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906502893531268, 43.067798413266793 ] } }, { "type": "Feature", "properties": { "Incident number": 71980145, "Date": "7\/17\/2007", "Time": "05:40 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3350 N 14TH ST", "Location": [ 43.080083, -87.928495 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928494911853136, 43.080082658895492 ] } }, { "type": "Feature", "properties": { "Incident number": 71990010, "Date": "7\/17\/2007", "Time": "11:27 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3254 N RICHARDS ST", "Location": [ 43.077795, -87.907585 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.907585093917916, 43.07779498251486 ] } }, { "type": "Feature", "properties": { "Incident number": 71970092, "Date": "7\/16\/2007", "Time": "12:00 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3742 N 3RD ST", "Location": [ 43.084863, -87.913622 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.913622411853126, 43.084862580904854 ] } }, { "type": "Feature", "properties": { "Incident number": 71970204, "Date": "7\/16\/2007", "Time": "10:01 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2514 N MARTIN L KING JR DR #4", "Location": [ 43.064218, -87.913992 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.913991672664508, 43.06421753103033 ] } }, { "type": "Feature", "properties": { "Incident number": 71970206, "Date": "7\/16\/2007", "Time": "10:31 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2749 N 1ST ST", "Location": [ 43.068600, -87.911010 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.911010095937115, 43.068600282820711 ] } }, { "type": "Feature", "properties": { "Incident number": 71960025, "Date": "7\/15\/2007", "Time": "02:13 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3035 N BUFFUM ST", "Location": [ 43.073677, -87.906512 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906511632003955, 43.073676586733228 ] } }, { "type": "Feature", "properties": { "Incident number": 71960099, "Date": "7\/15\/2007", "Time": "02:11 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2769 N BUFFUM ST", "Location": [ 43.069015, -87.906560 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906560073720144, 43.069014586733225 ] } }, { "type": "Feature", "properties": { "Incident number": 71960145, "Date": "7\/15\/2007", "Time": "06:15 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3338 N MARTIN L KING JR DR", "Location": [ 43.079736, -87.916666 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.916665846500209, 43.079736488487491 ] } }, { "type": "Feature", "properties": { "Incident number": 71950014, "Date": "7\/14\/2007", "Time": "12:10 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3730 N 16TH ST", "Location": [ 43.085385, -87.930812 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.930812411853125, 43.08538496863639 ] } }, { "type": "Feature", "properties": { "Incident number": 71950153, "Date": "7\/14\/2007", "Time": "04:58 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1220 W LOCUST ST", "Location": [ 43.071337, -87.927223 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927222829447729, 43.071337445467108 ] } }, { "type": "Feature", "properties": { "Incident number": 71950197, "Date": "7\/14\/2007", "Time": "10:04 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "TRESPASSING", "Address": "510 W CONCORDIA AV", "Location": [ 43.078861, -87.917252 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.91725247446476, 43.078861486005962 ] } }, { "type": "Feature", "properties": { "Incident number": 71930027, "Date": "7\/12\/2007", "Time": "06:19 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2217 N BUFFUM ST", "Location": [ 43.059533, -87.906850 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906849771192583, 43.059532662502157 ] } }, { "type": "Feature", "properties": { "Incident number": 71930184, "Date": "7\/12\/2007", "Time": "08:17 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "3242 N 3RD ST", "Location": [ 43.077212, -87.913833 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.913832896849485, 43.077212161809683 ] } }, { "type": "Feature", "properties": { "Incident number": 71920072, "Date": "7\/11\/2007", "Time": "10:24 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "2923 N 12TH ST", "Location": [ 43.071858, -87.926769 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.926768620895444, 43.071858031363604 ] } }, { "type": "Feature", "properties": { "Incident number": 71920192, "Date": "7\/11\/2007", "Time": "08:27 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "1700 W KEEFE AV", "Location": [ 43.081845, -87.932291 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.9322905, 43.081845236326807 ] } }, { "type": "Feature", "properties": { "Incident number": 71910064, "Date": "7\/10\/2007", "Time": "08:39 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3334 N HOLTON ST", "Location": [ 43.079112, -87.905065 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.905065382422777, 43.079112052455429 ] } }, { "type": "Feature", "properties": { "Incident number": 71900181, "Date": "7\/9\/2007", "Time": "04:30 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1119 W KEEFE AV", "Location": [ 43.081619, -87.925464 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.925464, 43.08161850678065 ] } }, { "type": "Feature", "properties": { "Incident number": 71890038, "Date": "7\/8\/2007", "Time": "02:58 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2006 N HOLTON ST", "Location": [ 43.056693, -87.905326 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.905325926279843, 43.056693 ] } }, { "type": "Feature", "properties": { "Incident number": 71890078, "Date": "7\/8\/2007", "Time": "10:39 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3104 N BUFFUM ST", "Location": [ 43.074882, -87.906390 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906390102525393, 43.074881763932673 ] } }, { "type": "Feature", "properties": { "Incident number": 71890107, "Date": "7\/8\/2007", "Time": "12:30 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3223 N 16TH ST", "Location": [ 43.077303, -87.931098 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.931098117577207, 43.077302528449422 ] } }, { "type": "Feature", "properties": { "Incident number": 71890149, "Date": "7\/8\/2007", "Time": "05:54 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1338 W COLUMBIA ST", "Location": [ 43.074137, -87.928631 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928631329447725, 43.074136507646038 ] } }, { "type": "Feature", "properties": { "Incident number": 71890198, "Date": "7\/8\/2007", "Time": "10:34 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3500 N PORT WASHINGTON RD", "Location": [ 43.082279, -87.917323 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.917323360782675, 43.082279077990648 ] } }, { "type": "Feature", "properties": { "Incident number": 71890204, "Date": "7\/8\/2007", "Time": "10:27 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3212 N 7TH ST", "Location": [ 43.076754, -87.919943 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.919943356887543, 43.07675396863641 ] } }, { "type": "Feature", "properties": { "Incident number": 71890207, "Date": "7\/8\/2007", "Time": "09:41 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3347 N 14TH ST #A", "Location": [ 43.079976, -87.928571 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928571066506791, 43.079976450458759 ] } }, { "type": "Feature", "properties": { "Incident number": 71900010, "Date": "7\/8\/2007", "Time": "11:48 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "1901 W ATKINSON AV", "Location": [ 43.088847, -87.934608 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.934607610623658, 43.088846627791682 ] } }, { "type": "Feature", "properties": { "Incident number": 71880010, "Date": "7\/7\/2007", "Time": "12:39 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3869 N HUMBOLDT BL #204", "Location": [ 43.087839, -87.898432 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.898431889433652, 43.087839361071147 ] } }, { "type": "Feature", "properties": { "Incident number": 71880016, "Date": "7\/7\/2007", "Time": "01:26 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2979 N MARTIN L KING JR DR", "Location": [ 43.072582, -87.914069 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.914068847758898, 43.072581712550843 ] } }, { "type": "Feature", "properties": { "Incident number": 71880058, "Date": "7\/7\/2007", "Time": "05:08 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "212 W HADLEY ST", "Location": [ 43.069400, -87.913090 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.913089555369609, 43.069399500432681 ] } }, { "type": "Feature", "properties": { "Incident number": 71880071, "Date": "7\/7\/2007", "Time": "08:58 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3921 N HUMBOLDT BL #601", "Location": [ 43.088580, -87.900123 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.900122767672826, 43.088579737174605 ] } }, { "type": "Feature", "properties": { "Incident number": 71870045, "Date": "7\/6\/2007", "Time": "05:37 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1200 E SINGER CR APT 67", "Location": [ 43.085273, -87.895101 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.895100860667128, 43.085273038865424 ] } }, { "type": "Feature", "properties": { "Incident number": 71870093, "Date": "7\/6\/2007", "Time": "11:56 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1413 W LOCUST ST", "Location": [ 43.071067, -87.929514 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.929514343629165, 43.071067438844779 ] } }, { "type": "Feature", "properties": { "Incident number": 71870119, "Date": "7\/6\/2007", "Time": "02:06 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2700 N RICHARDS ST", "Location": [ 43.067557, -87.907702 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.907702030085716, 43.067557247032674 ] } }, { "type": "Feature", "properties": { "Incident number": 71870129, "Date": "7\/6\/2007", "Time": "03:39 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3703-A N 1ST ST", "Location": [ 43.084045, -87.910978 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.910978120895464, 43.084044922009362 ] } }, { "type": "Feature", "properties": { "Incident number": 71870178, "Date": "7\/6\/2007", "Time": "08:31 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2318 W KEEFE AV #LOWER", "Location": [ 43.082461, -87.941610 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.94161022009348, 43.082460511541207 ] } }, { "type": "Feature", "properties": { "Incident number": 71860035, "Date": "7\/5\/2007", "Time": "02:12 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3901 N HUMBOLDT BL #211", "Location": [ 43.088651, -87.899294 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.899293558456691, 43.088650974724601 ] } }, { "type": "Feature", "properties": { "Incident number": 71860049, "Date": "7\/5\/2007", "Time": "04:46 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3935 N 17TH ST", "Location": [ 43.088427, -87.932109 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.932108544289761, 43.088427366639735 ] } }, { "type": "Feature", "properties": { "Incident number": 71860070, "Date": "7\/5\/2007", "Time": "07:44 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "134 E CONCORDIA AV", "Location": [ 43.078454, -87.909773 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.9097725, 43.078454474897477 ] } }, { "type": "Feature", "properties": { "Incident number": 71860219, "Date": "7\/5\/2007", "Time": "05:15 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3537 N 14TH ST", "Location": [ 43.082505, -87.928499 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928499150325791, 43.082504696087476 ] } }, { "type": "Feature", "properties": { "Incident number": 71860262, "Date": "7\/5\/2007", "Time": "11:06 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3530 N PORT WASHINGTON AV", "Location": [ 43.082729, -87.917313 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.917312889636136, 43.082729077990649 ] } }, { "type": "Feature", "properties": { "Incident number": 71850163, "Date": "7\/4\/2007", "Time": "07:49 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3426 N 13TH ST #A", "Location": [ 43.080776, -87.927233 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927232879104537, 43.080775826533575 ] } }, { "type": "Feature", "properties": { "Incident number": 71840092, "Date": "7\/3\/2007", "Time": "11:07 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3240 N BUFFUM ST", "Location": [ 43.077563, -87.906316 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.906316444601728, 43.077562575076456 ] } }, { "type": "Feature", "properties": { "Incident number": 71840137, "Date": "7\/3\/2007", "Time": "03:28 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2639 N 2ND ST", "Location": [ 43.066415, -87.912594 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.912593794225728, 43.066414584986241 ] } }, { "type": "Feature", "properties": { "Incident number": 71830035, "Date": "7\/2\/2007", "Time": "05:18 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "432 E CHAMBERS ST", "Location": [ 43.072977, -87.905421 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.905420832361941, 43.072977456575614 ] } }, { "type": "Feature", "properties": { "Incident number": 71830056, "Date": "7\/2\/2007", "Time": "09:00 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3642 N 26TH ST", "Location": [ 43.084574, -87.945774 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.94577437189119, 43.084574497085811 ] } }, { "type": "Feature", "properties": { "Incident number": 71830228, "Date": "7\/2\/2007", "Time": "10:40 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2640 N 4TH ST", "Location": [ 43.066648, -87.915463 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.91546336799604, 43.066647723007691 ] } }, { "type": "Feature", "properties": { "Incident number": 71820026, "Date": "7\/1\/2007", "Time": "02:17 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3501 N 6TH ST", "Location": [ 43.083238, -87.919072 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.919072245344694, 43.083237966868069 ] } }, { "type": "Feature", "properties": { "Incident number": 71820040, "Date": "7\/1\/2007", "Time": "03:40 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "3351 N 8TH ST", "Location": [ 43.080031, -87.921220 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.921219580933496, 43.080030838190318 ] } }, { "type": "Feature", "properties": { "Incident number": 71820096, "Date": "7\/1\/2007", "Time": "11:43 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "220 E HADLEY ST", "Location": [ 43.069358, -87.908733 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.908733, 43.069357507646046 ] } }, { "type": "Feature", "properties": { "Incident number": 71830001, "Date": "7\/1\/2007", "Time": "11:26 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1209 W KEEFE AV", "Location": [ 43.081628, -87.926463 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.926462696087498, 43.081628481245438 ] } }, { "type": "Feature", "properties": { "Incident number": 72120217, "Date": "7\/31\/2007", "Time": "07:05 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2507 W AUER AV", "Location": [ 43.076957, -87.945052 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.94505152553522, 43.076957481245472 ] } }, { "type": "Feature", "properties": { "Incident number": 72110031, "Date": "7\/30\/2007", "Time": "01:24 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4922 N 60TH ST", "Location": [ 43.107074, -87.986193 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.986193393531266, 43.107074329447755 ] } }, { "type": "Feature", "properties": { "Incident number": 72110039, "Date": "7\/30\/2007", "Time": "02:28 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4290 W FOND DU LAC AV", "Location": [ 43.082789, -87.966990 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.966990490594327, 43.082788691319855 ] } }, { "type": "Feature", "properties": { "Incident number": 72110256, "Date": "7\/30\/2007", "Time": "08:10 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2600 W CHAMBERS ST", "Location": [ 43.073431, -87.946097 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.946097081069169, 43.073431339855063 ] } }, { "type": "Feature", "properties": { "Incident number": 72100181, "Date": "7\/29\/2007", "Time": "08:09 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3050 N 48TH ST", "Location": [ 43.074558, -87.973546 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.973545926279854, 43.074557664723862 ] } }, { "type": "Feature", "properties": { "Incident number": 72090167, "Date": "7\/28\/2007", "Time": "04:59 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2901 N 21ST ST", "Location": [ 43.071542, -87.938680 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.93868009925535, 43.071542276992318 ] } }, { "type": "Feature", "properties": { "Incident number": 72080175, "Date": "7\/27\/2007", "Time": "09:15 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2700 W LOCUST ST", "Location": [ 43.071630, -87.947390 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.947389723332577, 43.071630223332576 ] } }, { "type": "Feature", "properties": { "Incident number": 72060239, "Date": "7\/25\/2007", "Time": "10:43 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2913 N 29TH ST", "Location": [ 43.071939, -87.949829 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.949828632003943, 43.071939419095173 ] } }, { "type": "Feature", "properties": { "Incident number": 72060244, "Date": "7\/25\/2007", "Time": "11:05 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2828 N 49TH ST", "Location": [ 43.070455, -87.974812 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.97481235356932, 43.070454555369615 ] } }, { "type": "Feature", "properties": { "Incident number": 72050058, "Date": "7\/24\/2007", "Time": "07:59 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4554 N 42ND ST", "Location": [ 43.100198, -87.965046 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.965046379104535, 43.100197994171623 ] } }, { "type": "Feature", "properties": { "Incident number": 72050235, "Date": "7\/24\/2007", "Time": "09:08 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3754 N 27TH ST", "Location": [ 43.085933, -87.947014 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.947014360782674, 43.085933497085819 ] } }, { "type": "Feature", "properties": { "Incident number": 72050242, "Date": "7\/24\/2007", "Time": "09:20 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3383-A N 28TH ST", "Location": [ 43.080885, -87.948452 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.948451632003952, 43.080884612268456 ] } }, { "type": "Feature", "properties": { "Incident number": 72040170, "Date": "7\/23\/2007", "Time": "02:59 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2964 N 24TH ST", "Location": [ 43.072857, -87.942314 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.942313893531278, 43.072857 ] } }, { "type": "Feature", "properties": { "Incident number": 72030020, "Date": "7\/22\/2007", "Time": "02:04 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3413 N 36TH ST", "Location": [ 43.081389, -87.958461 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 4, "e_clusterK6": 3, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 8, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.958461084251709, 43.081388884817365 ] } }, { "type": "Feature", "properties": { "Incident number": 72030037, "Date": "7\/22\/2007", "Time": "03:40 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4819 W CAPITOL DR", "Location": [ 43.089788, -87.974193 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.974192923394341, 43.089787521207406 ] } }, { "type": "Feature", "properties": { "Incident number": 72030174, "Date": "7\/22\/2007", "Time": "06:17 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3139-A N 35TH ST", "Location": [ 43.076142, -87.957340 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 8, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.957340128108783, 43.076142167638075 ] } }, { "type": "Feature", "properties": { "Incident number": 72020010, "Date": "7\/21\/2007", "Time": "01:00 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3019 N 21ST ST", "Location": [ 43.073650, -87.938661 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.938660628108792, 43.073649754371303 ] } }, { "type": "Feature", "properties": { "Incident number": 72000108, "Date": "7\/19\/2007", "Time": "11:07 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5001 W FOND DU LAC AV", "Location": [ 43.089560, -87.976042 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.976042243291431, 43.089560194818077 ] } }, { "type": "Feature", "properties": { "Incident number": 71990044, "Date": "7\/18\/2007", "Time": "06:10 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "4642 W BERNHARD PL", "Location": [ 43.080187, -87.972102 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.972101832361943, 43.080187452680455 ] } }, { "type": "Feature", "properties": { "Incident number": 71990131, "Date": "7\/18\/2007", "Time": "11:55 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "4500 W KEEFE AV", "Location": [ 43.082602, -87.969839 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.969838972301105, 43.082602465331099 ] } }, { "type": "Feature", "properties": { "Incident number": 72000001, "Date": "7\/18\/2007", "Time": "11:05 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4767 N 37TH ST", "Location": [ 43.104207, -87.959222 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.959222445094525, 43.104207052224751 ] } }, { "type": "Feature", "properties": { "Incident number": 72000004, "Date": "7\/18\/2007", "Time": "11:04 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4777 N 50TH ST", "Location": [ 43.104177, -87.975570 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.97556960646871, 43.104177251457088 ] } }, { "type": "Feature", "properties": { "Incident number": 71970043, "Date": "7\/16\/2007", "Time": "05:40 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "2847 N 45TH ST", "Location": [ 43.070688, -87.969951 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.96995107703836, 43.070688335276117 ] } }, { "type": "Feature", "properties": { "Incident number": 71960063, "Date": "7\/15\/2007", "Time": "09:40 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4310 W HOPE AV", "Location": [ 43.093495, -87.967326 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.967326344342951, 43.093495024204167 ] } }, { "type": "Feature", "properties": { "Incident number": 71960071, "Date": "7\/15\/2007", "Time": "10:49 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3754 N 25TH ST", "Location": [ 43.085915, -87.944725 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.944724897426411, 43.085915497085807 ] } }, { "type": "Feature", "properties": { "Incident number": 71960131, "Date": "7\/15\/2007", "Time": "05:17 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "LIQUOR LAW VIOLATIONS", "Address": "3238 N 35TH ST", "Location": [ 43.077887, -87.957246 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 8, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.95724586799605, 43.077887161809684 ] } }, { "type": "Feature", "properties": { "Incident number": 71950081, "Date": "7\/14\/2007", "Time": "10:22 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3144 N 34TH ST", "Location": [ 43.076213, -87.956083 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 8, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.956083437388358, 43.076212994171613 ] } }, { "type": "Feature", "properties": { "Incident number": 71950183, "Date": "7\/14\/2007", "Time": "08:14 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2877 N 23RD ST", "Location": [ 43.071335, -87.941189 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.941188632003943, 43.071335025535234 ] } }, { "type": "Feature", "properties": { "Incident number": 71940134, "Date": "7\/13\/2007", "Time": "03:39 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2956 N 24TH ST", "Location": [ 43.072614, -87.942315 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.942314889636137, 43.072614 ] } }, { "type": "Feature", "properties": { "Incident number": 71910081, "Date": "7\/10\/2007", "Time": "09:02 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4932 N 55TH ST", "Location": [ 43.107309, -87.981284 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.98128389353127, 43.107308664723895 ] } }, { "type": "Feature", "properties": { "Incident number": 71900145, "Date": "7\/9\/2007", "Time": "12:41 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4440 W OLIVE ST", "Location": [ 43.094367, -87.969290 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.969289803912503, 43.094367449362259 ] } }, { "type": "Feature", "properties": { "Incident number": 71900150, "Date": "7\/9\/2007", "Time": "12:10 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3775 N 42ND ST", "Location": [ 43.085935, -87.965408 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.965407653644007, 43.085934502914199 ] } }, { "type": "Feature", "properties": { "Incident number": 71900170, "Date": "7\/9\/2007", "Time": "03:20 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "2968 N 36TH ST", "Location": [ 43.073028, -87.958494 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.958493860782696, 43.07302783236193 ] } }, { "type": "Feature", "properties": { "Incident number": 71900258, "Date": "7\/9\/2007", "Time": "09:39 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4256 N 40TH ST", "Location": [ 43.094726, -87.962845 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.962845360782694, 43.094725994171625 ] } }, { "type": "Feature", "properties": { "Incident number": 71890053, "Date": "7\/8\/2007", "Time": "04:56 AM", "Police District": 7, "Offense 1": "KIDNAPING", "Offense 2": "SIMPLE ASSAULT", "Offense 3": "TRESPASSING", "Address": "2813 N 47TH ST", "Location": [ 43.070121, -87.972388 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.972387566506768, 43.070120612268454 ] } }, { "type": "Feature", "properties": { "Incident number": 71890011, "Date": "7\/7\/2007", "Time": "11:51 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4477 N 41ST ST", "Location": [ 43.098796, -87.963970 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.963970099255349, 43.098796005828369 ] } }, { "type": "Feature", "properties": { "Incident number": 71870117, "Date": "7\/6\/2007", "Time": "02:22 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4345 N 46TH ST", "Location": [ 43.096348, -87.970319 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.970318564692761, 43.096348394495287 ] } }, { "type": "Feature", "properties": { "Incident number": 71870194, "Date": "7\/6\/2007", "Time": "11:06 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3222 N 26TH ST", "Location": [ 43.077518, -87.945923 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.945923411853116, 43.077517994171622 ] } }, { "type": "Feature", "properties": { "Incident number": 71850130, "Date": "7\/4\/2007", "Time": "02:54 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2974 N 26TH ST", "Location": [ 43.073036, -87.945994 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.945993856887554, 43.073036413266784 ] } }, { "type": "Feature", "properties": { "Incident number": 71860002, "Date": "7\/4\/2007", "Time": "11:48 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2535 W HOPKINS ST", "Location": [ 43.081989, -87.945222 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.945222214842019, 43.081988910612402 ] } }, { "type": "Feature", "properties": { "Incident number": 71840017, "Date": "7\/3\/2007", "Time": "12:40 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2718 W BURLEIGH ST", "Location": [ 43.075256, -87.947960 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.947960474464779, 43.075256467684099 ] } }, { "type": "Feature", "properties": { "Incident number": 71830135, "Date": "7\/2\/2007", "Time": "02:36 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2955 N 45TH ST", "Location": [ 43.072804, -87.969918 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.969917606468741, 43.072803586733215 ] } }, { "type": "Feature", "properties": { "Incident number": 71830179, "Date": "7\/2\/2007", "Time": "06:14 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2863 N 23RD ST", "Location": [ 43.071002, -87.941188 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.941187573720157, 43.071002025535222 ] } }, { "type": "Feature", "properties": { "Incident number": 71830225, "Date": "7\/2\/2007", "Time": "10:28 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "4576 N 45TH ST", "Location": [ 43.100585, -87.969306 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.969305846355979, 43.100585161809683 ] } }, { "type": "Feature", "properties": { "Incident number": 71820017, "Date": "7\/1\/2007", "Time": "12:04 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3125 N 25TH ST", "Location": [ 43.075827, -87.944791 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.944791099255355, 43.075826863725545 ] } }, { "type": "Feature", "properties": { "Incident number": 72110011, "Date": "7\/30\/2007", "Time": "12:33 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1300-A S 25TH ST", "Location": [ 43.018002, -87.944943 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.944943386317917, 43.018002335276115 ] } }, { "type": "Feature", "properties": { "Incident number": 72110218, "Date": "7\/30\/2007", "Time": "05:42 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2417 W BURNHAM ST", "Location": [ 43.010325, -87.944251 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.944251112268446, 43.010324510098897 ] } }, { "type": "Feature", "properties": { "Incident number": 72100019, "Date": "7\/29\/2007", "Time": "01:25 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1024 S LAYTON BL", "Location": [ 43.020396, -87.947686 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.947686396849477, 43.020396 ] } }, { "type": "Feature", "properties": { "Incident number": 72100196, "Date": "7\/29\/2007", "Time": "09:46 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1046 S 23RD ST", "Location": [ 43.019982, -87.942175 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.942175451815075, 43.019982 ] } }, { "type": "Feature", "properties": { "Incident number": 72090021, "Date": "7\/28\/2007", "Time": "12:53 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "730 S 30TH ST", "Location": [ 43.023177, -87.951433 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.951433444601733, 43.023177335276138 ] } }, { "type": "Feature", "properties": { "Incident number": 72050023, "Date": "7\/24\/2007", "Time": "02:20 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1813 S 19TH ST", "Location": [ 43.010847, -87.936598 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.936597946044003, 43.010847398003328 ] } }, { "type": "Feature", "properties": { "Incident number": 72050036, "Date": "7\/24\/2007", "Time": "01:01 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2003 W ROGERS ST", "Location": [ 43.008417, -87.938271 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.938270779906503, 43.008416550637762 ] } }, { "type": "Feature", "properties": { "Incident number": 72020105, "Date": "7\/21\/2007", "Time": "11:04 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2419 S 28TH ST", "Location": [ 43.000831, -87.949341 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.949340599255351, 43.000830670552254 ] } }, { "type": "Feature", "properties": { "Incident number": 72020122, "Date": "7\/21\/2007", "Time": "11:44 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1973 S 28TH ST", "Location": [ 43.008795, -87.949278 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.949277537076398, 43.008795167638056 ] } }, { "type": "Feature", "properties": { "Incident number": 72020193, "Date": "7\/21\/2007", "Time": "09:11 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2310 W BURNHAM ST", "Location": [ 43.010362, -87.942781 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.942780555369609, 43.010362486005967 ] } }, { "type": "Feature", "properties": { "Incident number": 71980005, "Date": "7\/17\/2007", "Time": "12:21 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3013 W PIERCE ST", "Location": [ 43.023841, -87.951950 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 2, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.951949962808015, 43.023840539529246 ] } }, { "type": "Feature", "properties": { "Incident number": 71980212, "Date": "7\/17\/2007", "Time": "10:42 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2914 S 51ST ST", "Location": [ 42.991631, -87.977713 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.97771292627985, 42.991631161809686 ] } }, { "type": "Feature", "properties": { "Incident number": 71970089, "Date": "7\/16\/2007", "Time": "12:01 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2005 W BURNHAM ST", "Location": [ 43.010251, -87.938335 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.938334922009332, 43.01025053952926 ] } }, { "type": "Feature", "properties": { "Incident number": 71960068, "Date": "7\/15\/2007", "Time": "10:14 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3118 W PIERCE ST #25", "Location": [ 43.023802, -87.953153 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 2, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.953152792544216, 43.023802468837964 ] } }, { "type": "Feature", "properties": { "Incident number": 71960197, "Date": "7\/15\/2007", "Time": "09:49 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1815 S 37TH ST #UNIT0", "Location": [ 43.010776, -87.960388 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.960387559293423, 43.010776173466432 ] } }, { "type": "Feature", "properties": { "Incident number": 71950205, "Date": "7\/14\/2007", "Time": "11:03 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1637 S 36TH ST #B", "Location": [ 43.013426, -87.958901 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.958900915603223, 43.013426276174286 ] } }, { "type": "Feature", "properties": { "Incident number": 71930097, "Date": "7\/12\/2007", "Time": "01:15 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2439 W ROGERS ST #4", "Location": [ 43.008523, -87.944931 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.944931, 43.008522539529245 ] } }, { "type": "Feature", "properties": { "Incident number": 71920171, "Date": "7\/11\/2007", "Time": "06:37 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "LIQUOR LAW VIOLATIONS", "Address": "2113-A W MITCHELL ST", "Location": [ 43.012376, -87.940053 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.940053335276133, 43.012376488458813 ] } }, { "type": "Feature", "properties": { "Incident number": 71910011, "Date": "7\/10\/2007", "Time": "12:58 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "767 S 24TH ST #APT2", "Location": [ 43.022673, -87.943610 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.943609569825, 43.022673 ] } }, { "type": "Feature", "properties": { "Incident number": 71910021, "Date": "7\/10\/2007", "Time": "02:20 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1024 S 22ND ST", "Location": [ 43.020477, -87.940795 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.94079492627985, 43.020477 ] } }, { "type": "Feature", "properties": { "Incident number": 71910249, "Date": "7\/10\/2007", "Time": "09:32 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2029-A S 29TH ST", "Location": [ 43.007832, -87.950448 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.950447599255355, 43.007832167638071 ] } }, { "type": "Feature", "properties": { "Incident number": 71900023, "Date": "7\/9\/2007", "Time": "02:01 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2224 W MITCHELL ST", "Location": [ 43.012450, -87.941713 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.941713332361942, 43.012449511541213 ] } }, { "type": "Feature", "properties": { "Incident number": 71900025, "Date": "7\/9\/2007", "Time": "02:16 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1222 S 24TH ST", "Location": [ 43.018515, -87.943556 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.943556411853123, 43.018515 ] } }, { "type": "Feature", "properties": { "Incident number": 71900229, "Date": "7\/9\/2007", "Time": "07:01 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3529 W PIERCE ST #A", "Location": [ 43.023568, -87.958051 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 0, "e_clusterK9": 2, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.958050717260207, 43.023568029520533 ] } }, { "type": "Feature", "properties": { "Incident number": 71890176, "Date": "7\/8\/2007", "Time": "07:48 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "716 S 25TH ST", "Location": [ 43.023627, -87.944914 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.944914396849498, 43.023626832361934 ] } }, { "type": "Feature", "properties": { "Incident number": 71980183, "Date": "7\/8\/2007", "Time": "06:56 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2900 W OKLAHOMA AV", "Location": [ 42.988589, -87.949431 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.94943116290527, 42.988589488313643 ] } }, { "type": "Feature", "properties": { "Incident number": 71860230, "Date": "7\/5\/2007", "Time": "06:21 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2734 S 44TH ST #LWR", "Location": [ 42.994844, -87.968964 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.968964470136953, 42.994844413266776 ] } }, { "type": "Feature", "properties": { "Incident number": 71860241, "Date": "7\/5\/2007", "Time": "06:28 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2953 W MITCHELL ST", "Location": [ 43.012402, -87.950973 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.950972720572153, 43.012402115427335 ] } }, { "type": "Feature", "properties": { "Incident number": 71850138, "Date": "7\/4\/2007", "Time": "03:50 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2608 W LAPHAM ST #UPR", "Location": [ 43.014236, -87.946574 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.946573636132072, 43.014235992244814 ] } }, { "type": "Feature", "properties": { "Incident number": 71840216, "Date": "7\/3\/2007", "Time": "09:45 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2031 W FOREST HOME AV", "Location": [ 43.006133, -87.939158 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.939158209244781, 43.006133390761306 ] } }, { "type": "Feature", "properties": { "Incident number": 71820030, "Date": "7\/1\/2007", "Time": "02:48 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2526 W LEGION ST #UPPER", "Location": [ 43.009307, -87.945984 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.945983832361946, 43.009306500432693 ] } }, { "type": "Feature", "properties": { "Incident number": 72090127, "Date": "7\/28\/2007", "Time": "12:50 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "6204 W THURSTON AV", "Location": [ 43.121209, -87.988580 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.988579606440069, 43.121209493219318 ] } }, { "type": "Feature", "properties": { "Incident number": 72090140, "Date": "7\/28\/2007", "Time": "12:21 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9591 W ALLYN ST #10", "Location": [ 43.183532, -88.030246 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.030246064400629, 43.183531856483526 ] } }, { "type": "Feature", "properties": { "Incident number": 72090178, "Date": "7\/28\/2007", "Time": "07:34 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5700 N 62ND ST", "Location": [ 43.121380, -87.988304 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.988303772664494, 43.121379855675457 ] } }, { "type": "Feature", "properties": { "Incident number": 72060022, "Date": "7\/25\/2007", "Time": "01:17 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5419 W CALUMET RD", "Location": [ 43.155807, -87.979490 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.979490025535242, 43.155807477350308 ] } }, { "type": "Feature", "properties": { "Incident number": 72060163, "Date": "7\/25\/2007", "Time": "04:36 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9096-E N 95TH ST", "Location": [ 43.183093, -88.027332 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.027331831380977, 43.183092991949898 ] } }, { "type": "Feature", "properties": { "Incident number": 72060242, "Date": "7\/25\/2007", "Time": "10:41 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7907 N 64TH CT", "Location": [ 43.161414, -87.989604 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.989603712682268, 43.161414343024546 ] } }, { "type": "Feature", "properties": { "Incident number": 72050231, "Date": "7\/24\/2007", "Time": "08:42 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9812 W DARNEL AV", "Location": [ 43.169233, -88.035012 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.035012, 43.169232518754548 ] } }, { "type": "Feature", "properties": { "Incident number": 72050260, "Date": "7\/24\/2007", "Time": "11:03 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Offense 3": "TRESPASSING", "Address": "9609 W ALLYN ST #6", "Location": [ 43.183830, -88.031626 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.031625720381953, 43.183829684950332 ] } }, { "type": "Feature", "properties": { "Incident number": 72030166, "Date": "7\/22\/2007", "Time": "05:18 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8921 N SWAN RD", "Location": [ 43.179755, -88.024327 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.02432681594567, 43.179755321281299 ] } }, { "type": "Feature", "properties": { "Incident number": 72020150, "Date": "7\/21\/2007", "Time": "04:50 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6323 W THURSTON AV", "Location": [ 43.121190, -87.990254 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.990254444630381, 43.121190470136959 ] } }, { "type": "Feature", "properties": { "Incident number": 72000015, "Date": "7\/19\/2007", "Time": "01:08 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8750 W MILL RD #32", "Location": [ 43.134261, -88.021112 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.021112390645726, 43.13426050822298 ] } }, { "type": "Feature", "properties": { "Incident number": 72000089, "Date": "7\/19\/2007", "Time": "11:16 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8110 W BROWN DEER RD", "Location": [ 43.178016, -88.010631 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.010630990947263, 43.178016031295606 ] } }, { "type": "Feature", "properties": { "Incident number": 71990018, "Date": "7\/18\/2007", "Time": "01:49 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Offense 3": "TRESPASSING", "Address": "9001 N 75TH ST #407", "Location": [ 43.182718, -88.002626 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.00262605940901, 43.182718480985649 ] } }, { "type": "Feature", "properties": { "Incident number": 71990159, "Date": "7\/18\/2007", "Time": "04:18 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7057 N 55TH ST", "Location": [ 43.145946, -87.980560 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.980560149748896, 43.145945947544597 ] } }, { "type": "Feature", "properties": { "Incident number": 71970009, "Date": "7\/16\/2007", "Time": "12:18 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8843 N 96TH ST #5", "Location": [ 43.178594, -88.030361 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.030361341245779, 43.178594046344394 ] } }, { "type": "Feature", "properties": { "Incident number": 71970180, "Date": "7\/16\/2007", "Time": "07:41 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7919 N 60TH ST", "Location": [ 43.161724, -87.984960 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.984960221578433, 43.161724174656676 ] } }, { "type": "Feature", "properties": { "Incident number": 71970183, "Date": "7\/16\/2007", "Time": "07:19 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6715 N 53RD ST", "Location": [ 43.139720, -87.978260 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.978260088146882, 43.139719508742587 ] } }, { "type": "Feature", "properties": { "Incident number": 71960007, "Date": "7\/15\/2007", "Time": "12:16 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8808 W MILL RD #5", "Location": [ 43.134270, -88.021792 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.02179189064573, 43.134270482687761 ] } }, { "type": "Feature", "properties": { "Incident number": 71950005, "Date": "7\/13\/2007", "Time": "11:24 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5276 N 46TH ST", "Location": [ 43.113653, -87.970086 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.970085860782675, 43.113653413266775 ] } }, { "type": "Feature", "properties": { "Incident number": 71910151, "Date": "7\/10\/2007", "Time": "02:29 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7979 N 66TH ST #9", "Location": [ 43.162488, -87.991819 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.991819211927833, 43.162487832361926 ] } }, { "type": "Feature", "properties": { "Incident number": 71900069, "Date": "7\/9\/2007", "Time": "07:04 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "5400 N 51ST BL", "Location": [ 43.115699, -87.976183 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.976183114296575, 43.11569878645588 ] } }, { "type": "Feature", "properties": { "Incident number": 71900242, "Date": "7\/9\/2007", "Time": "08:12 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "8511 W FAIRY CHASM DR #7", "Location": [ 43.184234, -88.015440 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.015440423567242, 43.184233898118904 ] } }, { "type": "Feature", "properties": { "Incident number": 71880121, "Date": "7\/7\/2007", "Time": "01:23 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9041 N 75TH ST #7", "Location": [ 43.182624, -88.002608 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.00260815666941, 43.182624364180612 ] } }, { "type": "Feature", "properties": { "Incident number": 71880181, "Date": "7\/7\/2007", "Time": "06:06 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "9732 W BROWN DEER RD #6", "Location": [ 43.177965, -88.032620 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.032620021007659, 43.177965358932937 ] } }, { "type": "Feature", "properties": { "Incident number": 71850044, "Date": "7\/4\/2007", "Time": "01:48 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Offense 3": "MOTOR VEHICLE THEFT", "Address": "8463 N GRANVILLE RD", "Location": [ 43.171888, -88.039126 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.039126028766532, 43.171888465145294 ] } }, { "type": "Feature", "properties": { "Incident number": 71860028, "Date": "7\/4\/2007", "Time": "10:38 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7612 W CALUMET RD #3", "Location": [ 43.156063, -88.005573 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.005572779906515, 43.156063486005962 ] } }, { "type": "Feature", "properties": { "Incident number": 71840134, "Date": "7\/3\/2007", "Time": "02:46 PM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "6519 W BRADLEY RD #112", "Location": [ 43.163127, -87.991074 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.991074167638061, 43.163127484563674 ] } }, { "type": "Feature", "properties": { "Incident number": 72100085, "Date": "7\/29\/2007", "Time": "10:30 AM", "Police District": 7, "Offense 1": "DISORDERLY CONDUCT", "Offense 2": "SIMPLE ASSAULT", "Address": "3740 N 61ST ST", "Location": [ 43.085376, -87.988265 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.988264886317921, 43.085376387731543 ] } }, { "type": "Feature", "properties": { "Incident number": 72090030, "Date": "7\/28\/2007", "Time": "02:28 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1741 N 55TH ST", "Location": [ 43.053956, -87.982014 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.982014347942595, 43.053955687403828 ] } }, { "type": "Feature", "properties": { "Incident number": 72050018, "Date": "7\/24\/2007", "Time": "01:17 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "6712 W FAIRVIEW AV", "Location": [ 43.031445, -87.996602 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.99660225, 43.031445172280492 ] } }, { "type": "Feature", "properties": { "Incident number": 72030074, "Date": "7\/22\/2007", "Time": "08:10 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5000 W CHAMBERS ST", "Location": [ 43.073474, -87.976181 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.976181259074494, 43.073474483841593 ] } }, { "type": "Feature", "properties": { "Incident number": 72020091, "Date": "7\/21\/2007", "Time": "09:24 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3423 N 60TH ST", "Location": [ 43.081319, -87.987293 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 6, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.987292824888783, 43.081319204803407 ] } }, { "type": "Feature", "properties": { "Incident number": 72010174, "Date": "7\/20\/2007", "Time": "09:14 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3911 N 67TH ST", "Location": [ 43.088320, -87.995880 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.995880077038365, 43.088320005828393 ] } }, { "type": "Feature", "properties": { "Incident number": 72010187, "Date": "7\/20\/2007", "Time": "11:12 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "433 S 66TH ST", "Location": [ 43.027057, -87.994940 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.994940073720144, 43.027056723007689 ] } }, { "type": "Feature", "properties": { "Incident number": 71970081, "Date": "7\/16\/2007", "Time": "10:19 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2928 N 59TH ST", "Location": [ 43.072352, -87.986195 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.986194886317918, 43.072352413266771 ] } }, { "type": "Feature", "properties": { "Incident number": 71960138, "Date": "7\/15\/2007", "Time": "04:16 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5000 W CHAMBERS ST", "Location": [ 43.073474, -87.976181 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.976181259074494, 43.073474483841593 ] } }, { "type": "Feature", "properties": { "Incident number": 71970003, "Date": "7\/15\/2007", "Time": "11:11 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "645 S 68TH ST", "Location": [ 43.024996, -87.997419 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.997419117577209, 43.02499550291418 ] } }, { "type": "Feature", "properties": { "Incident number": 71950175, "Date": "7\/14\/2007", "Time": "07:17 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2949 N 67TH ST", "Location": [ 43.072037, -87.996365 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.996364626624626, 43.072037274063121 ] } }, { "type": "Feature", "properties": { "Incident number": 71950199, "Date": "7\/14\/2007", "Time": "10:25 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7240 W APPLETON AV", "Location": [ 43.087582, -88.002088 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.002088346904245, 43.087582182641704 ] } }, { "type": "Feature", "properties": { "Incident number": 71930089, "Date": "7\/12\/2007", "Time": "10:22 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2681 N 62ND ST #2", "Location": [ 43.067554, -87.989749 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.98974863142702, 43.067553809336893 ] } }, { "type": "Feature", "properties": { "Incident number": 71920059, "Date": "7\/11\/2007", "Time": "09:48 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2758 N 60TH ST", "Location": [ 43.069356, -87.987383 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.987383426279848, 43.069355832361936 ] } }, { "type": "Feature", "properties": { "Incident number": 71910202, "Date": "7\/10\/2007", "Time": "06:23 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5300 W LOCUST ST", "Location": [ 43.071702, -87.979812 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.979812223424133, 43.071702223424161 ] } }, { "type": "Feature", "properties": { "Incident number": 71900231, "Date": "7\/9\/2007", "Time": "06:58 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "7240 W APPLETON AV #5", "Location": [ 43.087582, -88.002088 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -88.002088346904245, 43.087582182641704 ] } }, { "type": "Feature", "properties": { "Incident number": 71900262, "Date": "7\/9\/2007", "Time": "09:19 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "151 S 84TH ST", "Location": [ 43.030430, -88.017368 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -88.01736804111485, 43.030429643286283 ] } }, { "type": "Feature", "properties": { "Incident number": 71900265, "Date": "7\/9\/2007", "Time": "10:52 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2200 N 52ND ST", "Location": [ 43.059324, -87.978673 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.978672785142194, 43.059323979636709 ] } }, { "type": "Feature", "properties": { "Incident number": 71890173, "Date": "7\/8\/2007", "Time": "07:01 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5000 W CHAMBERS ST", "Location": [ 43.073474, -87.976181 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.976181259074494, 43.073474483841593 ] } }, { "type": "Feature", "properties": { "Incident number": 71880039, "Date": "7\/7\/2007", "Time": "03:42 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3282 N 54TH ST", "Location": [ 43.078805, -87.980713 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.980712933493209, 43.078804994171627 ] } }, { "type": "Feature", "properties": { "Incident number": 71880059, "Date": "7\/7\/2007", "Time": "06:51 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1713 N 55TH ST", "Location": [ 43.053323, -87.982018 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.982017646286437, 43.05332276686476 ] } }, { "type": "Feature", "properties": { "Incident number": 71880063, "Date": "7\/7\/2007", "Time": "06:28 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2675 N 52ND ST #1", "Location": [ 43.067718, -87.978688 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.978688128108786, 43.067718167638084 ] } }, { "type": "Feature", "properties": { "Incident number": 71870144, "Date": "7\/6\/2007", "Time": "03:22 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "314 S 59TH ST", "Location": [ 43.028199, -87.986245 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.986245444601721, 43.028199 ] } }, { "type": "Feature", "properties": { "Incident number": 71870199, "Date": "7\/6\/2007", "Time": "11:40 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "6116 W LISBON AV #1", "Location": [ 43.069086, -87.989121 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.989120916597543, 43.069086277701054 ] } }, { "type": "Feature", "properties": { "Incident number": 71880007, "Date": "7\/6\/2007", "Time": "11:55 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "5712 W VLIET ST", "Location": [ 43.049750, -87.984367 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.984367220810697, 43.049749984719888 ] } }, { "type": "Feature", "properties": { "Incident number": 71860053, "Date": "7\/5\/2007", "Time": "05:31 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "5000 W CHAMBERS ST", "Location": [ 43.073474, -87.976181 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.976181259074494, 43.073474483841593 ] } }, { "type": "Feature", "properties": { "Incident number": 71860168, "Date": "7\/5\/2007", "Time": "03:11 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "6224 W STEVENSON ST", "Location": [ 43.032106, -87.990732 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.990731528449416, 43.032105511541204 ] } }, { "type": "Feature", "properties": { "Incident number": 71860257, "Date": "7\/5\/2007", "Time": "10:23 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2007 N 55TH ST", "Location": [ 43.056198, -87.981988 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.981987580933477, 43.056198 ] } }, { "type": "Feature", "properties": { "Incident number": 71870014, "Date": "7\/5\/2007", "Time": "04:25 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2140 N 58TH ST", "Location": [ 43.058106, -87.985253 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.985253411853137, 43.058106 ] } }, { "type": "Feature", "properties": { "Incident number": 71850093, "Date": "7\/4\/2007", "Time": "11:10 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "3877 N 68TH ST", "Location": [ 43.087924, -87.997140 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.997139599255348, 43.087923586733204 ] } }, { "type": "Feature", "properties": { "Incident number": 71850115, "Date": "7\/4\/2007", "Time": "01:59 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "6021 W STEVENSON ST", "Location": [ 43.032062, -87.988230 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.98823, 43.032062474032095 ] } }, { "type": "Feature", "properties": { "Incident number": 71850158, "Date": "7\/4\/2007", "Time": "06:50 PM", "Police District": 3, "Offense 1": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Offense 2": "SIMPLE ASSAULT", "Address": "2425 N 56TH ST", "Location": [ 43.063093, -87.983068 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.983067580933493, 43.063092586733227 ] } }, { "type": "Feature", "properties": { "Incident number": 71820193, "Date": "7\/1\/2007", "Time": "10:48 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "6824 W APPLETON AV #7", "Location": [ 43.082213, -87.997756 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 5, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.997755700502211, 43.082213331957924 ] } }, { "type": "Feature", "properties": { "Incident number": 72070141, "Date": "7\/26\/2007", "Time": "12:41 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DISORDERLY CONDUCT", "Address": "3355 S 27TH ST", "Location": [ 42.984891, -87.948438 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.948437518897833, 42.984890912488318 ] } }, { "type": "Feature", "properties": { "Incident number": 72050004, "Date": "7\/24\/2007", "Time": "12:01 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3840 S 43RD ST #23", "Location": [ 42.974533, -87.968054 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.968053911094515, 42.974532915282886 ] } }, { "type": "Feature", "properties": { "Incident number": 72050182, "Date": "7\/24\/2007", "Time": "05:13 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "7700 W MORGAN AV", "Location": [ 42.981097, -88.009551 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -88.009550832361953, 42.98109749321933 ] } }, { "type": "Feature", "properties": { "Incident number": 72030031, "Date": "7\/22\/2007", "Time": "01:55 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "7933 W HOWARD AV", "Location": [ 42.973731, -88.012713 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -88.012713441716201, 42.973730510098896 ] } }, { "type": "Feature", "properties": { "Incident number": 71990154, "Date": "7\/18\/2007", "Time": "03:56 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3825 S MINER ST #8", "Location": [ 42.975259, -87.953808 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.953808356246483, 42.975258613491775 ] } }, { "type": "Feature", "properties": { "Incident number": 71970172, "Date": "7\/16\/2007", "Time": "05:52 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3825 S MINER ST #8", "Location": [ 42.975259, -87.953808 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.953808356246483, 42.975258613491775 ] } }, { "type": "Feature", "properties": { "Incident number": 71960171, "Date": "7\/15\/2007", "Time": "07:51 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3651 S 58TH ST", "Location": [ 42.978484, -87.986677 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.986676597037388, 42.978483953067162 ] } }, { "type": "Feature", "properties": { "Incident number": 71950115, "Date": "7\/14\/2007", "Time": "01:11 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3894 S MINER ST", "Location": [ 42.974111, -87.953210 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.953209515557759, 42.974111082226784 ] } }, { "type": "Feature", "properties": { "Incident number": 71900249, "Date": "7\/9\/2007", "Time": "08:55 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "5011 W FOREST HOME AV", "Location": [ 42.983473, -87.976887 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.976887146113555, 42.983472846500185 ] } }, { "type": "Feature", "properties": { "Incident number": 71880015, "Date": "7\/7\/2007", "Time": "01:16 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3300 S 27TH ST", "Location": [ 42.984702, -87.948126 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.948125944601728, 42.984702052455425 ] } }, { "type": "Feature", "properties": { "Incident number": 71840117, "Date": "7\/3\/2007", "Time": "01:19 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DISORDERLY CONDUCT", "Address": "4035 S 51ST ST", "Location": [ 42.971329, -87.978201 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.978200508222955, 42.97132900582838 ] } }, { "type": "Feature", "properties": { "Incident number": 71830117, "Date": "7\/2\/2007", "Time": "01:23 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3808 S 48TH ST", "Location": [ 42.975677, -87.974094 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.974093830948291, 42.975677450198965 ] } }, { "type": "Feature", "properties": { "Incident number": 71900056, "Date": "7\/2\/2007", "Time": "02:07 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "2856 S 69TH ST", "Location": [ 42.992523, -87.998864 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.998864419066493, 42.992522832361935 ] } }, { "type": "Feature", "properties": { "Incident number": 72130005, "Date": "7\/31\/2007", "Time": "10:57 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1535 W GREENFIELD AV", "Location": [ 43.017003, -87.931623 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.931623106440071, 43.017002510098898 ] } }, { "type": "Feature", "properties": { "Incident number": 72130025, "Date": "7\/31\/2007", "Time": "10:24 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "922 S 11TH ST", "Location": [ 43.021620, -87.925283 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.925282948496857, 43.021619664723893 ] } }, { "type": "Feature", "properties": { "Incident number": 72100011, "Date": "7\/29\/2007", "Time": "12:23 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1103 S 15TH ST", "Location": [ 43.020019, -87.930581 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.930580555398279, 43.020019424923532 ] } }, { "type": "Feature", "properties": { "Incident number": 72080012, "Date": "7\/27\/2007", "Time": "01:13 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "921 W LAPHAM BL #320", "Location": [ 43.014082, -87.923354 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.9233535, 43.014081532315906 ] } }, { "type": "Feature", "properties": { "Incident number": 72080021, "Date": "7\/27\/2007", "Time": "02:30 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "625 W HAYES AV", "Location": [ 43.001220, -87.919691 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.919691223007675, 43.001219536211032 ] } }, { "type": "Feature", "properties": { "Incident number": 72080188, "Date": "7\/27\/2007", "Time": "10:34 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "738 W PIERCE ST", "Location": [ 43.024228, -87.920901 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.920900832361951, 43.024227504327847 ] } }, { "type": "Feature", "properties": { "Incident number": 72070039, "Date": "7\/26\/2007", "Time": "05:54 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1555 S 6TH ST #LWR", "Location": [ 43.014816, -87.918490 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.918489573720151, 43.014816450458774 ] } }, { "type": "Feature", "properties": { "Incident number": 72060006, "Date": "7\/25\/2007", "Time": "12:56 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1414 W MADISON ST", "Location": [ 43.018080, -87.929852 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.929851667638047, 43.018079529863044 ] } }, { "type": "Feature", "properties": { "Incident number": 72070013, "Date": "7\/25\/2007", "Time": "11:05 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "702 W BECHER ST", "Location": [ 43.006487, -87.920443 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.920443309740904, 43.006486514859411 ] } }, { "type": "Feature", "properties": { "Incident number": 72050007, "Date": "7\/24\/2007", "Time": "12:14 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1334 W HARRISON AV", "Location": [ 42.997643, -87.929541 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.929541136274452, 42.99764250043269 ] } }, { "type": "Feature", "properties": { "Incident number": 72050009, "Date": "7\/24\/2007", "Time": "12:19 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2470 S 9TH PL", "Location": [ 42.999722, -87.923622 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.923622470136948, 42.999722329447756 ] } }, { "type": "Feature", "properties": { "Incident number": 72050178, "Date": "7\/24\/2007", "Time": "05:12 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "1511 W LINCOLN AV", "Location": [ 43.002879, -87.931494 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.931494, 43.002879477350312 ] } }, { "type": "Feature", "properties": { "Incident number": 72040138, "Date": "7\/23\/2007", "Time": "12:35 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "327 W NATIONAL AV", "Location": [ 43.023162, -87.914824 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.91482433803148, 43.023161838031498 ] } }, { "type": "Feature", "properties": { "Incident number": 72030101, "Date": "7\/22\/2007", "Time": "11:00 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2535 S 9TH PL", "Location": [ 42.998409, -87.923729 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.923728548184911, 42.998409031363622 ] } }, { "type": "Feature", "properties": { "Incident number": 72030128, "Date": "7\/22\/2007", "Time": "12:53 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "1217 S 18TH ST", "Location": [ 43.018614, -87.935569 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.935568566506774, 43.018614167638084 ] } }, { "type": "Feature", "properties": { "Incident number": 72020029, "Date": "7\/21\/2007", "Time": "01:27 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1208 S 15TH PL #A", "Location": [ 43.018704, -87.931812 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.931812386317915, 43.018704 ] } }, { "type": "Feature", "properties": { "Incident number": 72020172, "Date": "7\/21\/2007", "Time": "06:49 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2325 S 11TH ST", "Location": [ 43.002244, -87.926069 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.926068548184929, 43.002243670552254 ] } }, { "type": "Feature", "properties": { "Incident number": 72010021, "Date": "7\/20\/2007", "Time": "02:14 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Offense 3": "DISORDERLY CONDUCT", "Address": "2025 S 15TH PL", "Location": [ 43.007735, -87.932289 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.932289000432675, 43.007734760199668 ] } }, { "type": "Feature", "properties": { "Incident number": 72000152, "Date": "7\/19\/2007", "Time": "03:52 PM", "Police District": 2, "Offense 1": "DISORDERLY CONDUCT", "Offense 2": "SIMPLE ASSAULT", "Address": "1209 S 7TH ST", "Location": [ 43.018786, -87.919791 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.919791069824996, 43.018786089647428 ] } }, { "type": "Feature", "properties": { "Incident number": 72000237, "Date": "7\/19\/2007", "Time": "10:21 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1223 W MADISON ST", "Location": [ 43.017993, -87.927111 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.927111221349776, 43.017993410278024 ] } }, { "type": "Feature", "properties": { "Incident number": 72000238, "Date": "7\/19\/2007", "Time": "09:16 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1524 S 15TH PL", "Location": [ 43.015445, -87.931853 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.931853404639782, 43.01544516180968 ] } }, { "type": "Feature", "properties": { "Incident number": 71970218, "Date": "7\/16\/2007", "Time": "09:53 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1554 S 8TH ST #444", "Location": [ 43.014994, -87.921132 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.921131770753689, 43.014993945943992 ] } }, { "type": "Feature", "properties": { "Incident number": 71950018, "Date": "7\/14\/2007", "Time": "12:04 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "921 W LAPHAM BL #320", "Location": [ 43.014082, -87.923354 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.9233535, 43.014081532315906 ] } }, { "type": "Feature", "properties": { "Incident number": 71940204, "Date": "7\/13\/2007", "Time": "11:29 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2311 S 12TH ST", "Location": [ 43.002669, -87.927291 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.927291015791909, 43.002668607824447 ] } }, { "type": "Feature", "properties": { "Incident number": 71930103, "Date": "7\/12\/2007", "Time": "02:29 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2023 S 15TH ST", "Location": [ 43.007708, -87.931048 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.931047518754539, 43.007707592561616 ] } }, { "type": "Feature", "properties": { "Incident number": 71880191, "Date": "7\/7\/2007", "Time": "09:03 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1338 W WINDLAKE AV", "Location": [ 43.003829, -87.929213 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.929212577586625, 43.003829440475457 ] } }, { "type": "Feature", "properties": { "Incident number": 71870002, "Date": "7\/6\/2007", "Time": "12:10 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "711 W HISTORIC MITCHELL ST", "Location": [ 43.012209, -87.920095 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92009479132706, 43.012208851922423 ] } }, { "type": "Feature", "properties": { "Incident number": 71870013, "Date": "7\/6\/2007", "Time": "12:07 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1019 W ORCHARD ST", "Location": [ 43.015944, -87.924275 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.924275300759604, 43.015943847186442 ] } }, { "type": "Feature", "properties": { "Incident number": 71870136, "Date": "7\/6\/2007", "Time": "03:58 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "644 S 9TH ST", "Location": [ 43.024429, -87.922424 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.922424411853129, 43.024428670552254 ] } }, { "type": "Feature", "properties": { "Incident number": 71870195, "Date": "7\/6\/2007", "Time": "10:37 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "959 W LINCOLN AV", "Location": [ 43.002827, -87.924060 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92406, 43.002827488458827 ] } }, { "type": "Feature", "properties": { "Incident number": 71850110, "Date": "7\/4\/2007", "Time": "01:35 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1835 S 12TH ST", "Location": [ 43.010226, -87.927022 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.927021573720154, 43.010226419095176 ] } }, { "type": "Feature", "properties": { "Incident number": 71850157, "Date": "7\/4\/2007", "Time": "07:11 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1813 S 8TH ST", "Location": [ 43.010689, -87.921378 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.921378281724174, 43.010689243407001 ] } }, { "type": "Feature", "properties": { "Incident number": 71840004, "Date": "7\/3\/2007", "Time": "12:07 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "922 S 21ST ST", "Location": [ 43.021215, -87.939404 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.939403907957995, 43.021215 ] } }, { "type": "Feature", "properties": { "Incident number": 71850009, "Date": "7\/3\/2007", "Time": "09:14 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2410 S 12TH ST", "Location": [ 43.000965, -87.927202 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92720243738836, 43.000965 ] } }, { "type": "Feature", "properties": { "Incident number": 71830069, "Date": "7\/2\/2007", "Time": "09:55 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2604 S 15TH ST #3", "Location": [ 42.997527, -87.931216 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.93121615149029, 42.997527139716844 ] } }, { "type": "Feature", "properties": { "Incident number": 71830205, "Date": "7\/2\/2007", "Time": "08:32 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1429 W MINERAL ST", "Location": [ 43.021126, -87.930220 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.930220332361941, 43.02112554674261 ] } }, { "type": "Feature", "properties": { "Incident number": 71820029, "Date": "7\/1\/2007", "Time": "02:09 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DISORDERLY CONDUCT", "Address": "725 W LAPHAM BL #24", "Location": [ 43.014036, -87.920593 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92059348458389, 43.014035849605904 ] } }, { "type": "Feature", "properties": { "Incident number": 71820036, "Date": "7\/1\/2007", "Time": "02:02 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1818 S 10TH ST #UPR", "Location": [ 43.010511, -87.924117 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92411668495032, 43.010510982514859 ] } }, { "type": "Feature", "properties": { "Incident number": 71820037, "Date": "7\/1\/2007", "Time": "02:34 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "510 W ORCHARD ST", "Location": [ 43.016057, -87.917283 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.917283, 43.016056500432704 ] } }, { "type": "Feature", "properties": { "Incident number": 72130001, "Date": "7\/31\/2007", "Time": "10:47 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2258-B S 17TH ST", "Location": [ 43.003413, -87.934402 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.934402437388357, 43.003412717179316 ] } }, { "type": "Feature", "properties": { "Incident number": 72080162, "Date": "7\/27\/2007", "Time": "07:22 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "3777 S 16TH ST", "Location": [ 42.975775, -87.934000 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.934000015436325, 42.975774838190318 ] } }, { "type": "Feature", "properties": { "Incident number": 72070005, "Date": "7\/26\/2007", "Time": "12:02 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "4578 S 20TH ST", "Location": [ 42.961164, -87.938840 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.938839588978254, 42.961163967314434 ] } }, { "type": "Feature", "properties": { "Incident number": 72060007, "Date": "7\/24\/2007", "Time": "11:56 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3005 W PARNELL AV #3", "Location": [ 42.941485, -87.953429 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.953429482110806, 42.941485049656819 ] } }, { "type": "Feature", "properties": { "Incident number": 72000010, "Date": "7\/19\/2007", "Time": "12:36 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1830 W GRANT ST", "Location": [ 43.004753, -87.936413 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.936412887731549, 43.004753453257386 ] } }, { "type": "Feature", "properties": { "Incident number": 71970011, "Date": "7\/16\/2007", "Time": "12:28 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2208 S 17TH ST", "Location": [ 43.004456, -87.934376 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.934376495672154, 43.004455742714526 ] } }, { "type": "Feature", "properties": { "Incident number": 71950038, "Date": "7\/14\/2007", "Time": "04:20 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "4747 S HOWELL AV #1123", "Location": [ 42.957314, -87.909819 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.909818540537927, 42.957313805441736 ] } }, { "type": "Feature", "properties": { "Incident number": 71920081, "Date": "7\/11\/2007", "Time": "11:34 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "4610 S 20TH ST #1", "Location": [ 42.960515, -87.938831 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.938830815588034, 42.960514736438427 ] } }, { "type": "Feature", "properties": { "Incident number": 71910005, "Date": "7\/10\/2007", "Time": "12:33 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "TRESPASSING", "Address": "3005 W PARNELL AV #3", "Location": [ 42.941485, -87.953429 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.953429482110806, 42.941485049656819 ] } }, { "type": "Feature", "properties": { "Incident number": 71910005, "Date": "7\/10\/2007", "Time": "12:33 AM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "3005 W PARNELL AV #3", "Location": [ 42.941485, -87.953429 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.953429482110806, 42.941485049656819 ] } }, { "type": "Feature", "properties": { "Incident number": 71890145, "Date": "7\/8\/2007", "Time": "03:59 PM", "Police District": 6, "Offense 1": "SIMPLE ASSAULT", "Address": "4400 S 27TH ST", "Location": [ 42.964587, -87.948456 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.948455983409829, 42.964587009175283 ] } }, { "type": "Feature", "properties": { "Incident number": 71880034, "Date": "7\/7\/2007", "Time": "01:36 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "4747 S HOWELL AV", "Location": [ 42.957314, -87.909819 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.909818540537927, 42.957313805441736 ] } }, { "type": "Feature", "properties": { "Incident number": 71850122, "Date": "7\/4\/2007", "Time": "02:34 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "3145 S 17TH ST", "Location": [ 42.987268, -87.934928 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.934928073720144, 42.987267586733225 ] } }, { "type": "Feature", "properties": { "Incident number": 71820082, "Date": "7\/1\/2007", "Time": "10:33 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2441 S 18TH ST", "Location": [ 43.000300, -87.935609 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.935609088146862, 43.000299670552266 ] } }, { "type": "Feature", "properties": { "Incident number": 72090053, "Date": "7\/28\/2007", "Time": "05:56 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "3338 S WHITNALL AV #1", "Location": [ 42.983791, -87.905383 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.905382582809423, 42.983791292255773 ] } }, { "type": "Feature", "properties": { "Incident number": 72060176, "Date": "7\/25\/2007", "Time": "05:52 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2811 S 14TH ST", "Location": [ 42.993496, -87.930028 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.930028008222976, 42.993496089647408 ] } }, { "type": "Feature", "properties": { "Incident number": 72040139, "Date": "7\/23\/2007", "Time": "12:44 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2864 S WENTWORTH AV", "Location": [ 42.992501, -87.883266 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.883266291130582, 42.992501321137887 ] } }, { "type": "Feature", "properties": { "Incident number": 72050005, "Date": "7\/23\/2007", "Time": "11:45 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1716 E BENNETT AV", "Location": [ 42.989129, -87.888162 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.888162069392322, 42.989129453257391 ] } }, { "type": "Feature", "properties": { "Incident number": 72020014, "Date": "7\/21\/2007", "Time": "01:34 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "245 W LINCOLN AV", "Location": [ 43.002832, -87.913584 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.913584, 43.002832487881896 ] } }, { "type": "Feature", "properties": { "Incident number": 72000119, "Date": "7\/19\/2007", "Time": "01:03 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2518 S 9TH ST", "Location": [ 42.998741, -87.922433 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.92243341185312, 42.998741329447746 ] } }, { "type": "Feature", "properties": { "Incident number": 71990035, "Date": "7\/18\/2007", "Time": "04:18 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2479 S 5TH ST #B", "Location": [ 42.999786, -87.917009 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.917008555398269, 42.999785748542912 ] } }, { "type": "Feature", "properties": { "Incident number": 71990052, "Date": "7\/18\/2007", "Time": "07:36 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2221 S KINNICKINNIC AV", "Location": [ 43.004083, -87.905238 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.905237755640684, 43.004082668042095 ] } }, { "type": "Feature", "properties": { "Incident number": 71970021, "Date": "7\/16\/2007", "Time": "02:54 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2842 S 9TH PL", "Location": [ 42.992702, -87.923775 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.923775470136945, 42.992702161809682 ] } }, { "type": "Feature", "properties": { "Incident number": 71970025, "Date": "7\/16\/2007", "Time": "03:19 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2527 S 8TH ST", "Location": [ 42.998580, -87.921299 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.921298548184936, 42.998580419095155 ] } }, { "type": "Feature", "properties": { "Incident number": 71970039, "Date": "7\/16\/2007", "Time": "04:10 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "3633 S KANSAS AV #UPPER", "Location": [ 42.978339, -87.887101 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.887100602573582, 42.978339 ] } }, { "type": "Feature", "properties": { "Incident number": 71970195, "Date": "7\/16\/2007", "Time": "09:17 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2521 S LOGAN AV", "Location": [ 42.998995, -87.896758 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.89675755929342, 42.998994974464779 ] } }, { "type": "Feature", "properties": { "Incident number": 71960035, "Date": "7\/15\/2007", "Time": "03:49 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2226 S 4TH ST", "Location": [ 43.003988, -87.915464 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.915463991777045, 43.003987742714507 ] } }, { "type": "Feature", "properties": { "Incident number": 71940040, "Date": "7\/13\/2007", "Time": "05:28 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "2345 S HOWELL AV #110", "Location": [ 43.001911, -87.904798 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.904798063188551, 43.001910586733224 ] } }, { "type": "Feature", "properties": { "Incident number": 71880122, "Date": "7\/7\/2007", "Time": "01:28 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2686 S 10TH ST", "Location": [ 42.995753, -87.924894 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.924893937388362, 42.995752994171632 ] } }, { "type": "Feature", "properties": { "Incident number": 71860062, "Date": "7\/5\/2007", "Time": "07:03 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "1802 E HOWARD AV #1", "Location": [ 42.973759, -87.886872 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.886872, 42.973759486005967 ] } }, { "type": "Feature", "properties": { "Incident number": 71840188, "Date": "7\/3\/2007", "Time": "06:36 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "3164 S GRIFFIN AV", "Location": [ 42.986808, -87.903972 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.903972462923591, 42.986807664723862 ] } }, { "type": "Feature", "properties": { "Incident number": 71840210, "Date": "7\/3\/2007", "Time": "11:19 PM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2264 S KINNICKINNIC AV", "Location": [ 43.003489, -87.904679 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.904678758786034, 43.003489379133207 ] } }, { "type": "Feature", "properties": { "Incident number": 71830023, "Date": "7\/2\/2007", "Time": "01:58 AM", "Police District": 2, "Offense 1": "SIMPLE ASSAULT", "Address": "2670 S 8TH ST", "Location": [ 42.996104, -87.921253 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.921253437388359, 42.996103742714531 ] } }, { "type": "Feature", "properties": { "Incident number": 72110270, "Date": "7\/30\/2007", "Time": "11:09 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2148 N 35TH ST APT A", "Location": [ 43.058465, -87.957522 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957522422384699, 43.05846549708582 ] } }, { "type": "Feature", "properties": { "Incident number": 72100129, "Date": "7\/29\/2007", "Time": "03:11 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2719 N 11TH ST", "Location": [ 43.068133, -87.925420 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.925420092042003, 43.068132754371284 ] } }, { "type": "Feature", "properties": { "Incident number": 72090042, "Date": "7\/28\/2007", "Time": "03:15 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1923 N 24TH ST", "Location": [ 43.055326, -87.942701 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.942700632003962, 43.055325502914201 ] } }, { "type": "Feature", "properties": { "Incident number": 72090148, "Date": "7\/28\/2007", "Time": "02:58 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2523 N 33RD ST", "Location": [ 43.064659, -87.955266 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.955266494196124, 43.064659306845286 ] } }, { "type": "Feature", "properties": { "Incident number": 72090168, "Date": "7\/28\/2007", "Time": "05:36 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1517 W CENTER ST", "Location": [ 43.067699, -87.931944 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.931944251457097, 43.067698513994038 ] } }, { "type": "Feature", "properties": { "Incident number": 72090169, "Date": "7\/28\/2007", "Time": "04:58 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1517 W CENTER ST", "Location": [ 43.067699, -87.931944 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.931944251457097, 43.067698513994038 ] } }, { "type": "Feature", "properties": { "Incident number": 72090193, "Date": "7\/28\/2007", "Time": "08:04 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1327 W CHERRY ST", "Location": [ 43.049939, -87.929504 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.929504193173301, 43.049939481245438 ] } }, { "type": "Feature", "properties": { "Incident number": 72080035, "Date": "7\/27\/2007", "Time": "04:29 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1724 N 37TH ST", "Location": [ 43.052878, -87.959933 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.95993336410092, 43.052877555369605 ] } }, { "type": "Feature", "properties": { "Incident number": 72080051, "Date": "7\/27\/2007", "Time": "10:20 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2519 N 48TH ST", "Location": [ 43.064749, -87.973759 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.973758573720147, 43.064748586733224 ] } }, { "type": "Feature", "properties": { "Incident number": 72080140, "Date": "7\/27\/2007", "Time": "08:06 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "920 W NORTH AV", "Location": [ 43.060382, -87.923263 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.923263164723878, 43.060382453257382 ] } }, { "type": "Feature", "properties": { "Incident number": 72080197, "Date": "7\/27\/2007", "Time": "10:11 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2140 N 26TH ST", "Location": [ 43.058749, -87.946211 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.946211237911072, 43.058749137704801 ] } }, { "type": "Feature", "properties": { "Incident number": 72080008, "Date": "7\/26\/2007", "Time": "10:54 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2353 N 39TH ST", "Location": [ 43.061635, -87.962337 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.96233681000362, 43.061634541967891 ] } }, { "type": "Feature", "properties": { "Incident number": 72060068, "Date": "7\/25\/2007", "Time": "08:46 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2161 N 36TH ST", "Location": [ 43.058763, -87.958781 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.958781080933477, 43.05876341909515 ] } }, { "type": "Feature", "properties": { "Incident number": 72060146, "Date": "7\/25\/2007", "Time": "01:32 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2714 N 29TH ST", "Location": [ 43.068295, -87.949803 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.949802846355951, 43.068295225921872 ] } }, { "type": "Feature", "properties": { "Incident number": 72060197, "Date": "7\/25\/2007", "Time": "07:14 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1845 N 39TH ST", "Location": [ 43.054263, -87.962422 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.962421580933494, 43.05426286372554 ] } }, { "type": "Feature", "properties": { "Incident number": 72070006, "Date": "7\/25\/2007", "Time": "11:38 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2570 N 38TH ST", "Location": [ 43.065828, -87.960993 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.960993393531268, 43.065827664723891 ] } }, { "type": "Feature", "properties": { "Incident number": 72050008, "Date": "7\/24\/2007", "Time": "12:32 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2354 N 16TH ST", "Location": [ 43.061661, -87.932563 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.932562911853125, 43.061661303912537 ] } }, { "type": "Feature", "properties": { "Incident number": 72050130, "Date": "7\/24\/2007", "Time": "01:16 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1433 W NORTH AV", "Location": [ 43.060397, -87.930944 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 2, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.93094444463037, 43.060397481245438 ] } }, { "type": "Feature", "properties": { "Incident number": 72040130, "Date": "7\/23\/2007", "Time": "11:40 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2638 N 49TH ST", "Location": [ 43.067007, -87.974896 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.974896360782694, 43.067007387731572 ] } }, { "type": "Feature", "properties": { "Incident number": 72040152, "Date": "7\/23\/2007", "Time": "02:31 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1210 W WRIGHT ST", "Location": [ 43.064011, -87.927183 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927183, 43.064010533181289 ] } }, { "type": "Feature", "properties": { "Incident number": 72030038, "Date": "7\/22\/2007", "Time": "03:09 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1720 W CLARKE ST", "Location": [ 43.065928, -87.934531 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.934531080904833, 43.065927511541183 ] } }, { "type": "Feature", "properties": { "Incident number": 72030097, "Date": "7\/22\/2007", "Time": "10:42 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1829 W WRIGHT ST", "Location": [ 43.064092, -87.936021 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.93602116763806, 43.064092499567309 ] } }, { "type": "Feature", "properties": { "Incident number": 72020017, "Date": "7\/21\/2007", "Time": "01:46 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2367 N 47TH ST", "Location": [ 43.062102, -87.972501 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.972501124790568, 43.062102251457112 ] } }, { "type": "Feature", "properties": { "Incident number": 72020047, "Date": "7\/21\/2007", "Time": "04:43 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2419 W CENTER ST", "Location": [ 43.067862, -87.942932 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.942932444630401, 43.067861510098894 ] } }, { "type": "Feature", "properties": { "Incident number": 72020048, "Date": "7\/21\/2007", "Time": "04:43 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2419 W CENTER ST", "Location": [ 43.067862, -87.942932 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.942932444630401, 43.067861510098894 ] } }, { "type": "Feature", "properties": { "Incident number": 72020119, "Date": "7\/21\/2007", "Time": "04:00 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2622 N 48TH ST", "Location": [ 43.066539, -87.973663 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.973662864100916, 43.066538832361935 ] } }, { "type": "Feature", "properties": { "Incident number": 72010006, "Date": "7\/20\/2007", "Time": "12:24 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2366 N 15TH ST", "Location": [ 43.061796, -87.931322 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.931322364100907, 43.061795580904857 ] } }, { "type": "Feature", "properties": { "Incident number": 72010138, "Date": "7\/20\/2007", "Time": "05:36 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2237 N 33RD ST", "Location": [ 43.060095, -87.955158 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.955157606468717, 43.060095335276117 ] } }, { "type": "Feature", "properties": { "Incident number": 72000013, "Date": "7\/19\/2007", "Time": "12:41 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2339 N 37TH ST", "Location": [ 43.061444, -87.959931 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.959931132003931, 43.061444025535224 ] } }, { "type": "Feature", "properties": { "Incident number": 72000025, "Date": "7\/19\/2007", "Time": "02:35 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1360 W FOND DU LAC AV", "Location": [ 43.054203, -87.929864 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.929864494142947, 43.0542027541115 ] } }, { "type": "Feature", "properties": { "Incident number": 71990023, "Date": "7\/18\/2007", "Time": "03:23 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2915 W BROWN ST", "Location": [ 43.056376, -87.950511 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.950511251457101, 43.056375539529249 ] } }, { "type": "Feature", "properties": { "Incident number": 71990203, "Date": "7\/18\/2007", "Time": "07:47 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2420 W MEDFORD AV #A", "Location": [ 43.062221, -87.942902 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.942901512464815, 43.062220779646722 ] } }, { "type": "Feature", "properties": { "Incident number": 71980121, "Date": "7\/17\/2007", "Time": "03:20 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2027 N 35TH ST", "Location": [ 43.057099, -87.957621 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957621139217324, 43.057098502914194 ] } }, { "type": "Feature", "properties": { "Incident number": 71980143, "Date": "7\/17\/2007", "Time": "04:51 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3912 W CHERRY ST", "Location": [ 43.050182, -87.962463 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.962462748542904, 43.05018246768411 ] } }, { "type": "Feature", "properties": { "Incident number": 71980158, "Date": "7\/17\/2007", "Time": "06:50 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3538 W VLIET ST", "Location": [ 43.048777, -87.958831 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.958831499999988, 43.048777493219326 ] } }, { "type": "Feature", "properties": { "Incident number": 71980201, "Date": "7\/17\/2007", "Time": "10:35 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2674 N 36TH ST", "Location": [ 43.067664, -87.958565 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.958565404639756, 43.06766438773154 ] } }, { "type": "Feature", "properties": { "Incident number": 71970198, "Date": "7\/16\/2007", "Time": "09:49 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2425 N 16TH ST", "Location": [ 43.062705, -87.932620 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.932619595360222, 43.062705251457089 ] } }, { "type": "Feature", "properties": { "Incident number": 71970199, "Date": "7\/16\/2007", "Time": "09:12 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2843 N 28TH ST", "Location": [ 43.070598, -87.948630 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.948630077038359, 43.070598335276117 ] } }, { "type": "Feature", "properties": { "Incident number": 71970207, "Date": "7\/16\/2007", "Time": "11:00 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "1843 N 12TH ST", "Location": [ 43.054739, -87.927039 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 5, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.9270391392173, 43.054739360811368 ] } }, { "type": "Feature", "properties": { "Incident number": 71970210, "Date": "7\/16\/2007", "Time": "09:58 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2608 W MEDFORD AV", "Location": [ 43.064966, -87.946340 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.946340188701228, 43.064966418835361 ] } }, { "type": "Feature", "properties": { "Incident number": 71960085, "Date": "7\/15\/2007", "Time": "11:48 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "920 N 37TH ST", "Location": [ 43.042123, -87.959605 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.959605382422765, 43.042122974464768 ] } }, { "type": "Feature", "properties": { "Incident number": 71960109, "Date": "7\/15\/2007", "Time": "03:18 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1733 N 22ND ST", "Location": [ 43.053527, -87.940208 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.94020835501162, 43.053527294477469 ] } }, { "type": "Feature", "properties": { "Incident number": 71960144, "Date": "7\/15\/2007", "Time": "05:38 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1633 N 36TH ST", "Location": [ 43.052157, -87.958829 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.958829109786947, 43.052156832361931 ] } }, { "type": "Feature", "properties": { "Incident number": 71950022, "Date": "7\/14\/2007", "Time": "01:33 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2679 N 30TH ST", "Location": [ 43.067754, -87.951122 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.951121646430678, 43.067754335276135 ] } }, { "type": "Feature", "properties": { "Incident number": 71950040, "Date": "7\/14\/2007", "Time": "05:03 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2154 N 28TH ST", "Location": [ 43.058898, -87.948652 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.948652382422765, 43.058897580904848 ] } }, { "type": "Feature", "properties": { "Incident number": 71950060, "Date": "7\/14\/2007", "Time": "10:52 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1531 N 38TH ST", "Location": [ 43.050834, -87.960799 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.960799113682057, 43.050834 ] } }, { "type": "Feature", "properties": { "Incident number": 71950080, "Date": "7\/14\/2007", "Time": "10:24 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "2644 N 9TH ST", "Location": [ 43.066782, -87.922604 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.922604411853129, 43.066781664723862 ] } }, { "type": "Feature", "properties": { "Incident number": 71940093, "Date": "7\/13\/2007", "Time": "11:16 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2418 N 45TH ST", "Location": [ 43.062894, -87.969952 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.96995235356934, 43.062893664723866 ] } }, { "type": "Feature", "properties": { "Incident number": 71940094, "Date": "7\/13\/2007", "Time": "11:53 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2766-A N 35TH ST", "Location": [ 43.069383, -87.957366 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.95736639353126, 43.069382832361953 ] } }, { "type": "Feature", "properties": { "Incident number": 71950002, "Date": "7\/13\/2007", "Time": "11:01 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "2306 N 32ND ST", "Location": [ 43.060789, -87.953952 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.953951551899053, 43.060789211560198 ] } }, { "type": "Feature", "properties": { "Incident number": 71930049, "Date": "7\/12\/2007", "Time": "09:30 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "2361 N 44TH ST", "Location": [ 43.061859, -87.968880 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.968880077038364, 43.061859167638062 ] } }, { "type": "Feature", "properties": { "Incident number": 71930100, "Date": "7\/12\/2007", "Time": "02:00 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2600A N 38TH ST", "Location": [ 43.066100, -87.960974 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.960973565548628, 43.066100249985894 ] } }, { "type": "Feature", "properties": { "Incident number": 71920144, "Date": "7\/11\/2007", "Time": "04:44 PM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1007 W HADLEY ST", "Location": [ 43.069430, -87.924213 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.924213167638058, 43.069430495672187 ] } }, { "type": "Feature", "properties": { "Incident number": 71920181, "Date": "7\/11\/2007", "Time": "05:59 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1931 N 38TH ST", "Location": [ 43.055668, -87.961200 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.961199635322174, 43.05566750291419 ] } }, { "type": "Feature", "properties": { "Incident number": 71910221, "Date": "7\/10\/2007", "Time": "07:54 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2604 N 41ST ST", "Location": [ 43.066124, -87.964492 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.964492382422776, 43.066124025535231 ] } }, { "type": "Feature", "properties": { "Incident number": 71900169, "Date": "7\/9\/2007", "Time": "01:42 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1600 N 35TH ST", "Location": [ 43.051617, -87.957596 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957595893531291, 43.051617 ] } }, { "type": "Feature", "properties": { "Incident number": 71890114, "Date": "7\/8\/2007", "Time": "01:45 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3124 W GALENA ST #UPPER", "Location": [ 43.051547, -87.953232 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.953232355654848, 43.051547189366424 ] } }, { "type": "Feature", "properties": { "Incident number": 71890116, "Date": "7\/8\/2007", "Time": "11:51 AM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2823 N 20TH ST", "Location": [ 43.070193, -87.937492 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.937491580933496, 43.070192863725538 ] } }, { "type": "Feature", "properties": { "Incident number": 71890179, "Date": "7\/8\/2007", "Time": "08:05 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2523 N 36TH ST", "Location": [ 43.064775, -87.958681 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.958681106468717, 43.064775167638061 ] } }, { "type": "Feature", "properties": { "Incident number": 71880040, "Date": "7\/7\/2007", "Time": "02:40 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1200 W WALNUT ST", "Location": [ 43.052784, -87.927140 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.927140345942405, 43.052783542703686 ] } }, { "type": "Feature", "properties": { "Incident number": 71870024, "Date": "7\/6\/2007", "Time": "03:02 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "3529 W CLARKE ST", "Location": [ 43.066036, -87.958323 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.958323, 43.066036499567318 ] } }, { "type": "Feature", "properties": { "Incident number": 71870041, "Date": "7\/6\/2007", "Time": "12:10 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2333 N 49TH ST", "Location": [ 43.061480, -87.974837 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.974836913640729, 43.061479796795332 ] } }, { "type": "Feature", "properties": { "Incident number": 71860031, "Date": "7\/5\/2007", "Time": "02:31 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1341 W CENTER ST", "Location": [ 43.067654, -87.928864 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928863868024706, 43.067654488458793 ] } }, { "type": "Feature", "properties": { "Incident number": 71860033, "Date": "7\/5\/2007", "Time": "02:54 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "928 W MEINECKE AV #2", "Location": [ 43.062173, -87.923763 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.923762832361945, 43.062172500432681 ] } }, { "type": "Feature", "properties": { "Incident number": 71860043, "Date": "7\/5\/2007", "Time": "04:16 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Offense 2": "ALL OTHER OFFENSES", "Address": "1427 W WRIGHT ST", "Location": [ 43.063997, -87.930873 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.930873335276132, 43.063997481245444 ] } }, { "type": "Feature", "properties": { "Incident number": 71860047, "Date": "7\/5\/2007", "Time": "04:58 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1922 N 37TH ST", "Location": [ 43.055495, -87.959924 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.959923970136941, 43.055495046627037 ] } }, { "type": "Feature", "properties": { "Incident number": 71860066, "Date": "7\/5\/2007", "Time": "04:16 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1427 W WRIGHT ST", "Location": [ 43.063997, -87.930873 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.930873335276132, 43.063997481245444 ] } }, { "type": "Feature", "properties": { "Incident number": 71850018, "Date": "7\/4\/2007", "Time": "01:29 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2055-A N 31ST ST", "Location": [ 43.057630, -87.952569 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.952568613682075, 43.057629502914182 ] } }, { "type": "Feature", "properties": { "Incident number": 71850034, "Date": "7\/4\/2007", "Time": "03:12 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2357 N 38TH ST", "Location": [ 43.061678, -87.961123 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.961123209497757, 43.061678067262037 ] } }, { "type": "Feature", "properties": { "Incident number": 71850038, "Date": "7\/4\/2007", "Time": "02:18 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2638 N 19TH ST", "Location": [ 43.066845, -87.936195 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.93619538631792, 43.066844664723867 ] } }, { "type": "Feature", "properties": { "Incident number": 71850046, "Date": "7\/4\/2007", "Time": "03:57 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2333 N 49TH ST", "Location": [ 43.061480, -87.974837 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.974836913640729, 43.061479796795332 ] } }, { "type": "Feature", "properties": { "Incident number": 71850154, "Date": "7\/4\/2007", "Time": "06:40 PM", "Police District": 3, "Offense 1": "DISORDERLY CONDUCT", "Offense 2": "SIMPLE ASSAULT", "Address": "1621 N 38TH ST", "Location": [ 43.050585, -87.960819 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.960819347972659, 43.050585228592155 ] } }, { "type": "Feature", "properties": { "Incident number": 71850185, "Date": "7\/4\/2007", "Time": "10:12 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2631 N 35TH ST", "Location": [ 43.066828, -87.957458 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.957458080933478, 43.06682750291418 ] } }, { "type": "Feature", "properties": { "Incident number": 71840048, "Date": "7\/3\/2007", "Time": "07:28 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2336 N 51ST ST #2", "Location": [ 43.061321, -87.977478 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.977478385467592, 43.061321320020411 ] } }, { "type": "Feature", "properties": { "Incident number": 71840205, "Date": "7\/3\/2007", "Time": "08:54 PM", "Police District": 7, "Offense 1": "SIMPLE ASSAULT", "Address": "2800 N 21ST ST", "Location": [ 43.069682, -87.938613 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.938613299772754, 43.069682488455847 ] } }, { "type": "Feature", "properties": { "Incident number": 71830077, "Date": "7\/2\/2007", "Time": "11:11 AM", "Police District": 5, "Offense 1": "SIMPLE ASSAULT", "Address": "1402 W MEINECKE AV", "Location": [ 43.062584, -87.930342 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 4, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.930341832361947, 43.062584467684118 ] } }, { "type": "Feature", "properties": { "Incident number": 71830152, "Date": "7\/2\/2007", "Time": "04:43 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2234 N 26TH ST", "Location": [ 43.060023, -87.946222 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.946222360782699, 43.060023 ] } }, { "type": "Feature", "properties": { "Incident number": 71830200, "Date": "7\/2\/2007", "Time": "07:44 PM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "1963 N 36TH ST", "Location": [ 43.056145, -87.958802 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.958801632003954, 43.056144670552271 ] } }, { "type": "Feature", "properties": { "Incident number": 71820023, "Date": "7\/1\/2007", "Time": "12:53 AM", "Police District": 3, "Offense 1": "SIMPLE ASSAULT", "Address": "2628 N 20TH ST", "Location": [ 43.066619, -87.937494 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 3, "g_clusterK6": 5, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.937493875209412, 43.066619245628722 ] } } ] }
'use strict'; // Declare app level module which depends on views, and components angular.module('sidecar', [ 'ngRoute', 'sidecar.services', // 'sidecar.version' ]). config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); $routeProvider.otherwise({redirectTo: '/services'}); }]);
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _assetloader = require('./assetloader'); var _assetloader2 = _interopRequireDefault(_assetloader); var _input = require('./input'); var _input2 = _interopRequireDefault(_input); var _loop = require('./loop'); var _loop2 = _interopRequireDefault(_loop); var _log = require('./log'); var _log2 = _interopRequireDefault(_log); var _timer = require('./timer'); var _timer2 = _interopRequireDefault(_timer); var _math = require('./math'); var _math2 = _interopRequireDefault(_math); var _types = require('./types'); var _types2 = _interopRequireDefault(_types); 'use strict'; exports['default'] = { AssetLoader: _assetloader2['default'], Input: _input2['default'], Loop: _loop2['default'], Log: _log2['default'], Timer: _timer2['default'], Math: _math2['default'], Types: _types2['default'] }; module.exports = exports['default'];
'use strict'; //Contacts service used to communicate Contacts REST endpoints angular.module('contacts').factory('Contacts', ['$resource', function ($resource) { return $resource('api/v1/contacts/:contactId', { contactId: '@_id' }, { update: { method: 'PUT' } }); } ]);
module.exports = { bundle_id: 'app', webpack_config: { entry: './assets/src/app.js', }, };
var debugpp = require('..'); var debugSystem = debugpp.debug('system', true); var debugSystemTest = debugpp.debug('system.test', true); debugSystem.log("Hello system!"); debugSystemTest.log("Hello system test!"); debugSystemTest.log("World"); debugSystemTest.warn("Hm?!"); debugSystemTest.error("Huston!!!");
{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "Incident number": 80300014, "Date": "1\/30\/2008", "Time": "02:56 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3927 W VILLARD AV", "Location": [ 43.111886, -87.962243 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.9622425, 43.111886481245442 ] } }, { "type": "Feature", "properties": { "Incident number": 80300143, "Date": "1\/30\/2008", "Time": "10:10 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2131 W ROOSEVELT DR", "Location": [ 43.096628, -87.939128 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.939127792659804, 43.096628285302202 ] } }, { "type": "Feature", "properties": { "Incident number": 80290085, "Date": "1\/29\/2008", "Time": "01:18 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "4364 N 15TH ST", "Location": [ 43.096136, -87.929239 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.929239063473133, 43.096136111328256 ] } }, { "type": "Feature", "properties": { "Incident number": 80280021, "Date": "1\/28\/2008", "Time": "04:10 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2430 W ATKINSON AV", "Location": [ 43.094219, -87.942587 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.942586674418735, 43.09421945741235 ] } }, { "type": "Feature", "properties": { "Incident number": 80270051, "Date": "1\/27\/2008", "Time": "10:57 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5173 N 35TH ST", "Location": [ 43.111405, -87.956458 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.956457650325788, 43.111404838190317 ] } }, { "type": "Feature", "properties": { "Incident number": 80270135, "Date": "1\/27\/2008", "Time": "10:19 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4375 N 27TH ST", "Location": [ 43.096879, -87.946831 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 0, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.94683063589909, 43.096878922009353 ] } }, { "type": "Feature", "properties": { "Incident number": 80260037, "Date": "1\/26\/2008", "Time": "03:55 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3709 W VILLARD AV", "Location": [ 43.111877, -87.959231 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.959231276992327, 43.111876506780675 ] } }, { "type": "Feature", "properties": { "Incident number": 80260057, "Date": "1\/26\/2008", "Time": "07:22 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "4519 N GREEN BAY AV", "Location": [ 43.099242, -87.928585 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.928584679496382, 43.099242056062117 ] } }, { "type": "Feature", "properties": { "Incident number": 80240005, "Date": "1\/23\/2008", "Time": "10:46 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2002 W CAPITOL DR", "Location": [ 43.089697, -87.937340 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.9373399715506, 43.089697486005967 ] } }, { "type": "Feature", "properties": { "Incident number": 80210010, "Date": "1\/21\/2008", "Time": "02:00 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "3200 W SILVER SPRING DR", "Location": [ 43.119336, -87.952744 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.952744471863113, 43.119336389154704 ] } }, { "type": "Feature", "properties": { "Incident number": 80170200, "Date": "1\/17\/2008", "Time": "06:29 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4820 N 45TH ST", "Location": [ 43.105078, -87.968970 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.968969618557509, 43.105077536552976 ] } }, { "type": "Feature", "properties": { "Incident number": 80180004, "Date": "1\/17\/2008", "Time": "10:55 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "3501 W SILVER SPRING DR", "Location": [ 43.119031, -87.956823 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.956822727595025, 43.119030681503666 ] } }, { "type": "Feature", "properties": { "Incident number": 80130043, "Date": "1\/13\/2008", "Time": "03:15 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5000 N 35TH ST", "Location": [ 43.108259, -87.956464 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.956464363523978, 43.108259030238436 ] } }, { "type": "Feature", "properties": { "Incident number": 80130172, "Date": "1\/13\/2008", "Time": "04:39 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5681 N 35TH ST", "Location": [ 43.120980, -87.956222 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.956221617577228, 43.120980031363622 ] } }, { "type": "Feature", "properties": { "Incident number": 80130173, "Date": "1\/13\/2008", "Time": "05:37 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5945 N TEUTONIA AV", "Location": [ 43.125521, -87.951790 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.951790159905087, 43.125521354146258 ] } }, { "type": "Feature", "properties": { "Incident number": 80120147, "Date": "1\/12\/2008", "Time": "04:08 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2500 W CAPITOL DR", "Location": [ 43.089841, -87.944913 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.944912664723873, 43.089841486005973 ] } }, { "type": "Feature", "properties": { "Incident number": 80090175, "Date": "1\/9\/2008", "Time": "06:29 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "1935 W SILVER SPRING DR #2", "Location": [ 43.118885, -87.936551 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 0, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.936550637803691, 43.118884542847489 ] } }, { "type": "Feature", "properties": { "Incident number": 80090188, "Date": "1\/9\/2008", "Time": "07:28 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4833 N 42ND ST", "Location": [ 43.105322, -87.965124 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.965123710418439, 43.105322122889547 ] } }, { "type": "Feature", "properties": { "Incident number": 80080011, "Date": "1\/8\/2008", "Time": "12:16 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4803 N TEUTONIA AV", "Location": [ 43.104605, -87.946710 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 0, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.946709780169357, 43.104605082798578 ] } }, { "type": "Feature", "properties": { "Incident number": 80080083, "Date": "1\/8\/2008", "Time": "05:57 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "3303 W CUSTER AV", "Location": [ 43.115512, -87.954111 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.954110528449419, 43.115511532315892 ] } }, { "type": "Feature", "properties": { "Incident number": 80060181, "Date": "1\/6\/2008", "Time": "07:06 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4964 N 53RD ST", "Location": [ 43.107930, -87.978762 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 6, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.978762379104538, 43.107929664723883 ] } }, { "type": "Feature", "properties": { "Incident number": 80060194, "Date": "1\/6\/2008", "Time": "07:12 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1950 W COURTLAND AV", "Location": [ 43.102618, -87.935442 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.935441693931196, 43.102617824024755 ] } }, { "type": "Feature", "properties": { "Incident number": 80050184, "Date": "1\/5\/2008", "Time": "07:46 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "4827 N 18TH ST", "Location": [ 43.104996, -87.932949 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.932949132003955, 43.104996450458778 ] } }, { "type": "Feature", "properties": { "Incident number": 80060018, "Date": "1\/5\/2008", "Time": "11:45 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "2706 W BOBOLINK AV", "Location": [ 43.124564, -87.946159 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.946158637948585, 43.124563962231242 ] } }, { "type": "Feature", "properties": { "Incident number": 80040142, "Date": "1\/4\/2008", "Time": "11:47 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3700 W HAMPTON AV", "Location": [ 43.104722, -87.959181 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.95918112745089, 43.104721857800428 ] } }, { "type": "Feature", "properties": { "Incident number": 80310057, "Date": "1\/31\/2008", "Time": "09:20 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7931 W VILLARD AV", "Location": [ 43.112222, -88.010311 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.010311416180969, 43.112221535634106 ] } }, { "type": "Feature", "properties": { "Incident number": 80270077, "Date": "1\/27\/2008", "Time": "03:45 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5526 W FOND DU LAC AV", "Location": [ 43.094957, -87.982573 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.982572789457151, 43.094956870679113 ] } }, { "type": "Feature", "properties": { "Incident number": 80280002, "Date": "1\/27\/2008", "Time": "08:09 PM", "Police District": 4, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Address": "5250 N 90TH ST", "Location": [ 43.113259, -88.024443 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.02444304284748, 43.113258733279466 ] } }, { "type": "Feature", "properties": { "Incident number": 80250090, "Date": "1\/25\/2008", "Time": "12:09 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5182 N 76TH ST", "Location": [ 43.111939, -88.005928 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.005928364556141, 43.111939254662794 ] } }, { "type": "Feature", "properties": { "Incident number": 80260001, "Date": "1\/25\/2008", "Time": "09:53 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4029 N 72ND ST", "Location": [ 43.090678, -88.001840 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.00183963200395, 43.090677723007673 ] } }, { "type": "Feature", "properties": { "Incident number": 80240117, "Date": "1\/24\/2008", "Time": "05:30 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "9009 W VILLARD AV", "Location": [ 43.112027, -88.023831 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.023831109614051, 43.112027139304217 ] } }, { "type": "Feature", "properties": { "Incident number": 80230167, "Date": "1\/23\/2008", "Time": "08:08 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7600 W HAMPTON AV", "Location": [ 43.105146, -88.006664 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.006663765992869, 43.105146265992886 ] } }, { "type": "Feature", "properties": { "Incident number": 80220158, "Date": "1\/22\/2008", "Time": "09:08 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "7141 W GRANTOSA CT", "Location": [ 43.113117, -88.000258 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.000258340239128, 43.113117290034076 ] } }, { "type": "Feature", "properties": { "Incident number": 80170131, "Date": "1\/17\/2008", "Time": "11:39 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "8135 W FLORIST AV", "Location": [ 43.126796, -88.012720 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.012719723007677, 43.126795505049905 ] } }, { "type": "Feature", "properties": { "Incident number": 80160087, "Date": "1\/16\/2008", "Time": "07:00 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7540 W CAPITOL DR", "Location": [ 43.090032, -88.006621 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.0066215, 43.090032475474395 ] } }, { "type": "Feature", "properties": { "Incident number": 80140196, "Date": "1\/14\/2008", "Time": "07:27 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "6175 W HOPE AV", "Location": [ 43.093542, -87.989061 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 0, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.989060596217726, 43.093541748586794 ] } }, { "type": "Feature", "properties": { "Incident number": 80130109, "Date": "1\/13\/2008", "Time": "11:36 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7320 W CAPITOL DR", "Location": [ 43.090071, -88.003141 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.003141186879162, 43.090071246795816 ] } }, { "type": "Feature", "properties": { "Incident number": 80090049, "Date": "1\/9\/2008", "Time": "08:02 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5000 W CAPITAL DR", "Location": [ 43.090017, -87.975951 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.975951246727064, 43.090017246727093 ] } }, { "type": "Feature", "properties": { "Incident number": 80090149, "Date": "1\/9\/2008", "Time": "02:49 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5703 N 76TH ST", "Location": [ 43.121583, -88.006130 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.006130164752534, 43.121583167638086 ] } }, { "type": "Feature", "properties": { "Incident number": 80090211, "Date": "1\/9\/2008", "Time": "09:50 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4908 N 62ND ST", "Location": [ 43.107107, -87.988681 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 2, "e_clusterK7": 4, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.98868086716395, 43.107106965438824 ] } }, { "type": "Feature", "properties": { "Incident number": 80080191, "Date": "1\/8\/2008", "Time": "07:35 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "8701 W FOND DU LAC AV", "Location": [ 43.123831, -88.019596 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.019595678088052, 43.123831364053196 ] } }, { "type": "Feature", "properties": { "Incident number": 80070226, "Date": "1\/7\/2008", "Time": "07:31 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5557 N 64TH ST", "Location": [ 43.118883, -87.991120 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.991120306514972, 43.118883168856094 ] } }, { "type": "Feature", "properties": { "Incident number": 80070254, "Date": "1\/7\/2008", "Time": "09:37 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "8701 W FOND DU LAC AV", "Location": [ 43.123831, -88.019596 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.019595678088052, 43.123831364053196 ] } }, { "type": "Feature", "properties": { "Incident number": 80050119, "Date": "1\/5\/2008", "Time": "12:30 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5500 W FOND DU LAC AV", "Location": [ 43.094634, -87.982152 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.982152256708559, 43.094633845143903 ] } }, { "type": "Feature", "properties": { "Incident number": 80050179, "Date": "1\/5\/2008", "Time": "09:03 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7518 W HOPE AV", "Location": [ 43.093651, -88.005792 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.005792178860872, 43.093651211681312 ] } }, { "type": "Feature", "properties": { "Incident number": 80040170, "Date": "1\/4\/2008", "Time": "06:25 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "8340 W APPLETON AV", "Location": [ 43.104513, -88.015556 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.015556277396513, 43.104512596095603 ] } }, { "type": "Feature", "properties": { "Incident number": 80040178, "Date": "1\/4\/2008", "Time": "08:10 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "6100 W CONGRESS ST", "Location": [ 43.097367, -87.988162 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.988162454836541, 43.097367371744369 ] } }, { "type": "Feature", "properties": { "Incident number": 80030137, "Date": "1\/3\/2008", "Time": "05:58 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5737 N 76TH ST", "Location": [ 43.122312, -88.006131 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.006131139217302, 43.122312167638064 ] } }, { "type": "Feature", "properties": { "Incident number": 80030182, "Date": "1\/3\/2008", "Time": "09:28 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5027 W MARION ST", "Location": [ 43.095203, -87.976084 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.976084213651674, 43.095203099613599 ] } }, { "type": "Feature", "properties": { "Incident number": 80010061, "Date": "1\/1\/2008", "Time": "04:44 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5556 N 76TH ST", "Location": [ 43.118543, -88.005870 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.005870444853301, 43.118542991316822 ] } }, { "type": "Feature", "properties": { "Incident number": 80290157, "Date": "1\/29\/2008", "Time": "07:03 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1614 E NORTH AV", "Location": [ 43.060182, -87.889902 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.889902197472452, 43.060181529863044 ] } }, { "type": "Feature", "properties": { "Incident number": 80290183, "Date": "1\/29\/2008", "Time": "09:23 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2475 N FRATNEY ST", "Location": [ 43.063686, -87.901682 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.90168157703836, 43.063685832361926 ] } }, { "type": "Feature", "properties": { "Incident number": 80280077, "Date": "1\/28\/2008", "Time": "10:20 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3484 N MURRAY AV", "Location": [ 43.081469, -87.885156 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.885155867996048, 43.081468994171622 ] } }, { "type": "Feature", "properties": { "Incident number": 80280161, "Date": "1\/28\/2008", "Time": "06:05 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "924 E MEINECKE AV", "Location": [ 43.062052, -87.899554 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.899553723007685, 43.062051518754551 ] } }, { "type": "Feature", "properties": { "Incident number": 80270008, "Date": "1\/27\/2008", "Time": "03:00 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1304 E ALBION ST", "Location": [ 43.050856, -87.895803 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.895802703183151, 43.050855865691325 ] } }, { "type": "Feature", "properties": { "Incident number": 80260140, "Date": "1\/26\/2008", "Time": "07:03 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3177 N HUMBOLDT BL", "Location": [ 43.076395, -87.897788 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.897787624790567, 43.076394838190318 ] } }, { "type": "Feature", "properties": { "Incident number": 80110208, "Date": "1\/11\/2008", "Time": "09:37 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "900 E OGDEN AV", "Location": [ 43.048211, -87.900882 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.900882204433046, 43.048211061888999 ] } }, { "type": "Feature", "properties": { "Incident number": 80080169, "Date": "1\/8\/2008", "Time": "05:16 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1331 N ASTOR ST", "Location": [ 43.047640, -87.899750 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.899749624790587, 43.047639586733226 ] } }, { "type": "Feature", "properties": { "Incident number": 80060177, "Date": "1\/6\/2008", "Time": "05:40 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2119 N SUMMIT AV", "Location": [ 43.057560, -87.884556 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.884556226643014, 43.057559942841365 ] } }, { "type": "Feature", "properties": { "Incident number": 80050020, "Date": "1\/5\/2008", "Time": "12:42 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1672 N WATER ST", "Location": [ 43.052489, -87.905225 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.905225223164294, 43.052489398598311 ] } }, { "type": "Feature", "properties": { "Incident number": 80050116, "Date": "1\/5\/2008", "Time": "04:45 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "544 E OGDEN AV #800", "Location": [ 43.048240, -87.905423 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.905422509048961, 43.048239988583809 ] } }, { "type": "Feature", "properties": { "Incident number": 80030016, "Date": "1\/3\/2008", "Time": "02:08 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2244 N PROSPECT AV", "Location": [ 43.059716, -87.884129 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.884129301806368, 43.059715838450117 ] } }, { "type": "Feature", "properties": { "Incident number": 80030019, "Date": "1\/3\/2008", "Time": "04:14 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1714 N FRANKLIN PL", "Location": [ 43.053337, -87.896804 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.896803900744644, 43.053336502914192 ] } }, { "type": "Feature", "properties": { "Incident number": 80040010, "Date": "1\/3\/2008", "Time": "11:57 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1513 N WARREN AV", "Location": [ 43.050055, -87.896789 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.89678908969826, 43.050054602219063 ] } }, { "type": "Feature", "properties": { "Incident number": 80300109, "Date": "1\/30\/2008", "Time": "10:00 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "3225 W WISCONSIN AV #304", "Location": [ 43.038670, -87.954403 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.9544035, 43.03867048788188 ] } }, { "type": "Feature", "properties": { "Incident number": 80300141, "Date": "1\/30\/2008", "Time": "09:51 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2114 W MICHIGAN ST", "Location": [ 43.037521, -87.939873 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.939873, 43.03752147879262 ] } }, { "type": "Feature", "properties": { "Incident number": 80290025, "Date": "1\/29\/2008", "Time": "05:00 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1254 N 35TH ST", "Location": [ 43.046815, -87.957619 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957619025948276, 43.046815295506718 ] } }, { "type": "Feature", "properties": { "Incident number": 80290044, "Date": "1\/29\/2008", "Time": "08:29 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "3017 W HIGHLAND BL", "Location": [ 43.044446, -87.952301 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.95230102553522, 43.044445542847491 ] } }, { "type": "Feature", "properties": { "Incident number": 80250155, "Date": "1\/25\/2008", "Time": "07:50 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "275 W WISCONSIN AV", "Location": [ 43.038766, -87.914173 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.91417294463038, 43.038765525102527 ] } }, { "type": "Feature", "properties": { "Incident number": 80220042, "Date": "1\/22\/2008", "Time": "10:31 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "510 E WISCONSIN AV", "Location": [ 43.038850, -87.904804 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.904803808355922, 43.038850471579245 ] } }, { "type": "Feature", "properties": { "Incident number": 80210111, "Date": "1\/21\/2008", "Time": "02:41 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "280 N 35TH ST", "Location": [ 43.033542, -87.957678 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957678488935159, 43.03354248940586 ] } }, { "type": "Feature", "properties": { "Incident number": 80210123, "Date": "1\/21\/2008", "Time": "02:41 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "3417 W MT VERNON AV", "Location": [ 43.033681, -87.957104 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957103919095161, 43.03368054674263 ] } }, { "type": "Feature", "properties": { "Incident number": 80210001, "Date": "1\/20\/2008", "Time": "09:14 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "907 N 26TH ST", "Location": [ 43.041843, -87.946369 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.946368588146882, 43.041843 ] } }, { "type": "Feature", "properties": { "Incident number": 80210002, "Date": "1\/20\/2008", "Time": "09:10 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1240 W WELLS ST", "Location": [ 43.040284, -87.928321 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 5, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.9283215, 43.040284476051312 ] } }, { "type": "Feature", "properties": { "Incident number": 80180111, "Date": "1\/18\/2008", "Time": "02:39 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2522 W STATE ST", "Location": [ 43.043267, -87.945611 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.9456105, 43.043267460470744 ] } }, { "type": "Feature", "properties": { "Incident number": 80180002, "Date": "1\/17\/2008", "Time": "10:42 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1921 W GALENA ST", "Location": [ 43.051337, -87.937232 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.937231919095154, 43.051337488458813 ] } }, { "type": "Feature", "properties": { "Incident number": 80140190, "Date": "1\/14\/2008", "Time": "08:42 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2717 W CLYBOURN ST", "Location": [ 43.036104, -87.948252 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.948251832361947, 43.036104470136941 ] } }, { "type": "Feature", "properties": { "Incident number": 80100054, "Date": "1\/10\/2008", "Time": "08:36 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "3324 W JUNEAU AV", "Location": [ 43.045922, -87.955950 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.955950357897166, 43.045921507646042 ] } }, { "type": "Feature", "properties": { "Incident number": 80080052, "Date": "1\/8\/2008", "Time": "07:43 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "749 N 16TH ST", "Location": [ 43.039630, -87.932979 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 0, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 5, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.932979095937142, 43.039629996104871 ] } }, { "type": "Feature", "properties": { "Incident number": 80080162, "Date": "1\/8\/2008", "Time": "05:39 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "930 N 27TH ST", "Location": [ 43.042428, -87.947655 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.947654875209409, 43.042428 ] } }, { "type": "Feature", "properties": { "Incident number": 80070026, "Date": "1\/7\/2008", "Time": "09:55 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1202 W HIGHLAND AV", "Location": [ 43.044472, -87.927493 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927492944630387, 43.044471511541182 ] } }, { "type": "Feature", "properties": { "Incident number": 80070186, "Date": "1\/7\/2008", "Time": "04:38 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "200 E WISCONSIN AV", "Location": [ 43.038664, -87.908733 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.908732863725547, 43.038663504327843 ] } }, { "type": "Feature", "properties": { "Incident number": 80070214, "Date": "1\/7\/2008", "Time": "07:05 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2501 W STATE ST", "Location": [ 43.043160, -87.945000 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.945000187350772, 43.04315981264925 ] } }, { "type": "Feature", "properties": { "Incident number": 80060017, "Date": "1\/6\/2008", "Time": "11:55 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "3200 W PARK HILL AV", "Location": [ 43.032669, -87.954153 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.95415317383393, 43.032669173833924 ] } }, { "type": "Feature", "properties": { "Incident number": 80060020, "Date": "1\/6\/2008", "Time": "12:05 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2725 W WISCONSIN AV", "Location": [ 43.038629, -87.948580 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.948580499999977, 43.038629488458817 ] } }, { "type": "Feature", "properties": { "Incident number": 80060054, "Date": "1\/6\/2008", "Time": "02:30 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2725 W WISCONSIN AV", "Location": [ 43.038629, -87.948580 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 2, "e_clusterK4": 2, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.948580499999977, 43.038629488458817 ] } }, { "type": "Feature", "properties": { "Incident number": 80050092, "Date": "1\/5\/2008", "Time": "12:04 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "700 W STATE ST", "Location": [ 43.043007, -87.920883 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.920882800998328, 43.043007494373157 ] } }, { "type": "Feature", "properties": { "Incident number": 80040069, "Date": "1\/4\/2008", "Time": "10:45 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "200 E WISCONSIN AV", "Location": [ 43.038664, -87.908733 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.908732863725547, 43.038663504327843 ] } }, { "type": "Feature", "properties": { "Incident number": 80030018, "Date": "1\/3\/2008", "Time": "03:23 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1660 N PROSPECT AV", "Location": [ 43.051887, -87.891599 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.891599298315271, 43.05188708601208 ] } }, { "type": "Feature", "properties": { "Incident number": 80010074, "Date": "1\/1\/2008", "Time": "09:35 AM", "Police District": 1, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Address": "1100 N WATER ST", "Location": [ 43.044723, -87.910819 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.910819340848008, 43.044723196599513 ] } }, { "type": "Feature", "properties": { "Incident number": 80010172, "Date": "1\/1\/2008", "Time": "07:40 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1230 W HIGHLAND AV", "Location": [ 43.044461, -87.928142 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.928141919095154, 43.044461474897467 ] } }, { "type": "Feature", "properties": { "Incident number": 80250082, "Date": "1\/25\/2008", "Time": "11:52 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7609 W CAPITOL DR", "Location": [ 43.089832, -88.007940 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.00794, 43.08983154674263 ] } }, { "type": "Feature", "properties": { "Incident number": 80260025, "Date": "1\/25\/2008", "Time": "11:37 PM", "Police District": 7, "Offense 1": "KIDNAPING", "Offense 2": "BURGLARY\/BREAKING AND ENTERING", "Offense 3": "ROBBERY", "Address": "3442 N 98TH ST", "Location": [ 43.081442, -88.035475 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.035475360782698, 43.081442025535239 ] } }, { "type": "Feature", "properties": { "Incident number": 80260025, "Date": "1\/25\/2008", "Time": "11:37 PM", "Police District": 7, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Offense 3": "BURGLARY\/BREAKING AND ENTERING", "Address": "3442 N 98TH ST", "Location": [ 43.081442, -88.035475 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.035475360782698, 43.081442025535239 ] } }, { "type": "Feature", "properties": { "Incident number": 80260025, "Date": "1\/25\/2008", "Time": "11:37 PM", "Police District": 7, "Offense 1": "ROBBERY", "Offense 2": "BURGLARY\/BREAKING AND ENTERING", "Address": "3442 N 98TH ST", "Location": [ 43.081442, -88.035475 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.035475360782698, 43.081442025535239 ] } }, { "type": "Feature", "properties": { "Incident number": 80260030, "Date": "1\/25\/2008", "Time": "11:43 PM", "Police District": 7, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Address": "3907 N 84TH ST", "Location": [ 43.088166, -88.017590 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.017589610363871, 43.088165916180976 ] } }, { "type": "Feature", "properties": { "Incident number": 80260030, "Date": "1\/25\/2008", "Time": "11:43 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3907 N 84TH ST", "Location": [ 43.088166, -88.017590 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.017589610363871, 43.088165916180976 ] } }, { "type": "Feature", "properties": { "Incident number": 80210125, "Date": "1\/21\/2008", "Time": "04:59 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "2921 N 76TH ST", "Location": [ 43.072165, -88.007519 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 0, "e_clusterK5": 3, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 4, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -88.007518632003951, 43.072164974464776 ] } }, { "type": "Feature", "properties": { "Incident number": 80200016, "Date": "1\/20\/2008", "Time": "02:24 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "5442 N LOVERS LANE RD", "Location": [ 43.116541, -88.055556 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.055555652690302, 43.116540501001758 ] } }, { "type": "Feature", "properties": { "Incident number": 80180039, "Date": "1\/18\/2008", "Time": "08:45 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "10380 W SILVER SPRING DR", "Location": [ 43.119517, -88.041743 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.04174267485142, 43.119517471579243 ] } }, { "type": "Feature", "properties": { "Incident number": 80110161, "Date": "1\/11\/2008", "Time": "02:05 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "8528 W LISBON AV", "Location": [ 43.082033, -88.019753 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.019753344422725, 43.082032797131852 ] } }, { "type": "Feature", "properties": { "Incident number": 80070136, "Date": "1\/7\/2008", "Time": "08:53 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4553 N 85TH ST", "Location": [ 43.100059, -88.018795 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.018795475734194, 43.100059346673099 ] } }, { "type": "Feature", "properties": { "Incident number": 80030147, "Date": "1\/3\/2008", "Time": "07:25 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3761 N 76TH ST", "Location": [ 43.085534, -88.007437 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.007437451948817, 43.085533770225361 ] } }, { "type": "Feature", "properties": { "Incident number": 80020007, "Date": "1\/1\/2008", "Time": "11:21 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4025 N 91ST ST", "Location": [ 43.090407, -88.026390 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.026389599255353, 43.090407 ] } }, { "type": "Feature", "properties": { "Incident number": 80310067, "Date": "1\/31\/2008", "Time": "05:21 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1009 E GARFIELD AV", "Location": [ 43.058907, -87.898552 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.898552464449864, 43.058907047468978 ] } }, { "type": "Feature", "properties": { "Incident number": 80300093, "Date": "1\/30\/2008", "Time": "03:31 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3295 N MARTIN L KING JR DR", "Location": [ 43.078513, -87.915973 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.915972858070049, 43.0785127934965 ] } }, { "type": "Feature", "properties": { "Incident number": 80280158, "Date": "1\/28\/2008", "Time": "09:45 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3241 N 3RD ST", "Location": [ 43.077277, -87.913912 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.913911643112456, 43.077276838190329 ] } }, { "type": "Feature", "properties": { "Incident number": 80240072, "Date": "1\/26\/2008", "Time": "10:15 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1545 W HOPKINS ST", "Location": [ 43.071576, -87.932179 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.932179159126491, 43.071576234428719 ] } }, { "type": "Feature", "properties": { "Incident number": 80260153, "Date": "1\/26\/2008", "Time": "09:09 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "274 E KEEFE AV", "Location": [ 43.082086, -87.907712 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.907711971550583, 43.08208551875456 ] } }, { "type": "Feature", "properties": { "Incident number": 80270001, "Date": "1\/26\/2008", "Time": "10:27 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3133 N 9TH ST", "Location": [ 43.075584, -87.922511 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.922510624790576, 43.075583696087477 ] } }, { "type": "Feature", "properties": { "Incident number": 80250112, "Date": "1\/25\/2008", "Time": "03:34 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1981 W FINN PL", "Location": [ 43.083300, -87.936709 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.936708549587422, 43.08329976162328 ] } }, { "type": "Feature", "properties": { "Incident number": 80260022, "Date": "1\/25\/2008", "Time": "03:34 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3718-A N 19TH PL", "Location": [ 43.085219, -87.935606 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.935606404639756, 43.085219018321865 ] } }, { "type": "Feature", "properties": { "Incident number": 80230088, "Date": "1\/24\/2008", "Time": "10:00 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2228 N MARTIN L KING JR DR", "Location": [ 43.059471, -87.914061 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.914061143178998, 43.059470713848562 ] } }, { "type": "Feature", "properties": { "Incident number": 80250005, "Date": "1\/24\/2008", "Time": "10:45 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "216 E TOWNSEND ST", "Location": [ 43.080272, -87.908823 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.908823, 43.080271500432694 ] } }, { "type": "Feature", "properties": { "Incident number": 80210113, "Date": "1\/21\/2008", "Time": "04:05 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3540 N 20TH ST", "Location": [ 43.083252, -87.937172 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.937172342460826, 43.083252 ] } }, { "type": "Feature", "properties": { "Incident number": 80200034, "Date": "1\/20\/2008", "Time": "03:37 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3725 N TEUTONIA AV", "Location": [ 43.085218, -87.936504 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.936503614230347, 43.085218075768957 ] } }, { "type": "Feature", "properties": { "Incident number": 80200119, "Date": "1\/20\/2008", "Time": "03:46 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2470 N MARTIN L KING JR DR", "Location": [ 43.063633, -87.914015 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.914015426279846, 43.063632555369615 ] } }, { "type": "Feature", "properties": { "Incident number": 80200001, "Date": "1\/19\/2008", "Time": "09:58 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3718 N 19TH PL", "Location": [ 43.085219, -87.935606 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.935606404639756, 43.085219018321865 ] } }, { "type": "Feature", "properties": { "Incident number": 80180023, "Date": "1\/18\/2008", "Time": "11:00 AM", "Police District": 5, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Address": "3847 N 14TH ST", "Location": [ 43.087168, -87.928388 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.92838762479056, 43.087167922009343 ] } }, { "type": "Feature", "properties": { "Incident number": 80180148, "Date": "1\/18\/2008", "Time": "07:03 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3031 N 10TH ST", "Location": [ 43.073838, -87.923959 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.92395858814686, 43.073838167638065 ] } }, { "type": "Feature", "properties": { "Incident number": 80170113, "Date": "1\/17\/2008", "Time": "06:00 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3122 N 24TH ST", "Location": [ 43.075577, -87.942241 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.94224050919604, 43.075576809159479 ] } }, { "type": "Feature", "properties": { "Incident number": 80160097, "Date": "1\/16\/2008", "Time": "01:11 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2211 N HUMBOLDT AV", "Location": [ 43.052682, -87.898149 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 3, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.898148687245438, 43.052682267308931 ] } }, { "type": "Feature", "properties": { "Incident number": 80160177, "Date": "1\/16\/2008", "Time": "06:24 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3905 N 22ND ST", "Location": [ 43.088045, -87.939578 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.939578047878342, 43.088044971739038 ] } }, { "type": "Feature", "properties": { "Incident number": 80150014, "Date": "1\/15\/2008", "Time": "01:04 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "112 W LOCUST ST", "Location": [ 43.071234, -87.911291 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.91129081256021, 43.071234222828977 ] } }, { "type": "Feature", "properties": { "Incident number": 80150003, "Date": "1\/14\/2008", "Time": "10:05 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2421 N 6TH ST", "Location": [ 43.062661, -87.918512 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.918511617577209, 43.062661005828375 ] } }, { "type": "Feature", "properties": { "Incident number": 80130035, "Date": "1\/13\/2008", "Time": "12:48 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "915 W ATKINSON AV", "Location": [ 43.083584, -87.922643 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.922642959634018, 43.083583629176665 ] } }, { "type": "Feature", "properties": { "Incident number": 80130201, "Date": "1\/13\/2008", "Time": "10:19 PM", "Police District": 5, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Address": "3025 N 12TH ST", "Location": [ 43.073624, -87.926745 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.926745236956094, 43.07362427357365 ] } }, { "type": "Feature", "properties": { "Incident number": 80120073, "Date": "1\/12\/2008", "Time": "10:33 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3921 N 17TH ST", "Location": [ 43.088247, -87.932110 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.932110120895445, 43.088247366639735 ] } }, { "type": "Feature", "properties": { "Incident number": 80130011, "Date": "1\/12\/2008", "Time": "09:06 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3460 N HOLTON ST", "Location": [ 43.081559, -87.904993 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.904992926279846, 43.081558575076464 ] } }, { "type": "Feature", "properties": { "Incident number": 80100040, "Date": "1\/10\/2008", "Time": "12:50 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3373 N HOLTON ST", "Location": [ 43.079971, -87.905147 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.90514739773208, 43.079970531498596 ] } }, { "type": "Feature", "properties": { "Incident number": 80090208, "Date": "1\/9\/2008", "Time": "09:20 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3461 N 16TH ST", "Location": [ 43.081479, -87.931009 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 1, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 2, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.931008573720149, 43.081479450458772 ] } }, { "type": "Feature", "properties": { "Incident number": 80070235, "Date": "1\/7\/2008", "Time": "07:51 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3419 N 14TH ST", "Location": [ 43.080597, -87.928549 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.928548566506791, 43.080597450458782 ] } }, { "type": "Feature", "properties": { "Incident number": 80070241, "Date": "1\/7\/2008", "Time": "07:53 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1817 W KEEFE AV", "Location": [ 43.081711, -87.933625 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.933624826863209, 43.081711219835384 ] } }, { "type": "Feature", "properties": { "Incident number": 80060055, "Date": "1\/6\/2008", "Time": "03:56 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3716 N MARTIN L KING JR DR", "Location": [ 43.084864, -87.920104 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.920104172596723, 43.084863984317096 ] } }, { "type": "Feature", "properties": { "Incident number": 80060154, "Date": "1\/6\/2008", "Time": "03:38 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1605 W CONCORDIA AV #LWRFR", "Location": [ 43.078975, -87.931274 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 2, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.931273667638052, 43.078974517889172 ] } }, { "type": "Feature", "properties": { "Incident number": 80060199, "Date": "1\/6\/2008", "Time": "10:10 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3321 N 12TH ST", "Location": [ 43.079454, -87.926120 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.926119624790587, 43.079454115182635 ] } }, { "type": "Feature", "properties": { "Incident number": 80050166, "Date": "1\/5\/2008", "Time": "07:32 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2701 N MARTIN L KING JR DR", "Location": [ 43.067664, -87.914072 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.914071610363862, 43.067664 ] } }, { "type": "Feature", "properties": { "Incident number": 80030123, "Date": "1\/3\/2008", "Time": "03:33 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2201 W MELVINA ST", "Location": [ 43.087845, -87.939601 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.939600741137085, 43.087845258750356 ] } }, { "type": "Feature", "properties": { "Incident number": 80020135, "Date": "1\/2\/2008", "Time": "03:28 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "821 E CAPITOL DR", "Location": [ 43.089095, -87.900252 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.900251952247771, 43.089094521207393 ] } }, { "type": "Feature", "properties": { "Incident number": 80030002, "Date": "1\/2\/2008", "Time": "09:53 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3933 N 19TH PL", "Location": [ 43.088542, -87.935721 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.935720592042003, 43.088541935887811 ] } }, { "type": "Feature", "properties": { "Incident number": 80010054, "Date": "1\/1\/2008", "Time": "06:38 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3751 N TEUTONIA AV", "Location": [ 43.085718, -87.936771 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.936771320849402, 43.085717727999352 ] } }, { "type": "Feature", "properties": { "Incident number": 80010130, "Date": "1\/1\/2008", "Time": "05:44 AM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2256 N 5TH ST", "Location": [ 43.059786, -87.917018 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.917018071255626, 43.059785522462178 ] } }, { "type": "Feature", "properties": { "Incident number": 80010170, "Date": "1\/1\/2008", "Time": "06:50 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "528 E CONCORDIA AV", "Location": [ 43.078411, -87.904152 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 0, "e_clusterK7": 3, "g_clusterK7": 0, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.904151832361947, 43.078410533181284 ] } }, { "type": "Feature", "properties": { "Incident number": 80010180, "Date": "1\/1\/2008", "Time": "07:23 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3548 N MARTIN L KING JR DR", "Location": [ 43.082615, -87.918771 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 7 }, "geometry": { "type": "Point", "coordinates": [ -87.91877137904963, 43.082615064042244 ] } }, { "type": "Feature", "properties": { "Incident number": 80310176, "Date": "1\/31\/2008", "Time": "06:37 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5009 W HAMPTON AV", "Location": [ 43.104578, -87.975882 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.975882, 43.104578481245454 ] } }, { "type": "Feature", "properties": { "Incident number": 80320002, "Date": "1\/31\/2008", "Time": "09:36 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3618 W GLENDALE AV", "Location": [ 43.100790, -87.958511 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.958510985818023, 43.100790260444271 ] } }, { "type": "Feature", "properties": { "Incident number": 80300010, "Date": "1\/30\/2008", "Time": "12:13 AM", "Police District": 7, "Offense 1": "ROBBERY", "Offense 2": "KIDNAPING", "Address": "3065 N 44TH ST", "Location": [ 43.074774, -87.968690 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.968690080933499, 43.07477386372554 ] } }, { "type": "Feature", "properties": { "Incident number": 80290002, "Date": "1\/29\/2008", "Time": "01:35 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "2837 N 49TH ST", "Location": [ 43.070499, -87.974888 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.9748880953602, 43.070499335276139 ] } }, { "type": "Feature", "properties": { "Incident number": 80280099, "Date": "1\/28\/2008", "Time": "02:07 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3908 W FOND DU LAC AV", "Location": [ 43.079239, -87.962377 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.962376878531472, 43.079238509495219 ] } }, { "type": "Feature", "properties": { "Incident number": 80280148, "Date": "1\/28\/2008", "Time": "07:00 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2900 N 24TH ST", "Location": [ 43.071588, -87.942315 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.942315386317915, 43.071588 ] } }, { "type": "Feature", "properties": { "Incident number": 80250010, "Date": "1\/25\/2008", "Time": "12:03 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3100 N 41ST ST", "Location": [ 43.075271, -87.964353 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.964353295584615, 43.075271484087828 ] } }, { "type": "Feature", "properties": { "Incident number": 80250021, "Date": "1\/25\/2008", "Time": "12:41 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3628 W TOWNSEND ST", "Location": [ 43.081176, -87.958781 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 5, "e_clusterK9": 1, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.958781415135121, 43.081176401832636 ] } }, { "type": "Feature", "properties": { "Incident number": 80250174, "Date": "1\/25\/2008", "Time": "10:12 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4076 N 42ND ST", "Location": [ 43.091486, -87.965235 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.965235379104556, 43.091485910352596 ] } }, { "type": "Feature", "properties": { "Incident number": 80230020, "Date": "1\/23\/2008", "Time": "04:39 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4118 W CAPITOL DR", "Location": [ 43.089923, -87.964830 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.96483, 43.08992346047075 ] } }, { "type": "Feature", "properties": { "Incident number": 80200107, "Date": "1\/20\/2008", "Time": "02:09 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4118 W CAPITOL DR", "Location": [ 43.089923, -87.964830 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.96483, 43.08992346047075 ] } }, { "type": "Feature", "properties": { "Incident number": 80180003, "Date": "1\/17\/2008", "Time": "10:22 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3760 N 52ND ST", "Location": [ 43.085727, -87.978336 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.97833585356932, 43.085726664723865 ] } }, { "type": "Feature", "properties": { "Incident number": 80160200, "Date": "1\/16\/2008", "Time": "10:17 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4200 W FIEBRANTZ AV", "Location": [ 43.091690, -87.965355 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.965354570787454, 43.091690410508463 ] } }, { "type": "Feature", "properties": { "Incident number": 80140007, "Date": "1\/14\/2008", "Time": "12:19 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3121 N 40TH ST", "Location": [ 43.075613, -87.963302 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.963301819759138, 43.075613480713642 ] } }, { "type": "Feature", "properties": { "Incident number": 80120150, "Date": "1\/12\/2008", "Time": "07:43 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5808 W HAMPTON AV", "Location": [ 43.104787, -87.985431 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 6, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.985431, 43.104786525967924 ] } }, { "type": "Feature", "properties": { "Incident number": 80100220, "Date": "1\/10\/2008", "Time": "08:52 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4350 W CENTER ST", "Location": [ 43.068003, -87.968218 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.968218384678892, 43.068003218720428 ] } }, { "type": "Feature", "properties": { "Incident number": 80090193, "Date": "1\/9\/2008", "Time": "07:35 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5033 W CAPITOL DR", "Location": [ 43.089762, -87.976603 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.976603251544972, 43.089761753398953 ] } }, { "type": "Feature", "properties": { "Incident number": 80080148, "Date": "1\/8\/2008", "Time": "04:14 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4650 W HADLEY ST", "Location": [ 43.069799, -87.971770 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.971770029925722, 43.069798796725159 ] } }, { "type": "Feature", "properties": { "Incident number": 80070257, "Date": "1\/7\/2008", "Time": "08:33 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2480 W HADLEY ST", "Location": [ 43.069727, -87.944602 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.944602080904843, 43.069727460470752 ] } }, { "type": "Feature", "properties": { "Incident number": 80080015, "Date": "1\/7\/2008", "Time": "11:32 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2900 N 24TH ST", "Location": [ 43.071588, -87.942315 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.942315386317915, 43.071588 ] } }, { "type": "Feature", "properties": { "Incident number": 80050109, "Date": "1\/5\/2008", "Time": "12:44 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3626 W FOND DU LAC AV", "Location": [ 43.076929, -87.959440 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 4, "e_clusterK6": 4, "g_clusterK6": 0, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 5, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.959440458480188, 43.076929451583958 ] } }, { "type": "Feature", "properties": { "Incident number": 80040132, "Date": "1\/4\/2008", "Time": "03:36 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4444 W CAPITOL DR", "Location": [ 43.089931, -87.969722 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 5, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.969722139188647, 43.089931486005973 ] } }, { "type": "Feature", "properties": { "Incident number": 80010175, "Date": "1\/1\/2008", "Time": "06:40 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4620 W CENTER ST", "Location": [ 43.067985, -87.972061 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.972061332361946, 43.067985463788979 ] } }, { "type": "Feature", "properties": { "Incident number": 80280183, "Date": "1\/28\/2008", "Time": "09:15 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "716 S 31ST ST", "Location": [ 43.023357, -87.952525 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 5, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 7, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.952525430175001, 43.023357 ] } }, { "type": "Feature", "properties": { "Incident number": 80260151, "Date": "1\/26\/2008", "Time": "10:27 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2101 W PIERCE ST", "Location": [ 43.024116, -87.939524 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 7, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.939523663178804, 43.024115836821224 ] } }, { "type": "Feature", "properties": { "Incident number": 80250129, "Date": "1\/25\/2008", "Time": "05:35 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "3169 S 29TH ST", "Location": [ 42.986980, -87.950658 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.950658040971547, 42.986979502914181 ] } }, { "type": "Feature", "properties": { "Incident number": 80250168, "Date": "1\/25\/2008", "Time": "10:37 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2616 W ORCHARD ST", "Location": [ 43.016062, -87.946646 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.946645924612099, 43.016062338552075 ] } }, { "type": "Feature", "properties": { "Incident number": 80220102, "Date": "1\/22\/2008", "Time": "03:46 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "4230 W OKLAHOMA AV", "Location": [ 42.988391, -87.967440 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.967440335276123, 42.988391453257378 ] } }, { "type": "Feature", "properties": { "Incident number": 80200122, "Date": "1\/20\/2008", "Time": "06:59 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2073 S LAYTON BL", "Location": [ 43.006923, -87.948089 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.94808910257359, 43.006923335276134 ] } }, { "type": "Feature", "properties": { "Incident number": 80200131, "Date": "1\/20\/2008", "Time": "09:11 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2213 S 25TH ST", "Location": [ 43.004647, -87.945178 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.94517760257358, 43.00464658673323 ] } }, { "type": "Feature", "properties": { "Incident number": 80210005, "Date": "1\/20\/2008", "Time": "10:06 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2604 W GRANT ST", "Location": [ 43.004960, -87.946662 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.946661614345672, 43.004959772802621 ] } }, { "type": "Feature", "properties": { "Incident number": 80100182, "Date": "1\/10\/2008", "Time": "06:32 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2079 S MUSKEGO AV", "Location": [ 43.006886, -87.942164 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.942163528622302, 43.006885543164607 ] } }, { "type": "Feature", "properties": { "Incident number": 80060066, "Date": "1\/6\/2008", "Time": "08:17 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1213 S 30TH ST", "Location": [ 43.018614, -87.951508 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 7, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.95150760978693, 43.018613664723894 ] } }, { "type": "Feature", "properties": { "Incident number": 80050003, "Date": "1\/4\/2008", "Time": "11:22 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2544 S 28TH ST", "Location": [ 42.998480, -87.949284 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.949283937388358, 42.998479857897166 ] } }, { "type": "Feature", "properties": { "Incident number": 80020164, "Date": "1\/2\/2008", "Time": "06:30 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2930 W NATIONAL AV", "Location": [ 43.022034, -87.951305 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 7, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.951304760199662, 43.022034427722161 ] } }, { "type": "Feature", "properties": { "Incident number": 80300133, "Date": "1\/30\/2008", "Time": "09:01 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "8008 W BROWN DEER RD", "Location": [ 43.177973, -88.009481 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.00948143020365, 43.177973464942809 ] } }, { "type": "Feature", "properties": { "Incident number": 80270018, "Date": "1\/27\/2008", "Time": "03:47 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "6250 W PORT AV", "Location": [ 43.158433, -87.988334 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.988333699549941, 43.15843301194522 ] } }, { "type": "Feature", "properties": { "Incident number": 80270007, "Date": "1\/26\/2008", "Time": "10:06 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "7259 N 76TH ST", "Location": [ 43.150178, -88.005459 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.0054591031505, 43.150177927837753 ] } }, { "type": "Feature", "properties": { "Incident number": 80160029, "Date": "1\/16\/2008", "Time": "07:19 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "6218 W CARMEN AV", "Location": [ 43.123065, -87.988596 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.988595539872634, 43.123065288830922 ] } }, { "type": "Feature", "properties": { "Incident number": 80160049, "Date": "1\/16\/2008", "Time": "08:43 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "6100 W FLORIST AV", "Location": [ 43.126703, -87.987209 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -87.98720896866493, 43.126702577772207 ] } }, { "type": "Feature", "properties": { "Incident number": 80070001, "Date": "1\/6\/2008", "Time": "09:58 PM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "8100 W BROWN DEER RD", "Location": [ 43.177965, -88.011104 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.011103667638054, 43.177965461047656 ] } }, { "type": "Feature", "properties": { "Incident number": 80020022, "Date": "1\/2\/2008", "Time": "02:16 AM", "Police District": 4, "Offense 1": "ROBBERY", "Address": "8015 N 76TH ST", "Location": [ 43.163650, -88.004821 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 3, "e_clusterK5": 3, "g_clusterK5": 3, "e_clusterK6": 5, "g_clusterK6": 5, "e_clusterK7": 4, "g_clusterK7": 4, "e_clusterK8": 1, "g_clusterK8": 1, "e_clusterK9": 6, "g_clusterK9": 6, "e_clusterK10": 2, "g_clusterK10": 2 }, "geometry": { "type": "Point", "coordinates": [ -88.004821183074384, 43.163649670552253 ] } }, { "type": "Feature", "properties": { "Incident number": 80310151, "Date": "1\/31\/2008", "Time": "04:45 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2610 N 56TH ST", "Location": [ 43.066467, -87.983322 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.983322393531267, 43.066466968636405 ] } }, { "type": "Feature", "properties": { "Incident number": 80260075, "Date": "1\/26\/2008", "Time": "01:40 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "6232 W CHAMBERS ST", "Location": [ 43.073628, -87.990321 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.99032091692429, 43.073628225873648 ] } }, { "type": "Feature", "properties": { "Incident number": 80230145, "Date": "1\/23\/2008", "Time": "05:59 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "4726 W VLIET ST", "Location": [ 43.048856, -87.973353 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.973352580904844, 43.048855507646067 ] } }, { "type": "Feature", "properties": { "Incident number": 80190148, "Date": "1\/19\/2008", "Time": "08:41 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "5914 W APPLETON AV", "Location": [ 43.070097, -87.986663 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.986663382999694, 43.070096702752593 ] } }, { "type": "Feature", "properties": { "Incident number": 80190168, "Date": "1\/19\/2008", "Time": "10:02 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "7520 W STEVENSON ST", "Location": [ 43.032176, -88.006860 ], "e_clusterK2": 0, "g_clusterK2": 1, "e_clusterK3": 1, "g_clusterK3": 0, "e_clusterK4": 0, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -88.00685983236194, 43.0321755004327 ] } }, { "type": "Feature", "properties": { "Incident number": 80180030, "Date": "1\/18\/2008", "Time": "06:52 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5301 W WISCONSIN AV", "Location": [ 43.038668, -87.979983 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.979982530592608, 43.038668177230853 ] } }, { "type": "Feature", "properties": { "Incident number": 80160159, "Date": "1\/16\/2008", "Time": "04:59 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "7101 W LISBON AV", "Location": [ 43.074744, -88.000166 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 3, "g_clusterK4": 0, "e_clusterK5": 3, "g_clusterK5": 0, "e_clusterK6": 5, "g_clusterK6": 4, "e_clusterK7": 1, "g_clusterK7": 1, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -88.000166124098087, 43.074744226441489 ] } }, { "type": "Feature", "properties": { "Incident number": 80150183, "Date": "1\/15\/2008", "Time": "08:07 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "4131 W MARTIN DR", "Location": [ 43.045895, -87.966462 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.966462069392293, 43.045894542847492 ] } }, { "type": "Feature", "properties": { "Incident number": 80120161, "Date": "1\/12\/2008", "Time": "08:52 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5921 W NORTH AV", "Location": [ 43.060636, -87.986665 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.986664854937459, 43.060635595172002 ] } }, { "type": "Feature", "properties": { "Incident number": 80130004, "Date": "1\/12\/2008", "Time": "08:36 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5220 W NORTH AV", "Location": [ 43.060699, -87.979333 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.9793335, 43.060699486005966 ] } }, { "type": "Feature", "properties": { "Incident number": 80100163, "Date": "1\/10\/2008", "Time": "05:42 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5220 W NORTH AV", "Location": [ 43.060699, -87.979333 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.9793335, 43.060699486005966 ] } }, { "type": "Feature", "properties": { "Incident number": 80080165, "Date": "1\/8\/2008", "Time": "05:05 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5819 W CENTER ST", "Location": [ 43.067957, -87.985536 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.985535882411284, 43.067956860591046 ] } }, { "type": "Feature", "properties": { "Incident number": 80070072, "Date": "1\/7\/2008", "Time": "04:00 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3071 N 60TH ST", "Location": [ 43.074834, -87.987390 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.987389538707617, 43.074833863023642 ] } }, { "type": "Feature", "properties": { "Incident number": 80060009, "Date": "1\/6\/2008", "Time": "11:15 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "613 S 65TH ST", "Location": [ 43.025608, -87.993710 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.993709540971551, 43.025607754371293 ] } }, { "type": "Feature", "properties": { "Incident number": 80040043, "Date": "1\/4\/2008", "Time": "10:00 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5220 W NORTH AV", "Location": [ 43.060699, -87.979333 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.9793335, 43.060699486005966 ] } }, { "type": "Feature", "properties": { "Incident number": 80040174, "Date": "1\/4\/2008", "Time": "07:27 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1538 N HAWLEY RD", "Location": [ 43.051075, -87.982655 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.982654991344333, 43.051074905072468 ] } }, { "type": "Feature", "properties": { "Incident number": 80030128, "Date": "1\/3\/2008", "Time": "05:23 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5428 W NORTH AV", "Location": [ 43.060711, -87.981372 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.981372167638057, 43.060711493219316 ] } }, { "type": "Feature", "properties": { "Incident number": 80030143, "Date": "1\/3\/2008", "Time": "07:22 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "6535 W MAIN ST", "Location": [ 43.025941, -87.994602 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 6, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.994602, 43.025940503462458 ] } }, { "type": "Feature", "properties": { "Incident number": 80020171, "Date": "1\/2\/2008", "Time": "06:01 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3336 N 58TH ST", "Location": [ 43.080263, -87.985764 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 6, "g_clusterK8": 6, "e_clusterK9": 5, "g_clusterK9": 5, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.985763944601729, 43.080263465722197 ] } }, { "type": "Feature", "properties": { "Incident number": 80310175, "Date": "1\/31\/2008", "Time": "07:09 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "5811 W OKLAHOMA AV", "Location": [ 42.988331, -87.986541 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.986540551070462, 42.988331476773389 ] } }, { "type": "Feature", "properties": { "Incident number": 80280133, "Date": "1\/28\/2008", "Time": "04:02 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "6645 W OKLAHOMA AV", "Location": [ 42.988266, -87.996534 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.99653382514856, 42.988265510098884 ] } }, { "type": "Feature", "properties": { "Incident number": 80180005, "Date": "1\/17\/2008", "Time": "11:26 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "3232 S 27TH ST", "Location": [ 42.986062, -87.948133 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.948133451815067, 42.986062477378972 ] } }, { "type": "Feature", "properties": { "Incident number": 80140032, "Date": "1\/14\/2008", "Time": "09:03 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2505 S 44TH ST", "Location": [ 42.998653, -87.968528 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 0, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.968528040394631, 42.998652723007702 ] } }, { "type": "Feature", "properties": { "Incident number": 80110005, "Date": "1\/10\/2008", "Time": "10:58 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "5912 W OKLAHOMA AV", "Location": [ 42.988511, -87.987361 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.987361499999977, 42.98851146047074 ] } }, { "type": "Feature", "properties": { "Incident number": 80080090, "Date": "1\/8\/2008", "Time": "09:11 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "3737 S 27TH ST", "Location": [ 42.976662, -87.948597 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.948597348719446, 42.976661651280537 ] } }, { "type": "Feature", "properties": { "Incident number": 80070188, "Date": "1\/7\/2008", "Time": "04:17 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "5811 W OKLAHOMA AV", "Location": [ 42.988331, -87.986541 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 0, "g_clusterK9": 0, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.986540551070462, 42.988331476773389 ] } }, { "type": "Feature", "properties": { "Incident number": 80020060, "Date": "1\/2\/2008", "Time": "10:55 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "3200 S 27TH ST", "Location": [ 42.986386, -87.948143 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.948143426279856, 42.986385502914203 ] } }, { "type": "Feature", "properties": { "Incident number": 80310011, "Date": "1\/30\/2008", "Time": "10:55 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1601 W WINDLAKE AV", "Location": [ 42.999907, -87.933483 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.933483486284089, 42.999907137159177 ] } }, { "type": "Feature", "properties": { "Incident number": 80290093, "Date": "1\/29\/2008", "Time": "10:15 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1680 S PEARL ST", "Location": [ 43.012702, -87.936030 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.93602994350519, 43.012702467107182 ] } }, { "type": "Feature", "properties": { "Incident number": 80290143, "Date": "1\/29\/2008", "Time": "04:10 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "750 S CESAR E CHAVEZ DR", "Location": [ 43.023605, -87.932980 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.932980408959651, 43.023605415554016 ] } }, { "type": "Feature", "properties": { "Incident number": 80280006, "Date": "1\/28\/2008", "Time": "12:04 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2114 S 13TH ST", "Location": [ 43.006076, -87.928314 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.928314477350298, 43.006075575076466 ] } }, { "type": "Feature", "properties": { "Incident number": 80280181, "Date": "1\/28\/2008", "Time": "09:16 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1430 S 11TH ST", "Location": [ 43.016254, -87.925334 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.925334462346669, 43.016254491257428 ] } }, { "type": "Feature", "properties": { "Incident number": 80280186, "Date": "1\/28\/2008", "Time": "09:12 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1226 S 19TH ST", "Location": [ 43.018380, -87.936755 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.936755440706577, 43.018379664723881 ] } }, { "type": "Feature", "properties": { "Incident number": 80290006, "Date": "1\/28\/2008", "Time": "10:57 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2038 S 6TH ST", "Location": [ 43.007426, -87.918633 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.91863346292358, 43.007426465722205 ] } }, { "type": "Feature", "properties": { "Incident number": 80260031, "Date": "1\/26\/2008", "Time": "01:14 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "201 W WALKER ST", "Location": [ 43.022128, -87.913113 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.913113076605669, 43.022128487881886 ] } }, { "type": "Feature", "properties": { "Incident number": 80260034, "Date": "1\/26\/2008", "Time": "03:14 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2178 S 18TH ST", "Location": [ 43.004861, -87.935387 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.935386506780659, 43.004860658895495 ] } }, { "type": "Feature", "properties": { "Incident number": 80260128, "Date": "1\/26\/2008", "Time": "06:45 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2200 S 10TH ST", "Location": [ 43.004549, -87.924618 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.924617995463578, 43.004549409544524 ] } }, { "type": "Feature", "properties": { "Incident number": 80250161, "Date": "1\/25\/2008", "Time": "08:55 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1208 W ORCHARD ST", "Location": [ 43.016039, -87.927211 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.927210974464757, 43.016039453257378 ] } }, { "type": "Feature", "properties": { "Incident number": 80230160, "Date": "1\/23\/2008", "Time": "08:14 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1217 W SCOTT ST", "Location": [ 43.019025, -87.927242 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.927241583819026, 43.019024502885536 ] } }, { "type": "Feature", "properties": { "Incident number": 80220015, "Date": "1\/22\/2008", "Time": "06:20 AM", "Police District": 2, "Offense 1": "KIDNAPING", "Offense 2": "ROBBERY", "Offense 3": "BURGLARY\/BREAKING AND ENTERING", "Address": "415A W PIERCE ST", "Location": [ 43.024114, -87.915673 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.915673343369292, 43.024114207150362 ] } }, { "type": "Feature", "properties": { "Incident number": 80190167, "Date": "1\/19\/2008", "Time": "09:26 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1931 S 9TH ST", "Location": [ 43.009471, -87.922828 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.922828029863055, 43.009471341104501 ] } }, { "type": "Feature", "properties": { "Incident number": 80170024, "Date": "1\/17\/2008", "Time": "03:24 AM", "Police District": 2, "Offense 1": "MURDER\/NONNEGLIGENT MANSLAUGHTER", "Offense 2": "ROBBERY", "Address": "2155 S 17TH ST", "Location": [ 43.005329, -87.934442 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.93444155539828, 43.005329276992313 ] } }, { "type": "Feature", "properties": { "Incident number": 80170024, "Date": "1\/17\/2008", "Time": "03:24 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2155 S 17TH ST", "Location": [ 43.005329, -87.934442 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.93444155539828, 43.005329276992313 ] } }, { "type": "Feature", "properties": { "Incident number": 80170073, "Date": "1\/17\/2008", "Time": "10:15 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1700 S 16TH ST", "Location": [ 43.012218, -87.932997 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.932996555693947, 43.012217824714405 ] } }, { "type": "Feature", "properties": { "Incident number": 80170201, "Date": "1\/17\/2008", "Time": "08:33 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1229 W WASHINGTON ST", "Location": [ 43.020091, -87.927713 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.92771302553524, 43.020090546742608 ] } }, { "type": "Feature", "properties": { "Incident number": 80160190, "Date": "1\/16\/2008", "Time": "08:06 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2023 W SCOTT ST", "Location": [ 43.019020, -87.938883 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.938883167638053, 43.019019503462459 ] } }, { "type": "Feature", "properties": { "Incident number": 80130025, "Date": "1\/13\/2008", "Time": "12:05 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1301 W ORCHARD ST", "Location": [ 43.015935, -87.928022 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.928021652802144, 43.015934847197883 ] } }, { "type": "Feature", "properties": { "Incident number": 80130159, "Date": "1\/13\/2008", "Time": "03:50 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1577 S PEARL ST", "Location": [ 43.014460, -87.934300 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.93430035847409, 43.014460367764904 ] } }, { "type": "Feature", "properties": { "Incident number": 80100015, "Date": "1\/10\/2008", "Time": "01:32 AM", "Police District": 2, "Offense 1": "ROBBERY", "Offense 2": "BURGLARY\/BREAKING AND ENTERING", "Address": "1428-A S 9TH ST", "Location": [ 43.016319, -87.922534 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.922534382422768, 43.016319 ] } }, { "type": "Feature", "properties": { "Incident number": 80100204, "Date": "1\/10\/2008", "Time": "08:43 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1815 S 8TH ST", "Location": [ 43.010617, -87.921390 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.921390310577621, 43.010617243407012 ] } }, { "type": "Feature", "properties": { "Incident number": 80090142, "Date": "1\/9\/2008", "Time": "04:20 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1711 S 11TH ST", "Location": [ 43.012050, -87.925585 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.92558495779663, 43.012050312532452 ] } }, { "type": "Feature", "properties": { "Incident number": 80090007, "Date": "1\/8\/2008", "Time": "08:23 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1601 S CESAR E CHAVEZ DR", "Location": [ 43.013914, -87.933091 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.933091254685749, 43.01391356577318 ] } }, { "type": "Feature", "properties": { "Incident number": 80070215, "Date": "1\/7\/2008", "Time": "05:07 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1401 W GREENFIELD AV", "Location": [ 43.017005, -87.929474 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.92947366763805, 43.017005495672187 ] } }, { "type": "Feature", "properties": { "Incident number": 80060036, "Date": "1\/6\/2008", "Time": "02:05 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "1136 W LAPHAM BL", "Location": [ 43.014300, -87.925974 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.925974467333063, 43.014300150531035 ] } }, { "type": "Feature", "properties": { "Incident number": 80050011, "Date": "1\/5\/2008", "Time": "12:28 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2541 S 13TH ST", "Location": [ 42.998238, -87.928620 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.928620048184911, 42.998237947544574 ] } }, { "type": "Feature", "properties": { "Incident number": 80030186, "Date": "1\/3\/2008", "Time": "09:09 PM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1207 S CESAR E CHAVEZ DR", "Location": [ 43.018862, -87.933108 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.933108078019288, 43.018861610046741 ] } }, { "type": "Feature", "properties": { "Incident number": 80020013, "Date": "1\/2\/2008", "Time": "12:01 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "1035 S CESAR E CHAVEZ DR", "Location": [ 43.020333, -87.933092 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.933091577038383, 43.020333 ] } }, { "type": "Feature", "properties": { "Incident number": 80030005, "Date": "1\/2\/2008", "Time": "09:03 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2541 S 13TH ST", "Location": [ 42.998238, -87.928620 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.928620048184911, 42.998237947544574 ] } }, { "type": "Feature", "properties": { "Incident number": 80310182, "Date": "1\/31\/2008", "Time": "07:14 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "3515 S 13TH ST", "Location": [ 42.980698, -87.929018 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.929018380746598, 42.98069815360757 ] } }, { "type": "Feature", "properties": { "Incident number": 80170033, "Date": "1\/17\/2008", "Time": "03:11 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2245-B S 18TH ST", "Location": [ 43.003591, -87.935527 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.935527486005981, 43.003590946159584 ] } }, { "type": "Feature", "properties": { "Incident number": 80110014, "Date": "1\/11\/2008", "Time": "12:01 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "3402 S 16TH ST", "Location": [ 42.982776, -87.933795 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.933794937388356, 42.982775717179301 ] } }, { "type": "Feature", "properties": { "Incident number": 80100152, "Date": "1\/10\/2008", "Time": "03:57 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "3500 S 13TH ST", "Location": [ 42.980732, -87.928926 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.928926477350288, 42.980732497085832 ] } }, { "type": "Feature", "properties": { "Incident number": 80310071, "Date": "1\/31\/2008", "Time": "11:27 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2701 S KINNICKINNIC AV", "Location": [ 42.995567, -87.896074 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.896074240665698, 42.995567244763343 ] } }, { "type": "Feature", "properties": { "Incident number": 80290101, "Date": "1\/29\/2008", "Time": "01:57 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "110 W HOLT AV", "Location": [ 42.982453, -87.909872 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.909871919095153, 42.982453483264678 ] } }, { "type": "Feature", "properties": { "Incident number": 80260043, "Date": "1\/26\/2008", "Time": "10:30 AM", "Police District": 6, "Offense 1": "ROBBERY", "Address": "2500 S 8 ST", "Location": [ 42.999075, -87.921214 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.92121391185313, 42.999074580904853 ] } }, { "type": "Feature", "properties": { "Incident number": 80240107, "Date": "1\/24\/2008", "Time": "04:23 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "3131 S 13TH ST", "Location": [ 42.987339, -87.928871 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 8, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.928871073720146, 42.987338696087477 ] } }, { "type": "Feature", "properties": { "Incident number": 80190017, "Date": "1\/19\/2008", "Time": "12:56 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "3057 S 8TH ST", "Location": [ 42.988870, -87.921528 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.921527964365879, 42.988869618096828 ] } }, { "type": "Feature", "properties": { "Incident number": 80190114, "Date": "1\/19\/2008", "Time": "03:24 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "623 E OTJEN ST", "Location": [ 42.998171, -87.901744 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.901743510675814, 42.998171093513911 ] } }, { "type": "Feature", "properties": { "Incident number": 80090082, "Date": "1\/9\/2008", "Time": "05:41 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2646 S 10TH ST", "Location": [ 42.996598, -87.924875 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.924874962923582, 42.99659849125743 ] } }, { "type": "Feature", "properties": { "Incident number": 80060044, "Date": "1\/6\/2008", "Time": "02:28 AM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "500 W HARRISON AV", "Location": [ 42.997677, -87.917096 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.917095629462068, 42.997677129462083 ] } }, { "type": "Feature", "properties": { "Incident number": 80040176, "Date": "1\/4\/2008", "Time": "08:18 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2305 S HOWELL AV", "Location": [ 43.002781, -87.904803 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.904803384311521, 43.00278134513615 ] } }, { "type": "Feature", "properties": { "Incident number": 80010192, "Date": "1\/1\/2008", "Time": "09:11 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "3006 S 9TH ST", "Location": [ 42.989965, -87.922602 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 8, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.922601843247932, 42.98996460078061 ] } }, { "type": "Feature", "properties": { "Incident number": 80310196, "Date": "1\/31\/2008", "Time": "09:55 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1803 N 23RD ST", "Location": [ 43.053796, -87.941431 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.941430595360217, 43.053795502914198 ] } }, { "type": "Feature", "properties": { "Incident number": 80320004, "Date": "1\/31\/2008", "Time": "10:34 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "2155 N LINDSAY ST", "Location": [ 43.058504, -87.924631 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.924630628516013, 43.058504253084955 ] } }, { "type": "Feature", "properties": { "Incident number": 80300017, "Date": "1\/30\/2008", "Time": "02:11 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2449 N 50TH ST", "Location": [ 43.063587, -87.976268 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.97626762479058, 43.063587 ] } }, { "type": "Feature", "properties": { "Incident number": 80270117, "Date": "1\/27\/2008", "Time": "07:23 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2624 W LISBON AV", "Location": [ 43.053481, -87.947211 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.947210708436742, 43.053481402186954 ] } }, { "type": "Feature", "properties": { "Incident number": 80260129, "Date": "1\/26\/2008", "Time": "09:25 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1522 W FOND DU LAC AV", "Location": [ 43.055798, -87.932157 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 5, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.932157151797696, 43.055797566766564 ] } }, { "type": "Feature", "properties": { "Incident number": 80260007, "Date": "1\/25\/2008", "Time": "11:34 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1814 N 23RD ST", "Location": [ 43.054046, -87.941356 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.941356389636141, 43.054046497085807 ] } }, { "type": "Feature", "properties": { "Incident number": 80240131, "Date": "1\/24\/2008", "Time": "07:08 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "4018 W LISBON AV", "Location": [ 43.056012, -87.964147 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.964147311385688, 43.056011649200642 ] } }, { "type": "Feature", "properties": { "Incident number": 80230139, "Date": "1\/23\/2008", "Time": "06:35 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2813 N 8TH ST", "Location": [ 43.069815, -87.921462 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.921461606468711, 43.069815335276139 ] } }, { "type": "Feature", "properties": { "Incident number": 80170090, "Date": "1\/17\/2008", "Time": "11:39 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "4000 W LISBON AV", "Location": [ 43.055773, -87.963593 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.96359261165729, 43.055772942415686 ] } }, { "type": "Feature", "properties": { "Incident number": 80170185, "Date": "1\/17\/2008", "Time": "07:00 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1520 W GALENA ST", "Location": [ 43.050065, -87.927774 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.927773652020818, 43.050065471252985 ] } }, { "type": "Feature", "properties": { "Incident number": 80160091, "Date": "1\/16\/2008", "Time": "11:01 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "2839 N 35TH ST", "Location": [ 43.070625, -87.957429 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.957428613682083, 43.070625335276134 ] } }, { "type": "Feature", "properties": { "Incident number": 80160104, "Date": "1\/16\/2008", "Time": "01:57 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2501 W BROWN ST", "Location": [ 43.056282, -87.945162 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.945162204019866, 43.056281795980141 ] } }, { "type": "Feature", "properties": { "Incident number": 80150107, "Date": "1\/15\/2008", "Time": "01:25 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2748 N 24TH ST", "Location": [ 43.068995, -87.942376 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.942375919066492, 43.068995413266784 ] } }, { "type": "Feature", "properties": { "Incident number": 80150169, "Date": "1\/15\/2008", "Time": "08:14 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "1355 N 35TH ST", "Location": [ 43.048431, -87.957719 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957718847995665, 43.048430789996388 ] } }, { "type": "Feature", "properties": { "Incident number": 80130019, "Date": "1\/13\/2008", "Time": "01:50 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2000 W NORTH AV", "Location": [ 43.060531, -87.937830 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 5, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.937830136274457, 43.060530518754561 ] } }, { "type": "Feature", "properties": { "Incident number": 80130180, "Date": "1\/13\/2008", "Time": "06:08 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2200 W CENTER ST", "Location": [ 43.067923, -87.939991 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.939990586588053, 43.067923320981933 ] } }, { "type": "Feature", "properties": { "Incident number": 80130020, "Date": "1\/12\/2008", "Time": "11:17 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2624 W LISBON AV", "Location": [ 43.053481, -87.947211 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.947210708436742, 43.053481402186954 ] } }, { "type": "Feature", "properties": { "Incident number": 80090180, "Date": "1\/9\/2008", "Time": "06:25 PM", "Police District": 1, "Offense 1": "ROBBERY", "Address": "1156 W WALNUT ST", "Location": [ 43.052784, -87.926682 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 2, "g_clusterK8": 2, "e_clusterK9": 7, "g_clusterK9": 7, "e_clusterK10": 8, "g_clusterK10": 8 }, "geometry": { "type": "Point", "coordinates": [ -87.926681918011909, 43.052784199377001 ] } }, { "type": "Feature", "properties": { "Incident number": 80080020, "Date": "1\/8\/2008", "Time": "08:10 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2422 N SHERMAN BL", "Location": [ 43.063001, -87.967406 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.967405915171369, 43.06300141326679 ] } }, { "type": "Feature", "properties": { "Incident number": 80080046, "Date": "1\/8\/2008", "Time": "09:48 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2627 W LISBON AV", "Location": [ 43.053167, -87.946595 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.946594534248064, 43.053167437273991 ] } }, { "type": "Feature", "properties": { "Incident number": 80080178, "Date": "1\/8\/2008", "Time": "06:25 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2525 W MEDFORD AV", "Location": [ 43.063968, -87.945247 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.945247310891958, 43.063967500204612 ] } }, { "type": "Feature", "properties": { "Incident number": 80080201, "Date": "1\/8\/2008", "Time": "05:57 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2152 N 41ST ST", "Location": [ 43.058618, -87.964603 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.96460291185312, 43.058618245628708 ] } }, { "type": "Feature", "properties": { "Incident number": 80070017, "Date": "1\/7\/2008", "Time": "03:00 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2500 W LISBON AV", "Location": [ 43.053305, -87.945201 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.945201456840209, 43.053305406661082 ] } }, { "type": "Feature", "properties": { "Incident number": 80060185, "Date": "1\/6\/2008", "Time": "07:54 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "1038 W HADLEY ST", "Location": [ 43.069496, -87.925072 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.92507233236195, 43.069496489324209 ] } }, { "type": "Feature", "properties": { "Incident number": 80050035, "Date": "1\/5\/2008", "Time": "11:07 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2032 N 35TH ST", "Location": [ 43.057116, -87.957545 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.957544922384699, 43.057116 ] } }, { "type": "Feature", "properties": { "Incident number": 80040066, "Date": "1\/4\/2008", "Time": "01:50 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2469 N 34TH ST", "Location": [ 43.063947, -87.956309 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.956308632003953, 43.063946863725526 ] } }, { "type": "Feature", "properties": { "Incident number": 80020080, "Date": "1\/2\/2008", "Time": "12:09 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2543 W FOND DU LAC AV", "Location": [ 43.065814, -87.945520 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.94552032150726, 43.065813620543004 ] } }, { "type": "Feature", "properties": { "Incident number": 80020195, "Date": "1\/2\/2008", "Time": "10:27 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2350 N 35TH ST", "Location": [ 43.061501, -87.957463 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.957463311510423, 43.061500990168199 ] } }, { "type": "Feature", "properties": { "Incident number": 80010023, "Date": "1\/1\/2008", "Time": "07:45 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "5100 W LISBON AV", "Location": [ 43.063000, -87.977533 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 6, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 5, "g_clusterK9": 4, "e_clusterK10": 6, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.97753291699577, 43.062999966941348 ] } }, { "type": "Feature", "properties": { "Incident number": 80010033, "Date": "1\/1\/2008", "Time": "05:02 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2416 W CENTER ST", "Location": [ 43.067911, -87.943051 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 9, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.943050555369609, 43.067911493219327 ] } }, { "type": "Feature", "properties": { "Incident number": 80010039, "Date": "1\/1\/2008", "Time": "08:15 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2624 W LISBON AV", "Location": [ 43.053481, -87.947211 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.947210708436742, 43.053481402186954 ] } }, { "type": "Feature", "properties": { "Incident number": 80010164, "Date": "1\/1\/2008", "Time": "06:29 PM", "Police District": 3, "Offense 1": "ROBBERY", "Offense 2": "DESTRUCTION\/DAMAGE\/VANDALISM OF PROPERTY", "Address": "3033 W LISBON AV", "Location": [ 43.053999, -87.952106 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 7, "e_clusterK10": 4, "g_clusterK10": 4 }, "geometry": { "type": "Point", "coordinates": [ -87.952105838334546, 43.053998648883521 ] } }, { "type": "Feature", "properties": { "Incident number": 90010045, "Date": "1\/1\/2009", "Time": "05:03 AM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "2632 N BOOTH ST", "Location": [ 43.066394, -87.904076 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 1, "g_clusterK6": 1, "e_clusterK7": 3, "g_clusterK7": 3, "e_clusterK8": 3, "g_clusterK8": 3, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 7, "g_clusterK10": 3 }, "geometry": { "type": "Point", "coordinates": [ -87.904075900744644, 43.066394245628722 ] } }, { "type": "Feature", "properties": { "Incident number": 90010089, "Date": "1\/1\/2009", "Time": "12:32 PM", "Police District": 5, "Offense 1": "ROBBERY", "Address": "3242 N 12TH ST", "Location": [ 43.077455, -87.926145 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 1, "g_clusterK4": 1, "e_clusterK5": 1, "g_clusterK5": 1, "e_clusterK6": 0, "g_clusterK6": 0, "e_clusterK7": 0, "g_clusterK7": 0, "e_clusterK8": 5, "g_clusterK8": 5, "e_clusterK9": 2, "g_clusterK9": 2, "e_clusterK10": 1, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.926145393531272, 43.077455245628727 ] } }, { "type": "Feature", "properties": { "Incident number": 90010106, "Date": "1\/1\/2009", "Time": "04:50 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "4475 N HOPKINS ST", "Location": [ 43.098707, -87.957545 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 1, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.957544817675398, 43.098706519562604 ] } }, { "type": "Feature", "properties": { "Incident number": 90010159, "Date": "1\/1\/2009", "Time": "09:11 PM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3808 N 37TH ST", "Location": [ 43.086203, -87.959555 ], "e_clusterK2": 0, "g_clusterK2": 0, "e_clusterK3": 1, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 0, "e_clusterK5": 4, "g_clusterK5": 4, "e_clusterK6": 2, "g_clusterK6": 2, "e_clusterK7": 6, "g_clusterK7": 6, "e_clusterK8": 0, "g_clusterK8": 0, "e_clusterK9": 1, "g_clusterK9": 1, "e_clusterK10": 0, "g_clusterK10": 9 }, "geometry": { "type": "Point", "coordinates": [ -87.959554886317918, 43.086203245628717 ] } }, { "type": "Feature", "properties": { "Incident number": 90010148, "Date": "1\/1\/2009", "Time": "07:12 PM", "Police District": 2, "Offense 1": "ROBBERY", "Address": "2555 S 5TH PL", "Location": [ 42.997960, -87.917979 ], "e_clusterK2": 1, "g_clusterK2": 1, "e_clusterK3": 0, "g_clusterK3": 0, "e_clusterK4": 2, "g_clusterK4": 2, "e_clusterK5": 2, "g_clusterK5": 2, "e_clusterK6": 3, "g_clusterK6": 3, "e_clusterK7": 2, "g_clusterK7": 2, "e_clusterK8": 7, "g_clusterK8": 7, "e_clusterK9": 3, "g_clusterK9": 3, "e_clusterK10": 5, "g_clusterK10": 5 }, "geometry": { "type": "Point", "coordinates": [ -87.917978544289767, 42.997959922009365 ] } }, { "type": "Feature", "properties": { "Incident number": 90010050, "Date": "1\/1\/2009", "Time": "04:52 AM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2419 N 28TH ST", "Location": [ 43.062903, -87.948730 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 1 }, "geometry": { "type": "Point", "coordinates": [ -87.948729573720144, 43.06290333527614 ] } }, { "type": "Feature", "properties": { "Incident number": 90020004, "Date": "1\/1\/2009", "Time": "11:03 PM", "Police District": 3, "Offense 1": "ROBBERY", "Address": "2263 N 40TH ST", "Location": [ 43.060090, -87.963503 ], "e_clusterK2": 1, "g_clusterK2": 0, "e_clusterK3": 2, "g_clusterK3": 2, "e_clusterK4": 0, "g_clusterK4": 1, "e_clusterK5": 0, "g_clusterK5": 0, "e_clusterK6": 4, "g_clusterK6": 4, "e_clusterK7": 5, "g_clusterK7": 5, "e_clusterK8": 4, "g_clusterK8": 4, "e_clusterK9": 4, "g_clusterK9": 4, "e_clusterK10": 4, "g_clusterK10": 6 }, "geometry": { "type": "Point", "coordinates": [ -87.96350255492321, 43.060090447655675 ] } } ] }
'use strict'; module.exports = function(grunt) { grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc' }, all: [ 'Gruntfile.js', 'assets/js/*.js', 'assets/js/plugins/*.js', '!assets/js/scripts.min.js' ] }, uglify: { dist: { files: { 'assets/js/scripts.min.js': [ 'assets/js/plugins/*.js', 'assets/js/_*.js' ] } } }, imagemin: { dist: { options: { optimizationLevel: 7, progressive: true }, files: [{ expand: true, cwd: 'images/', src: '{,*/}*.{png,jpg,jpeg}', dest: 'images/' }] } }, svgmin: { dist: { files: [{ expand: true, cwd: 'images/', src: '{,*/}*.svg', dest: 'images/' }] } }, watch: { js: { files: [ '<%= jshint.all %>' ], tasks: ['uglify'] } }, clean: { dist: [ 'assets/js/scripts.min.js' ] } }); // Load tasks grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-imagemin'); grunt.loadNpmTasks('grunt-svgmin'); // Register tasks grunt.registerTask('default', [ 'clean', 'imagemin', 'svgmin' ]); grunt.registerTask('dev', [ 'watch' ]); };
import Button from './Button'; /** * The `LinkButton` component defines a `Button` which links to a route. * * ### Props * * All of the props accepted by `Button`, plus: * * - `active` Whether or not the page that this button links to is currently * active. * - `href` The URL to link to. If the current URL `m.route()` matches this, * the `active` prop will automatically be set to true. */ export default class LinkButton extends Button { static initProps(props) { props.active = this.isActive(props); props.config = props.config || m.route; } view() { const vdom = super.view(); vdom.tag = 'a'; return vdom; } /** * Determine whether a component with the given props is 'active'. * * @param {Object} props * @return {Boolean} */ static isActive(props) { return typeof props.active !== 'undefined' ? props.active : m.route() === props.href; } }
module.exports = function throwIfNonUnexpectedError(err) { if (err && err.message === 'aggregate error') { for (var i = 0 ; i < err.length ; i += 1) { throwIfNonUnexpectedError(err[i]); } } else if (!err || !err._isUnexpected) { throw err; } };
'use strict'; exports.__esModule = true; exports.configure = configure; var _aureliaViewManager = require('aurelia-view-manager'); var _datatable = require('./datatable'); var _columnsFilter = require('./columns-filter'); var _convertManager = require('./convert-manager'); function configure(aurelia) { aurelia.plugin('aurelia-pager'); aurelia.container.get(_aureliaViewManager.Config).configureNamespace('spoonx/datatable', { location: './{{framework}}/{{view}}.html' }); aurelia.globalResources('./datatable'); }
file:/home/charlike/dev/glob-fs/fixtures/a/d9.js
const DrawCard = require('../../drawcard.js'); class Alayaya extends DrawCard { setupCardAbilities() { this.reaction({ when: { afterChallenge: event => ( event.challenge.winner === this.controller && this.isParticipating() && event.challenge.loser.gold >= 1) }, handler: context => { let otherPlayer = context.event.challenge.loser; this.game.transferGold({ from: otherPlayer, to: this.controller, amount: 1 }); this.game.addMessage('{0} uses {1} to move 1 gold from {2}\'s gold pool to their own', this.controller, this, otherPlayer); } }); } } Alayaya.code = '05013'; module.exports = Alayaya;
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const HTMLElement = require("./HTMLElement.js"); const impl = utils.implSymbol; function HTMLTextAreaElement() { throw new TypeError("Illegal constructor"); } Object.setPrototypeOf(HTMLTextAreaElement.prototype, HTMLElement.interface.prototype); Object.setPrototypeOf(HTMLTextAreaElement, HTMLElement.interface); HTMLTextAreaElement.prototype.select = function select() { if (!this || !module.exports.is(this)) { throw new TypeError("Illegal invocation"); } return this[impl].select(); }; HTMLTextAreaElement.prototype.setRangeText = function setRangeText(replacement) { if (!this || !module.exports.is(this)) { throw new TypeError("Illegal invocation"); } if (arguments.length < 1) { throw new TypeError( "Failed to execute 'setRangeText' on 'HTMLTextAreaElement': 1 argument required, but only " + arguments.length + " present." ); } const args = []; for (let i = 0; i < arguments.length && i < 4; ++i) { args[i] = arguments[i]; } args[0] = conversions["DOMString"](args[0], { context: "Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1" }); return this[impl].setRangeText(...args); }; HTMLTextAreaElement.prototype.setSelectionRange = function setSelectionRange(start, end) { if (!this || !module.exports.is(this)) { throw new TypeError("Illegal invocation"); } if (arguments.length < 2) { throw new TypeError( "Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': 2 arguments required, but only " + arguments.length + " present." ); } const args = []; for (let i = 0; i < arguments.length && i < 3; ++i) { args[i] = arguments[i]; } args[0] = conversions["unsigned long"](args[0], { context: "Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 1" }); args[1] = conversions["unsigned long"](args[1], { context: "Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 2" }); if (args[2] !== undefined) { args[2] = conversions["DOMString"](args[2], { context: "Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 3" }); } return this[impl].setSelectionRange(...args); }; Object.defineProperty(HTMLTextAreaElement.prototype, "autocomplete", { get() { const value = this.getAttribute("autocomplete"); return value === null ? "" : value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'autocomplete' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("autocomplete", V); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "autofocus", { get() { return this.hasAttribute("autofocus"); }, set(V) { V = conversions["boolean"](V, { context: "Failed to set the 'autofocus' property on 'HTMLTextAreaElement': The provided value" }); if (V) { this.setAttribute("autofocus", ""); } else { this.removeAttribute("autofocus"); } }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "cols", { get() { return this[impl].cols; }, set(V) { V = conversions["unsigned long"](V, { context: "Failed to set the 'cols' property on 'HTMLTextAreaElement': The provided value" }); this[impl].cols = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "dirName", { get() { const value = this.getAttribute("dirName"); return value === null ? "" : value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'dirName' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("dirName", V); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "disabled", { get() { return this.hasAttribute("disabled"); }, set(V) { V = conversions["boolean"](V, { context: "Failed to set the 'disabled' property on 'HTMLTextAreaElement': The provided value" }); if (V) { this.setAttribute("disabled", ""); } else { this.removeAttribute("disabled"); } }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "form", { get() { return utils.tryWrapperForImpl(this[impl].form); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "inputMode", { get() { const value = this.getAttribute("inputMode"); return value === null ? "" : value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'inputMode' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("inputMode", V); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "maxLength", { get() { const value = parseInt(this.getAttribute("maxLength")); return isNaN(value) || value < -2147483648 || value > 2147483647 ? 0 : value; }, set(V) { V = conversions["long"](V, { context: "Failed to set the 'maxLength' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("maxLength", String(V)); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "minLength", { get() { const value = parseInt(this.getAttribute("minLength")); return isNaN(value) || value < -2147483648 || value > 2147483647 ? 0 : value; }, set(V) { V = conversions["long"](V, { context: "Failed to set the 'minLength' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("minLength", String(V)); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "name", { get() { const value = this.getAttribute("name"); return value === null ? "" : value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'name' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("name", V); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "placeholder", { get() { const value = this.getAttribute("placeholder"); return value === null ? "" : value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'placeholder' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("placeholder", V); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "readOnly", { get() { return this.hasAttribute("readOnly"); }, set(V) { V = conversions["boolean"](V, { context: "Failed to set the 'readOnly' property on 'HTMLTextAreaElement': The provided value" }); if (V) { this.setAttribute("readOnly", ""); } else { this.removeAttribute("readOnly"); } }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "required", { get() { return this.hasAttribute("required"); }, set(V) { V = conversions["boolean"](V, { context: "Failed to set the 'required' property on 'HTMLTextAreaElement': The provided value" }); if (V) { this.setAttribute("required", ""); } else { this.removeAttribute("required"); } }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "rows", { get() { return this[impl].rows; }, set(V) { V = conversions["unsigned long"](V, { context: "Failed to set the 'rows' property on 'HTMLTextAreaElement': The provided value" }); this[impl].rows = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "wrap", { get() { const value = this.getAttribute("wrap"); return value === null ? "" : value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'wrap' property on 'HTMLTextAreaElement': The provided value" }); this.setAttribute("wrap", V); }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "type", { get() { return this[impl].type; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "defaultValue", { get() { return this[impl].defaultValue; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'defaultValue' property on 'HTMLTextAreaElement': The provided value" }); this[impl].defaultValue = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "value", { get() { return this[impl].value; }, set(V) { V = conversions["DOMString"](V, { context: "Failed to set the 'value' property on 'HTMLTextAreaElement': The provided value", treatNullAsEmptyString: true }); this[impl].value = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "textLength", { get() { return this[impl].textLength; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "selectionStart", { get() { return this[impl].selectionStart; }, set(V) { if (V === null || V === undefined) { V = null; } else { V = conversions["unsigned long"](V, { context: "Failed to set the 'selectionStart' property on 'HTMLTextAreaElement': The provided value" }); } this[impl].selectionStart = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "selectionEnd", { get() { return this[impl].selectionEnd; }, set(V) { if (V === null || V === undefined) { V = null; } else { V = conversions["unsigned long"](V, { context: "Failed to set the 'selectionEnd' property on 'HTMLTextAreaElement': The provided value" }); } this[impl].selectionEnd = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, "selectionDirection", { get() { return this[impl].selectionDirection; }, set(V) { if (V === null || V === undefined) { V = null; } else { V = conversions["DOMString"](V, { context: "Failed to set the 'selectionDirection' property on 'HTMLTextAreaElement': The provided value" }); } this[impl].selectionDirection = V; }, enumerable: true, configurable: true }); Object.defineProperty(HTMLTextAreaElement.prototype, Symbol.toStringTag, { value: "HTMLTextAreaElement", writable: false, enumerable: false, configurable: true }); const iface = { mixedInto: [], is(obj) { if (obj) { if (obj[impl] instanceof Impl.implementation) { return true; } for (let i = 0; i < module.exports.mixedInto.length; ++i) { if (obj instanceof module.exports.mixedInto[i]) { return true; } } } return false; }, isImpl(obj) { if (obj) { if (obj instanceof Impl.implementation) { return true; } const wrapper = utils.wrapperForImpl(obj); for (let i = 0; i < module.exports.mixedInto.length; ++i) { if (wrapper instanceof module.exports.mixedInto[i]) { return true; } } } return false; }, convert(obj, { context = "The provided value" } = {}) { if (module.exports.is(obj)) { return utils.implForWrapper(obj); } throw new TypeError(`${context} is not of type 'HTMLTextAreaElement'.`); }, create(constructorArgs, privateData) { let obj = Object.create(HTMLTextAreaElement.prototype); this.setup(obj, constructorArgs, privateData); return obj; }, createImpl(constructorArgs, privateData) { let obj = Object.create(HTMLTextAreaElement.prototype); this.setup(obj, constructorArgs, privateData); return utils.implForWrapper(obj); }, _internalSetup(obj) { HTMLElement._internalSetup(obj); }, setup(obj, constructorArgs, privateData) { if (!privateData) privateData = {}; privateData.wrapper = obj; this._internalSetup(obj); Object.defineProperty(obj, impl, { value: new Impl.implementation(constructorArgs, privateData), writable: false, enumerable: false, configurable: true }); obj[impl][utils.wrapperSymbol] = obj; }, interface: HTMLTextAreaElement, expose: { Window: { HTMLTextAreaElement: HTMLTextAreaElement } } }; module.exports = iface; const Impl = require("../nodes/HTMLTextAreaElement-impl.js");
$.fn.observationFieldsForm = function(options) { $(this).each(function() { var that = this $('.observation_field_chooser', this).chooser({ collectionUrl: '/observation_fields.json', resourceUrl: '/observation_fields/{{id}}.json', afterSelect: function(item) { $('.observation_field_chooser', that).parents('.ui-chooser:first').next('.button').click() $('.observation_field_chooser', that).chooser('clear') } }) $('.addfieldbutton', this).hide() $('#createfieldbutton', this).click(ObservationFields.newObservationFieldButtonHandler) ObservationFields.fieldify({focus: false}) }) } $.fn.newObservationField = function(markup) { var currentField = $('.observation_field_chooser', this).chooser('selected') if (!currentField || typeof(currentField) == 'undefined') { alert('Please choose a field type') return } if ($('#observation_field_'+currentField.recordId, this).length > 0) { alert('You already have a field for that type') return } $('.observation_fields', this).append(markup) ObservationFields.fieldify({observationField: currentField}) } var ObservationFields = { newObservationFieldButtonHandler: function() { var url = $(this).attr('href'), dialog = $('<div class="dialog"><span class="loading status">Loading...</span></div>') $(document.body).append(dialog) $(dialog).dialog({ modal:true, title: I18n.t('new_observation_field') }) $(dialog).load(url, "format=js", function() { $('form', dialog).submit(function() { $.ajax({ type: "post", url: $(this).attr('action'), data: $(this).serialize(), dataType: 'json' }) .done(function(data, textStatus, req) { $(dialog).dialog('close') $('.observation_field_chooser').chooser('selectItem', data) }) .fail(function (xhr, ajaxOptions, thrownError){ var json = $.parseJSON(xhr.responseText) if (json && json.errors && json.errors.length > 0) { alert(json.errors.join('')) } else { alert(I18n.t('doh_something_went_wrong')) } }) return false }) $(this).centerDialog() }) return false }, fieldify: function(options) { options = options || {} options.focus = typeof(options.focus) == 'undefined' ? true : options.focus $('.observation_field').not('.fieldified').each(function() { var lastName = $(this).siblings('.fieldified:last').find('input').attr('name') if (lastName) { var matches = lastName.match(/observation_field_values_attributes\]\[(\d*)\]/) if (matches) { var index = parseInt(matches[1]) + 1 } else { var index = 0 } } else { var index = 0 } $(this).addClass('fieldified') var input = $('.ofv_input input.text', this) var currentField = options.observationField || $.parseJSON($(input).attr('data-json')) if (!currentField) return currentField.recordId = currentField.recordId || currentField.id $(this).attr('id', 'observation_field_'+currentField.recordId) $(this).attr('data-observation-field-id', currentField.recordId) $('.labeldesc label', this).html(currentField.name) $('.description', this).html(currentField.description) $('.observation_field_id', this).val(currentField.recordId) $('input', this).each(function() { var newName = $(this).attr('name') .replace( /observation_field_values_attributes\]\[(\d*)\]/, 'observation_field_values_attributes]['+index+']') $(this).attr('name', newName) }) if (currentField.allowed_values && currentField.allowed_values != '') { var allowed_values = currentField.allowed_values.split('|') var select = $('<select></select>') for (var i=0; i < allowed_values.length; i++) { select.append($('<option>'+allowed_values[i]+'</option>')) } select.change(function() { input.val($(this).val()) }) $(input).hide() $(input).after(select) select.val(input.val()).change() if (options.focus) { select.focus() } } else if (currentField.datatype == 'numeric') { var newInput = input.clone() newInput.attr('type', 'number') newInput.attr('step', 'any') input.after(newInput) input.remove() if (options.focus) { newInput.focus() } } else if (currentField.datatype == 'date') { $(input).iNatDatepicker({constrainInput: true}) if (options.focus) { input.focus() } } else if (currentField.datatype == 'time') { $(input).timepicker({}) if (options.focus) { input.focus() } } else if (currentField.datatype == 'taxon') { var newInput = input.clone() newInput.attr('name', 'taxon_name') input.after(newInput) input.hide() $(newInput).removeClass('ofv_value_field') var taxon = input.data( "taxon" ); if( taxon ) { newInput.val( taxon.leading_name ); } $(newInput).taxonAutocomplete({ taxon_id_el: input }); if( options.focus ) { newInput.focus( ); } } else if (options.focus) { input.focus() } }) }, showObservationFieldsDialog: function(options) { options = options || {} var url = options.url || '/observations/'+window.observation.id+'/fields', title = options.title || I18n.t('observation_fields'), originalInput = options.originalInput var dialog = $('#obsfielddialog') if (dialog.length == 0) { dialog = $('<div id="obsfielddialog"></div>').addClass('dialog').html('<div class="loading status">Loading...</div>') } $('.qtip.ui-tooltip').qtip('hide'); dialog.load(url, function() { var diag = this $(this).observationFieldsForm() $(this).centerDialog() $('form:has(input[required])', this).submit(checkFormForRequiredFields) if (originalInput) { var form = $('form', this) $(form).submit(function() { var ajaxOptions = { url: $(form).attr('action'), type: $(form).attr('method'), data: $(form).serialize(), dataType: 'json' } $.ajax(ajaxOptions).done(function() { $.rails.fire($(originalInput), 'ajax:success') $(diag).dialog('close') }).fail(function() { alert('Failed to add to project') }) return false }) } }) dialog.dialog({ modal: true, title: title, width: 600, maxHeight: $(window).height() * 0.8 }) } } // the following stuff doesn't have too much to do with observation fields, but it's at least tangentially related $(document).ready(function() { $(document).on('ajax:success', '#project_menu .addlink, .project_invitation .acceptlink, #projectschooser .addlink', function(e, json, status) { var observationId = (json && json.observation_id) || $(this).data('observation-id') || window.observation.id if (json && json.project && json.project.project_observation_fields && json.project.project_observation_fields.length > 0) { if (json.observation.observation_field_values && json.observation.observation_field_values.length > 0) { var ofvs = json.observation.observation_field_values, pofs = json.project.project_observation_fields, ofv_of_ids = $.map(ofvs, function(ofv) { return ofv.observation_field_id }), pof_of_ids = $.map(pofs, function(pof) { return pof.observation_field_id }), intersection = $.map(ofv_of_ids, function(a) { return $.inArray(a, pof_of_ids) < 0 ? null : a }) if (intersection.length >= pof_of_ids.length) { return true } } ObservationFields.showObservationFieldsDialog({ url: '/observations/'+observationId+'/fields?project_id='+json.project_id, title: 'Project observation fields for ' + json.project.title, originalInput: this }) } }) $(document).on('ajax:error', '#project_menu .addlink, .project_invitation .acceptlink, #projectschooser .addlink', function(e, xhr, error, status) { var json = $.parseJSON(xhr.responseText), projectId = json.project_observation.project_id || $(this).data('project-id'), observationId = json.project_observation.observation_id || $(this).data('observation-id') || window.observation.id if (json.error.match(/observation field/)) { ObservationFields.showObservationFieldsDialog({ url: '/observations/'+observationId+'/fields?project_id='+projectId, title: 'Project observation fields', originalInput: this }) } else if (json.error.match(/must belong to a member/)) { showJoinProjectDialog(projectId, {originalInput: this}) } else { alert(json.error) } }) $(document).on('ajax:error', '#project_menu .removelink, .project_invitation .removelink, #projectschooser .removelink', function(e, xhr, error, status) { alert(xhr.responseText) }) })
exports.createSession = function(req, res, newUser) { return req.session.regenerate(function() { req.session.user = newUser; // res.redirect('/'); }); }; exports.isLoggedIn = function(req, res) { // return req.session ? !!req.session.user : false; console.log(!!req.user); return req.user ? !!req.user : false; }; exports.checkUser = function(req, res, next){ if (!exports.isLoggedIn(req)){ res.redirect('/login'); } else { next(); } };
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- function returnValueSquare(x,y,z) { WScript.Echo("value:"+ x + " index:" + y + " Object:" + z); return x*x; } function returnIndexSquare(x,y,z) { WScript.Echo("value:"+ x + " index:" + y + " Object:" + z); return y*y; } function returnRandom(x,y,z) { WScript.Echo("value:"+ x + " index:" + y + " Object:" + z); return x*y; } Array.prototype[6] = 20; var x = [1,2,3,4,5]; var y = x.map(returnValueSquare,this); WScript.Echo(y); x = [10,20,30,40,50]; y = x.map(returnIndexSquare, this); WScript.Echo(y); x = [10,20,30,40,50]; y = x.map(returnRandom, this); WScript.Echo(y); x = {0: "abc", 1: "def", 2: "xyz"} x.length = 3; y = Array.prototype.map.call(x, returnValueSquare,this); WScript.Echo(y); y = Array.prototype.map.call(x, returnIndexSquare,this); WScript.Echo(y); y = Array.prototype.map.call(x, returnRandom, this); WScript.Echo(y); x = [10,20,30,40,50]; x[8] = 10; y = x.map(returnValueSquare, this); WScript.Echo(y);
const gulp = require('gulp'); const util = require('gulp-util'); const zip = require('gulp-zip'); const release = require('gulp-github-release'); const folders = require('gulp-folders'); const nwBuilder = require('gulp-nw-builder'); const fs = require('fs'); const changelog = require('conventional-changelog'); const execSync = require('child_process').execSync; const del = require('del'); const vinylPaths = require('vinyl-paths'); const getPaths = require('./_common').getPaths; const currentTag = require('./_common').currentTag; const binaryPath = () => getPaths().bin.build + '/OpenChallenge'; gulp.task('clean:binaries', () => { const paths = getPaths(); return gulp.src([paths.bin.build, paths.bin.release]) .pipe(vinylPaths(del)) .on('error', util.log); }); gulp.task('package:binaries', ['generate:binaries'], folders(binaryPath(), (folder) => { return gulp.src(`${binaryPath()}/${folder}/**/*`) .pipe(zip(`${folder}.zip`)) .pipe(gulp.dest(getPaths().bin.release)); })); gulp.task('upload:binaries', ['package:binaries'], () => { return gulp.src(`${getPaths().bin.release}/*.zip`) .pipe(release({ repo: 'openchallenge', owner: 'seiyria', tag: currentTag(), manifest: require('../package.json') })); }); gulp.task('generate:binaries', ['clean:binaries', 'copy:nw'], () => { execSync('npm install --prefix ./dist/ express'); const paths = getPaths(); return gulp.src(`${paths.dist}/**/*`) .pipe(nwBuilder({ version: 'v0.12.2', platforms: ['osx64', 'win64', 'linux64'], appName: 'OpenChallenge', appVersion: currentTag(), buildDir: paths.bin.build, cacheDir: paths.bin.cache, macIcns: './favicon.icns', winIco: './favicon.ico' })); }); gulp.task('generate:changelog', () => { return changelog({ releaseCount: 0, preset: 'angular' }) .pipe(fs.createWriteStream('CHANGELOG.md')); });
(function () { 'use strict'; angular .module('app.layout') .controller('SidebarController', SidebarController); SidebarController.$inject = ['routerHelper', '$scope', '$rootScope']; /* @ngInject */ function SidebarController (routerHelper, $scope, $rootScope) { var vm = this; vm.hideSidebar = hideSidebar; init(); /////////////// function init () { // generate sidebar nav menus vm.navs = _getNavMenus(); // tell others we have sidebar $rootScope.hasSidebar = true; $scope.$on('$destroy', function () { $rootScope.hasSidebar = false; }); } function hideSidebar () { $rootScope.showSidebar = false; } function _getNavMenus () { var navs = []; var allStates = routerHelper.getStates(); allStates.forEach(function (state) { if (state.sidebar) { var nav = state.sidebar; nav.link = state.name; navs.push(nav); } }); return navs; } } })();
// ==UserScript== // @name Sticky vote buttons // @namespace http://stackexchange.com/users/4337810/ // @version 1.0 // @description Makes the vote buttons next to posts sticky whilst scrolling on that post // @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/) // @match *://*.stackexchange.com/* // @match *://*.stackoverflow.com/* // @match *://*.superuser.com/* // @match *://*.serverfault.com/* // @match *://*.askubuntu.com/* // @match *://*.stackapps.com/* // @match *://*.mathoverflow.net/* // @require https://cdn.rawgit.com/EnzoMartin/Sticky-Element/master/jquery.stickyelement.js // @grant none // ==/UserScript== $(document).ready(function() { $(window).scroll(function(){ $(".votecell").each(function(){ var offset = 0; if($(".topbar").css("position") == "fixed"){ offset = 34; } var vote = $(this).find(".vote"); if($(this).offset().top - $(window).scrollTop() + offset <= 0){ if($(this).offset().top + $(this).height() + offset - $(window).scrollTop() - vote.height() > 0){ vote.css({position:"fixed", left:$(this).offset().left, top:0 + offset}); }else{ vote.css({position:"relative", left:0, top:$(this).height()-vote.height()}); } }else{ vote.css({position:"relative", left:0, top:0}); } }); }); });
/** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * @author paulirish / http://paulirish.com/ */ THREE.FirstPersonControls = function ( object, domElement ) { if ( domElement === undefined ) { console.warn( 'THREE.FirstPersonControls: The second parameter "domElement" is now mandatory.' ); domElement = document; } this.object = object; this.domElement = domElement; // API this.enabled = true; this.movementSpeed = 1.0; this.lookSpeed = 0.005; this.lookVertical = true; this.autoForward = false; this.activeLook = true; this.heightSpeed = false; this.heightCoef = 1.0; this.heightMin = 0.0; this.heightMax = 1.0; this.constrainVertical = false; this.verticalMin = 0; this.verticalMax = Math.PI; this.mouseDragOn = false; // internals this.autoSpeedFactor = 0.0; this.mouseX = 0; this.mouseY = 0; this.moveForward = false; this.moveBackward = false; this.moveLeft = false; this.moveRight = false; this.viewHalfX = 0; this.viewHalfY = 0; // private variables var lat = 0; var lon = 0; var lookDirection = new THREE.Vector3(); var spherical = new THREE.Spherical(); var target = new THREE.Vector3(); // if ( this.domElement !== document ) { this.domElement.setAttribute( 'tabindex', - 1 ); } // this.handleResize = function () { if ( this.domElement === document ) { this.viewHalfX = window.innerWidth / 2; this.viewHalfY = window.innerHeight / 2; } else { this.viewHalfX = this.domElement.offsetWidth / 2; this.viewHalfY = this.domElement.offsetHeight / 2; } }; this.onMouseDown = function ( event ) { if ( this.domElement !== document ) { this.domElement.focus(); } event.preventDefault(); event.stopPropagation(); if ( this.activeLook ) { switch ( event.button ) { case 0: this.moveForward = true; break; case 2: this.moveBackward = true; break; } } this.mouseDragOn = true; }; this.onMouseUp = function ( event ) { event.preventDefault(); event.stopPropagation(); if ( this.activeLook ) { switch ( event.button ) { case 0: this.moveForward = false; break; case 2: this.moveBackward = false; break; } } this.mouseDragOn = false; }; this.onMouseMove = function ( event ) { if ( this.domElement === document ) { this.mouseX = event.pageX - this.viewHalfX; this.mouseY = event.pageY - this.viewHalfY; } else { this.mouseX = event.pageX - this.domElement.offsetLeft - this.viewHalfX; this.mouseY = event.pageY - this.domElement.offsetTop - this.viewHalfY; } }; this.onKeyDown = function ( event ) { //event.preventDefault(); switch ( event.keyCode ) { case 38: /*up*/ case 87: /*W*/ this.moveForward = true; break; case 37: /*left*/ case 65: /*A*/ this.moveLeft = true; break; case 40: /*down*/ case 83: /*S*/ this.moveBackward = true; break; case 39: /*right*/ case 68: /*D*/ this.moveRight = true; break; case 82: /*R*/ this.moveUp = true; break; case 70: /*F*/ this.moveDown = true; break; } }; this.onKeyUp = function ( event ) { switch ( event.keyCode ) { case 38: /*up*/ case 87: /*W*/ this.moveForward = false; break; case 37: /*left*/ case 65: /*A*/ this.moveLeft = false; break; case 40: /*down*/ case 83: /*S*/ this.moveBackward = false; break; case 39: /*right*/ case 68: /*D*/ this.moveRight = false; break; case 82: /*R*/ this.moveUp = false; break; case 70: /*F*/ this.moveDown = false; break; } }; this.lookAt = function ( x, y, z ) { if ( x.isVector3 ) { target.copy( x ); } else { target.set( x, y, z ); } this.object.lookAt( target ); setOrientation( this ); return this; }; this.update = function () { var targetPosition = new THREE.Vector3(); return function update( delta ) { if ( this.enabled === false ) return; if ( this.heightSpeed ) { var y = THREE.Math.clamp( this.object.position.y, this.heightMin, this.heightMax ); var heightDelta = y - this.heightMin; this.autoSpeedFactor = delta * ( heightDelta * this.heightCoef ); } else { this.autoSpeedFactor = 0.0; } var actualMoveSpeed = delta * this.movementSpeed; if ( this.moveForward || ( this.autoForward && ! this.moveBackward ) ) this.object.translateZ( - ( actualMoveSpeed + this.autoSpeedFactor ) ); if ( this.moveBackward ) this.object.translateZ( actualMoveSpeed ); if ( this.moveLeft ) this.object.translateX( - actualMoveSpeed ); if ( this.moveRight ) this.object.translateX( actualMoveSpeed ); if ( this.moveUp ) this.object.translateY( actualMoveSpeed ); if ( this.moveDown ) this.object.translateY( - actualMoveSpeed ); var actualLookSpeed = delta * this.lookSpeed; if ( ! this.activeLook ) { actualLookSpeed = 0; } var verticalLookRatio = 1; if ( this.constrainVertical ) { verticalLookRatio = Math.PI / ( this.verticalMax - this.verticalMin ); } lon -= this.mouseX * actualLookSpeed; if ( this.lookVertical ) lat -= this.mouseY * actualLookSpeed * verticalLookRatio; lat = Math.max( - 85, Math.min( 85, lat ) ); var phi = THREE.Math.degToRad( 90 - lat ); var theta = THREE.Math.degToRad( lon ); if ( this.constrainVertical ) { phi = THREE.Math.mapLinear( phi, 0, Math.PI, this.verticalMin, this.verticalMax ); } var position = this.object.position; targetPosition.setFromSphericalCoords( 1, phi, theta ).add( position ); this.object.lookAt( targetPosition ); }; }(); function contextmenu( event ) { event.preventDefault(); } this.dispose = function () { this.domElement.removeEventListener( 'contextmenu', contextmenu, false ); this.domElement.removeEventListener( 'mousedown', _onMouseDown, false ); this.domElement.removeEventListener( 'mousemove', _onMouseMove, false ); this.domElement.removeEventListener( 'mouseup', _onMouseUp, false ); window.removeEventListener( 'keydown', _onKeyDown, false ); window.removeEventListener( 'keyup', _onKeyUp, false ); }; var _onMouseMove = bind( this, this.onMouseMove ); var _onMouseDown = bind( this, this.onMouseDown ); var _onMouseUp = bind( this, this.onMouseUp ); var _onKeyDown = bind( this, this.onKeyDown ); var _onKeyUp = bind( this, this.onKeyUp ); this.domElement.addEventListener( 'contextmenu', contextmenu, false ); this.domElement.addEventListener( 'mousemove', _onMouseMove, false ); this.domElement.addEventListener( 'mousedown', _onMouseDown, false ); this.domElement.addEventListener( 'mouseup', _onMouseUp, false ); window.addEventListener( 'keydown', _onKeyDown, false ); window.addEventListener( 'keyup', _onKeyUp, false ); function bind( scope, fn ) { return function () { fn.apply( scope, arguments ); }; } function setOrientation( controls ) { var quaternion = controls.object.quaternion; lookDirection.set( 0, 0, - 1 ).applyQuaternion( quaternion ); spherical.setFromVector3( lookDirection ); lat = 90 - THREE.Math.radToDeg( spherical.phi ); lon = THREE.Math.radToDeg( spherical.theta ); } this.handleResize(); setOrientation( this ); };
"use strict"; /** * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); var util_1 = require("./util/util"); /** * Abstraction around FirebaseApp's token fetching capabilities. */ var AuthTokenProvider = /** @class */ (function () { /** * @param {!FirebaseApp} app_ */ function AuthTokenProvider(app_) { this.app_ = app_; } /** * @param {boolean} forceRefresh * @return {!Promise<FirebaseAuthTokenData>} */ AuthTokenProvider.prototype.getToken = function (forceRefresh) { return this.app_['INTERNAL']['getToken'](forceRefresh).then(null, // .catch function (error) { // TODO: Need to figure out all the cases this is raised and whether // this makes sense. if (error && error.code === 'auth/token-not-initialized') { util_1.log('Got auth/token-not-initialized error. Treating as null token.'); return null; } else { return Promise.reject(error); } }); }; AuthTokenProvider.prototype.addTokenChangeListener = function (listener) { // TODO: We might want to wrap the listener and call it with no args to // avoid a leaky abstraction, but that makes removing the listener harder. this.app_['INTERNAL']['addAuthTokenListener'](listener); }; AuthTokenProvider.prototype.removeTokenChangeListener = function (listener) { this.app_['INTERNAL']['removeAuthTokenListener'](listener); }; AuthTokenProvider.prototype.notifyForInvalidToken = function () { var errorMessage = 'Provided authentication credentials for the app named "' + this.app_.name + '" are invalid. This usually indicates your app was not ' + 'initialized correctly. '; if ('credential' in this.app_.options) { errorMessage += 'Make sure the "credential" property provided to initializeApp() ' + 'is authorized to access the specified "databaseURL" and is from the correct ' + 'project.'; } else if ('serviceAccount' in this.app_.options) { errorMessage += 'Make sure the "serviceAccount" property provided to initializeApp() ' + 'is authorized to access the specified "databaseURL" and is from the correct ' + 'project.'; } else { errorMessage += 'Make sure the "apiKey" and "databaseURL" properties provided to ' + 'initializeApp() match the values provided for your app at ' + 'https://console.firebase.google.com/.'; } util_1.warn(errorMessage); }; return AuthTokenProvider; }()); exports.AuthTokenProvider = AuthTokenProvider; //# sourceMappingURL=AuthTokenProvider.js.map
import modules from 'ui/modules'; import angular from 'angular'; function Storage(store) { let self = this; self.store = store; self.get = function (key) { try { return JSON.parse(self.store.getItem(key)); } catch (e) { return null; } }; self.set = function (key, value) { try { return self.store.setItem(key, angular.toJson(value)); } catch (e) { return false; } }; self.remove = function (key) { return self.store.removeItem(key); }; self.clear = function () { return self.store.clear(); }; } let createService = function (type) { return function ($window) { return new Storage($window[type]); }; }; modules.get('kibana/storage') .service('localStorage', createService('localStorage')) .service('sessionStorage', createService('sessionStorage'));
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var plugin_1 = require('./plugin'); /** * @name Camera * @description * Take a photo or capture video. * * Requires {@link module:driftyco/ionic-native} and the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera). * * @usage * ```typescript * import { Camera } from 'ionic-native'; * * * Camera.getPicture(options).then((imageData) => { * // imageData is either a base64 encoded string or a file URI * // If it's base64: * let base64Image = 'data:image/jpeg;base64,' + imageData; * }, (err) => { * // Handle error * }); * ``` * @interfaces * CameraOptions * CameraPopoverOptions */ var Camera = (function () { function Camera() { } /** * Take a picture or video, or load one from the library. * @param {CameraOptions?} options optional. Options that you want to pass to the camera. Encoding type, quality, etc. Platform-specific quirks are described in the [Cordova plugin docs](https://github.com/apache/cordova-plugin-camera#cameraoptions-errata-). * @returns {Promise<any>} Returns a Promise that resolves with Base64 encoding of the image data, or the image file URI, depending on cameraOptions, otherwise rejects with an error. */ Camera.getPicture = function (options) { return; }; /** * Remove intermediate image files that are kept in temporary storage after calling camera.getPicture. * Applies only when the value of Camera.sourceType equals Camera.PictureSourceType.CAMERA and the Camera.destinationType equals Camera.DestinationType.FILE_URI. * @returns {Promise<any>} */ Camera.cleanup = function () { return; }; ; /** * @private * @enum {number} */ Camera.DestinationType = { /** Return base64 encoded string. DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible */ DATA_URL: 0, /** Return file uri (content://media/external/images/media/2 for Android) */ FILE_URI: 1, /** Return native uri (eg. asset-library://... for iOS) */ NATIVE_URI: 2 }; /** * @private * @enum {number} */ Camera.EncodingType = { /** Return JPEG encoded image */ JPEG: 0, /** Return PNG encoded image */ PNG: 1 }; /** * @private * @enum {number} */ Camera.MediaType = { /** Allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType */ PICTURE: 0, /** Allow selection of video only, ONLY RETURNS URL */ VIDEO: 1, /** Allow selection from all media types */ ALLMEDIA: 2 }; /** * @private * @enum {number} */ Camera.PictureSourceType = { /** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */ PHOTOLIBRARY: 0, /** Take picture from camera */ CAMERA: 1, /** Choose image from picture library (same as PHOTOLIBRARY for Android) */ SAVEDPHOTOALBUM: 2 }; /** * @private * Matches iOS UIPopoverArrowDirection constants to specify arrow location on popover. * @enum {number} */ Camera.PopoverArrowDirection = { ARROW_UP: 1, ARROW_DOWN: 2, ARROW_LEFT: 4, ARROW_RIGHT: 8, ARROW_ANY: 15 }; /** * @private * @enum {number} */ Camera.Direction = { /** Use the back-facing camera */ BACK: 0, /** Use the front-facing camera */ FRONT: 1 }; __decorate([ plugin_1.Cordova({ callbackOrder: 'reverse' }) ], Camera, "getPicture", null); __decorate([ plugin_1.Cordova({ platforms: ['iOS'] }) ], Camera, "cleanup", null); Camera = __decorate([ plugin_1.Plugin({ pluginName: 'Camera', plugin: 'cordova-plugin-camera', pluginRef: 'navigator.camera', repo: 'https://github.com/apache/cordova-plugin-camera', platforms: ['Android', 'BlackBerry', 'Browser', 'Firefox', 'FireOS', 'iOS', 'Windows', 'Windows Phone 8', 'Ubuntu'] }) ], Camera); return Camera; }()); exports.Camera = Camera; //# sourceMappingURL=camera.js.map
// Copyright (c) 2020 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. 'use strict'; function ThriftConst(def) { this.name = def.id.name; this.valueDefinition = def.value; this.defined = false; this.value = null; this.surface = null; } ThriftConst.prototype.models = 'value'; ThriftConst.prototype.link = function link(model) { if (!this.defined) { this.defined = true; this.value = model.resolveValue(this.valueDefinition); this.surface = this.value; model.consts[this.name] = this.value; // Alias if first character is not lower-case if (!/^[a-z]/.test(this.name)) { model[this.name] = this.value; } } return this; }; module.exports.ThriftConst = ThriftConst;
import "ember"; import EmberHandlebars from "ember-handlebars"; var compile = EmberHandlebars.compile; var Router, App, AppView, router, container; var set = Ember.set; function bootApplication() { router = container.lookup('router:main'); Ember.run(App, 'advanceReadiness'); } // IE includes the host name function normalizeUrl(url) { return url.replace(/https?:\/\/[^\/]+/,''); } function shouldNotBeActive(selector) { checkActive(selector, false); } function shouldBeActive(selector) { checkActive(selector, true); } function checkActive(selector, active) { var classList = Ember.$(selector, '#qunit-fixture')[0].className; equal(classList.indexOf('active') > -1, active, selector + " active should be " + active.toString()); } var updateCount, replaceCount; function sharedSetup() { App = Ember.Application.create({ name: "App", rootElement: '#qunit-fixture' }); App.deferReadiness(); updateCount = replaceCount = 0; App.Router.reopen({ location: Ember.NoneLocation.createWithMixins({ setURL: function(path) { updateCount++; set(this, 'path', path); }, replaceURL: function(path) { replaceCount++; set(this, 'path', path); } }) }); Router = App.Router; container = App.__container__; } function sharedTeardown() { Ember.run(function() { App.destroy(); }); Ember.TEMPLATES = {}; } QUnit.module("The {{link-to}} helper", { setup: function() { Ember.run(function() { sharedSetup(); Ember.TEMPLATES.app = compile("{{outlet}}"); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'about' id='about-link'}}About{{/link-to}}{{#link-to 'index' id='self-link'}}Self{{/link-to}}"); Ember.TEMPLATES.about = compile("<h3>About</h3>{{#link-to 'index' id='home-link'}}Home{{/link-to}}{{#link-to 'about' id='self-link'}}Self{{/link-to}}"); Ember.TEMPLATES.item = compile("<h3>Item</h3><p>{{name}}</p>{{#link-to 'index' id='home-link'}}Home{{/link-to}}"); AppView = Ember.View.extend({ templateName: 'app' }); container.register('view:app', AppView); container.register('router:main', Router); }); }, teardown: sharedTeardown }); test("The {{link-to}} helper moves into the named route", function() { Router.map(function(match) { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(Ember.$('h3:contains(Home)', '#qunit-fixture').length, 1, "The home template was rendered"); equal(Ember.$('#self-link.active', '#qunit-fixture').length, 1, "The self-link was rendered with active class"); equal(Ember.$('#about-link:not(.active)', '#qunit-fixture').length, 1, "The other link was rendered without active class"); Ember.run(function() { Ember.$('#about-link', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(About)', '#qunit-fixture').length, 1, "The about template was rendered"); equal(Ember.$('#self-link.active', '#qunit-fixture').length, 1, "The self-link was rendered with active class"); equal(Ember.$('#home-link:not(.active)', '#qunit-fixture').length, 1, "The other link was rendered without active class"); }); test("The {{link-to}} helper supports URL replacement", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'about' id='about-link' replace=true}}About{{/link-to}}"); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(updateCount, 0, 'precond: setURL has not been called'); equal(replaceCount, 0, 'precond: replaceURL has not been called'); Ember.run(function() { Ember.$('#about-link', '#qunit-fixture').click(); }); equal(updateCount, 0, 'setURL should not be called'); equal(replaceCount, 1, 'replaceURL should be called once'); }); test("the {{link-to}} helper doesn't add an href when the tagName isn't 'a'", function() { Ember.TEMPLATES.index = compile("{{#link-to 'about' id='about-link' tagName='div'}}About{{/link-to}}"); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(Ember.$('#about-link').attr('href'), undefined, "there is no href attribute"); }); test("the {{link-to}} applies a 'disabled' class when disabled", function () { Ember.TEMPLATES.index = compile('{{#link-to "about" id="about-link" disabledWhen="shouldDisable"}}About{{/link-to}}'); App.IndexController = Ember.Controller.extend({ shouldDisable: true }); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(Ember.$('#about-link.disabled', '#qunit-fixture').length, 1, "The link is disabled when its disabledWhen is true"); }); test("the {{link-to}} doesn't apply a 'disabled' class if disabledWhen is not provided", function () { Ember.TEMPLATES.index = compile('{{#link-to "about" id="about-link"}}About{{/link-to}}'); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); ok(!Ember.$('#about-link', '#qunit-fixture').hasClass("disabled"), "The link is not disabled if disabledWhen not provided"); }); test("the {{link-to}} helper supports a custom disabledClass", function () { Ember.TEMPLATES.index = compile('{{#link-to "about" id="about-link" disabledWhen="shouldDisable" disabledClass="do-not-want"}}About{{/link-to}}'); App.IndexController = Ember.Controller.extend({ shouldDisable: true }); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(Ember.$('#about-link.do-not-want', '#qunit-fixture').length, 1, "The link can apply a custom disabled class"); }); test("the {{link-to}} helper does not respond to clicks when disabled", function () { Ember.TEMPLATES.index = compile('{{#link-to "about" id="about-link" disabledWhen="shouldDisable"}}About{{/link-to}}'); App.IndexController = Ember.Controller.extend({ shouldDisable: true }); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); Ember.run(function() { Ember.$('#about-link', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(About)', '#qunit-fixture').length, 0, "Transitioning did not occur"); }); test("The {{link-to}} helper supports a custom activeClass", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'about' id='about-link'}}About{{/link-to}}{{#link-to 'index' id='self-link' activeClass='zomg-active'}}Self{{/link-to}}"); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(Ember.$('h3:contains(Home)', '#qunit-fixture').length, 1, "The home template was rendered"); equal(Ember.$('#self-link.zomg-active', '#qunit-fixture').length, 1, "The self-link was rendered with active class"); equal(Ember.$('#about-link:not(.active)', '#qunit-fixture').length, 1, "The other link was rendered without active class"); }); test("The {{link-to}} helper supports leaving off .index for nested routes", function() { Router.map(function() { this.resource("about", function() { this.route("item"); }); }); Ember.TEMPLATES.about = compile("<h1>About</h1>{{outlet}}"); Ember.TEMPLATES['about/index'] = compile("<div id='index'>Index</div>"); Ember.TEMPLATES['about/item'] = compile("<div id='item'>{{#link-to 'about'}}About{{/link-to}}</div>"); bootApplication(); Ember.run(router, 'handleURL', '/about/item'); equal(normalizeUrl(Ember.$('#item a', '#qunit-fixture').attr('href')), '/about'); }); test("The {{link-to}} helper supports currentWhen (DEPRECATED)", function() { expectDeprecation('Using currentWhen with {{link-to}} is deprecated in favor of `current-when`.'); Router.map(function(match) { this.resource("index", { path: "/" }, function() { this.route("about"); }); this.route("item"); }); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{outlet}}"); Ember.TEMPLATES['index/about'] = compile("{{#link-to 'item' id='other-link' currentWhen='index'}}ITEM{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); equal(Ember.$('#other-link.active', '#qunit-fixture').length, 1, "The link is active since current-when is a parent route"); }); test("The {{link-to}} helper supports custom, nested, current-when", function() { Router.map(function(match) { this.resource("index", { path: "/" }, function() { this.route("about"); }); this.route("item"); }); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{outlet}}"); Ember.TEMPLATES['index/about'] = compile("{{#link-to 'item' id='other-link' current-when='index'}}ITEM{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); equal(Ember.$('#other-link.active', '#qunit-fixture').length, 1, "The link is active since current-when is a parent route"); }); test("The {{link-to}} helper does not disregard current-when when it is given explicitly for a resource", function() { Router.map(function(match) { this.resource("index", { path: "/" }, function() { this.route("about"); }); this.resource("items",function(){ this.route('item'); }); }); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{outlet}}"); Ember.TEMPLATES['index/about'] = compile("{{#link-to 'items' id='other-link' current-when='index'}}ITEM{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); equal(Ember.$('#other-link.active', '#qunit-fixture').length, 1, "The link is active when current-when is given for explicitly for a resource"); }); if (Ember.FEATURES.isEnabled("ember-routing-multi-current-when")) { test("The {{link-to}} helper supports multiple current-when routes", function() { Router.map(function(match) { this.resource("index", { path: "/" }, function() { this.route("about"); }); this.route("item"); this.route("foo"); }); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{outlet}}"); Ember.TEMPLATES['index/about'] = compile("{{#link-to 'item' id='link1' current-when='item index'}}ITEM{{/link-to}}"); Ember.TEMPLATES['item'] = compile("{{#link-to 'item' id='link2' current-when='item index'}}ITEM{{/link-to}}"); Ember.TEMPLATES['foo'] = compile("{{#link-to 'item' id='link3' current-when='item index'}}ITEM{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); equal(Ember.$('#link1.active', '#qunit-fixture').length, 1, "The link is active since current-when contains the parent route"); Ember.run(function() { router.handleURL("/item"); }); equal(Ember.$('#link2.active', '#qunit-fixture').length, 1, "The link is active since you are on the active route"); Ember.run(function() { router.handleURL("/foo"); }); equal(Ember.$('#link3.active', '#qunit-fixture').length, 0, "The link is not active since current-when does not contain the active route"); }); } test("The {{link-to}} helper defaults to bubbling", function() { Ember.TEMPLATES.about = compile("<div {{action 'hide'}}>{{#link-to 'about.contact' id='about-contact'}}About{{/link-to}}</div>{{outlet}}"); Ember.TEMPLATES['about/contact'] = compile("<h1 id='contact'>Contact</h1>"); Router.map(function() { this.resource("about", function() { this.route("contact"); }); }); var hidden = 0; App.AboutRoute = Ember.Route.extend({ actions: { hide: function() { hidden++; } } }); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); Ember.run(function() { Ember.$('#about-contact', '#qunit-fixture').click(); }); equal(Ember.$("#contact", "#qunit-fixture").text(), "Contact", "precond - the link worked"); equal(hidden, 1, "The link bubbles"); }); test("The {{link-to}} helper supports bubbles=false", function() { Ember.TEMPLATES.about = compile("<div {{action 'hide'}}>{{#link-to 'about.contact' id='about-contact' bubbles=false}}About{{/link-to}}</div>{{outlet}}"); Ember.TEMPLATES['about/contact'] = compile("<h1 id='contact'>Contact</h1>"); Router.map(function() { this.resource("about", function() { this.route("contact"); }); }); var hidden = 0; App.AboutRoute = Ember.Route.extend({ actions: { hide: function() { hidden++; } } }); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); Ember.run(function() { Ember.$('#about-contact', '#qunit-fixture').click(); }); equal(Ember.$("#contact", "#qunit-fixture").text(), "Contact", "precond - the link worked"); equal(hidden, 0, "The link didn't bubble"); }); test("The {{link-to}} helper moves into the named route with context", function() { Router.map(function(match) { this.route("about"); this.resource("item", { path: "/item/:id" }); }); Ember.TEMPLATES.about = compile("<h3>List</h3><ul>{{#each person in controller}}<li>{{#link-to 'item' person}}{{person.name}}{{/link-to}}</li>{{/each}}</ul>{{#link-to 'index' id='home-link'}}Home{{/link-to}}"); App.AboutRoute = Ember.Route.extend({ model: function() { return Ember.A([ { id: "yehuda", name: "Yehuda Katz" }, { id: "tom", name: "Tom Dale" }, { id: "erik", name: "Erik Brynroflsson" } ]); } }); App.ItemRoute = Ember.Route.extend({ serialize: function(object) { return { id: object.id }; } }); bootApplication(); Ember.run(function() { router.handleURL("/about"); }); equal(Ember.$('h3:contains(List)', '#qunit-fixture').length, 1, "The home template was rendered"); equal(normalizeUrl(Ember.$('#home-link').attr('href')), '/', "The home link points back at /"); Ember.run(function() { Ember.$('li a:contains(Yehuda)', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(Item)', '#qunit-fixture').length, 1, "The item template was rendered"); equal(Ember.$('p', '#qunit-fixture').text(), "Yehuda Katz", "The name is correct"); Ember.run(function() { Ember.$('#home-link').click(); }); Ember.run(function() { Ember.$('#about-link').click(); }); equal(normalizeUrl(Ember.$('li a:contains(Yehuda)').attr('href')), "/item/yehuda"); equal(normalizeUrl(Ember.$('li a:contains(Tom)').attr('href')), "/item/tom"); equal(normalizeUrl(Ember.$('li a:contains(Erik)').attr('href')), "/item/erik"); Ember.run(function() { Ember.$('li a:contains(Erik)', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(Item)', '#qunit-fixture').length, 1, "The item template was rendered"); equal(Ember.$('p', '#qunit-fixture').text(), "Erik Brynroflsson", "The name is correct"); }); test("The {{link-to}} helper binds some anchor html tag common attributes", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'index' id='self-link' title='title-attr' rel='rel-attr' tabindex='-1'}}Self{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/"); }); var link = Ember.$('#self-link', '#qunit-fixture'); equal(link.attr('title'), 'title-attr', "The self-link contains title attribute"); equal(link.attr('rel'), 'rel-attr', "The self-link contains rel attribute"); equal(link.attr('tabindex'), '-1', "The self-link contains tabindex attribute"); }); if(Ember.FEATURES.isEnabled('ember-routing-linkto-target-attribute')) { test("The {{link-to}} helper supports `target` attribute", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'index' id='self-link' target='_blank'}}Self{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/"); }); var link = Ember.$('#self-link', '#qunit-fixture'); equal(link.attr('target'), '_blank', "The self-link contains `target` attribute"); }); test("The {{link-to}} helper does not call preventDefault if `target` attribute is provided", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'index' id='self-link' target='_blank'}}Self{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/"); }); var event = Ember.$.Event("click"); Ember.$('#self-link', '#qunit-fixture').trigger(event); equal(event.isDefaultPrevented(), false, "should not preventDefault when target attribute is specified"); }); test("The {{link-to}} helper should preventDefault when `target = _self`", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#link-to 'index' id='self-link' target='_self'}}Self{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/"); }); var event = Ember.$.Event("click"); Ember.$('#self-link', '#qunit-fixture').trigger(event); equal(event.isDefaultPrevented(), true, "should preventDefault when target attribute is `_self`"); }); test("The {{link-to}} helper should not transition if target is not equal to _self or empty", function() { Ember.TEMPLATES.index = compile("{{#link-to 'about' id='about-link' replace=true target='_blank'}}About{{/link-to}}"); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); Ember.run(function() { Ember.$('#about-link', '#qunit-fixture').click(); }); notEqual(container.lookup('controller:application').get('currentRouteName'), 'about', 'link-to should not transition if target is not equal to _self or empty'); }); } test("The {{link-to}} helper accepts string/numeric arguments", function() { Router.map(function() { this.route('filter', { path: '/filters/:filter' }); this.route('post', { path: '/post/:post_id' }); this.route('repo', { path: '/repo/:owner/:name' }); }); App.FilterController = Ember.Controller.extend({ filter: "unpopular", repo: Ember.Object.create({owner: 'ember', name: 'ember.js'}), post_id: 123 }); Ember.TEMPLATES.filter = compile('<p>{{filter}}</p>{{#link-to "filter" "unpopular" id="link"}}Unpopular{{/link-to}}{{#link-to "filter" filter id="path-link"}}Unpopular{{/link-to}}{{#link-to "post" post_id id="post-path-link"}}Post{{/link-to}}{{#link-to "post" 123 id="post-number-link"}}Post{{/link-to}}{{#link-to "repo" repo id="repo-object-link"}}Repo{{/link-to}}'); Ember.TEMPLATES.index = compile(' '); bootApplication(); Ember.run(function() { router.handleURL("/filters/popular"); }); equal(normalizeUrl(Ember.$('#link', '#qunit-fixture').attr('href')), "/filters/unpopular"); equal(normalizeUrl(Ember.$('#path-link', '#qunit-fixture').attr('href')), "/filters/unpopular"); equal(normalizeUrl(Ember.$('#post-path-link', '#qunit-fixture').attr('href')), "/post/123"); equal(normalizeUrl(Ember.$('#post-number-link', '#qunit-fixture').attr('href')), "/post/123"); equal(normalizeUrl(Ember.$('#repo-object-link', '#qunit-fixture').attr('href')), "/repo/ember/ember.js"); }); test("Issue 4201 - Shorthand for route.index shouldn't throw errors about context arguments", function() { expect(2); Router.map(function() { this.resource('lobby', function() { this.route('index', { path: ':lobby_id' }); this.route('list'); }); }); App.LobbyIndexRoute = Ember.Route.extend({ model: function(params) { equal(params.lobby_id, 'foobar'); return params.lobby_id; } }); Ember.TEMPLATES['lobby/index'] = compile("{{#link-to 'lobby' 'foobar' id='lobby-link'}}Lobby{{/link-to}}"); Ember.TEMPLATES.index = compile(""); Ember.TEMPLATES['lobby/list'] = compile("{{#link-to 'lobby' 'foobar' id='lobby-link'}}Lobby{{/link-to}}"); bootApplication(); Ember.run(router, 'handleURL', '/lobby/list'); Ember.run(Ember.$('#lobby-link'), 'click'); shouldBeActive('#lobby-link'); }); test("The {{link-to}} helper unwraps controllers", function() { expect(5); Router.map(function() { this.route('filter', { path: '/filters/:filter' }); }); var indexObject = { filter: 'popular' }; App.FilterRoute = Ember.Route.extend({ model: function(params) { return indexObject; }, serialize: function(passedObject) { equal(passedObject, indexObject, "The unwrapped object is passed"); return { filter: 'popular' }; } }); App.IndexRoute = Ember.Route.extend({ model: function() { return indexObject; } }); Ember.TEMPLATES.filter = compile('<p>{{filter}}</p>'); Ember.TEMPLATES.index = compile('{{#link-to "filter" this id="link"}}Filter{{/link-to}}'); bootApplication(); Ember.run(function() { router.handleURL("/"); }); Ember.$('#link', '#qunit-fixture').trigger('click'); }); test("The {{link-to}} helper doesn't change view context", function() { App.IndexView = Ember.View.extend({ elementId: 'index', name: 'test', isTrue: true }); Ember.TEMPLATES.index = compile("{{view.name}}-{{#link-to 'index' id='self-link'}}Link: {{view.name}}-{{#if view.isTrue}}{{view.name}}{{/if}}{{/link-to}}"); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(Ember.$('#index', '#qunit-fixture').text(), 'test-Link: test-test', "accesses correct view"); }); test("Quoteless route param performs property lookup", function() { Ember.TEMPLATES.index = compile("{{#link-to 'index' id='string-link'}}string{{/link-to}}{{#link-to foo id='path-link'}}path{{/link-to}}{{#link-to view.foo id='view-link'}}{{view.foo}}{{/link-to}}"); function assertEquality(href) { equal(normalizeUrl(Ember.$('#string-link', '#qunit-fixture').attr('href')), '/'); equal(normalizeUrl(Ember.$('#path-link', '#qunit-fixture').attr('href')), href); equal(normalizeUrl(Ember.$('#view-link', '#qunit-fixture').attr('href')), href); } App.IndexView = Ember.View.extend({ foo: 'index', elementId: 'index-view' }); App.IndexController = Ember.Controller.extend({ foo: 'index' }); App.Router.map(function() { this.route('about'); }); bootApplication(); Ember.run(router, 'handleURL', '/'); assertEquality('/'); var controller = container.lookup('controller:index'); var view = Ember.View.views['index-view']; Ember.run(function() { controller.set('foo', 'about'); view.set('foo', 'about'); }); assertEquality('/about'); }); test("link-to with null/undefined dynamic parameters are put in a loading state", function() { expect(19); var oldWarn = Ember.Logger.warn, warnCalled = false; Ember.Logger.warn = function() { warnCalled = true; }; Ember.TEMPLATES.index = compile("{{#link-to destinationRoute routeContext loadingClass='i-am-loading' id='context-link'}}string{{/link-to}}{{#link-to secondRoute loadingClass='i-am-loading' id='static-link'}}string{{/link-to}}"); var thing = Ember.Object.create({ id: 123 }); App.IndexController = Ember.Controller.extend({ destinationRoute: null, routeContext: null }); App.AboutRoute = Ember.Route.extend({ activate: function() { ok(true, "About was entered"); } }); App.Router.map(function() { this.route('thing', { path: '/thing/:thing_id' }); this.route('about'); }); bootApplication(); Ember.run(router, 'handleURL', '/'); function assertLinkStatus($link, url) { if (url) { equal(normalizeUrl($link.attr('href')), url, "loaded link-to has expected href"); ok(!$link.hasClass('i-am-loading'), "loaded linkView has no loadingClass"); } else { equal(normalizeUrl($link.attr('href')), '#', "unloaded link-to has href='#'"); ok($link.hasClass('i-am-loading'), "loading linkView has loadingClass"); } } var $contextLink = Ember.$('#context-link', '#qunit-fixture'); var $staticLink = Ember.$('#static-link', '#qunit-fixture'); var controller = container.lookup('controller:index'); assertLinkStatus($contextLink); assertLinkStatus($staticLink); Ember.run(function() { warnCalled = false; $contextLink.click(); ok(warnCalled, "Logger.warn was called from clicking loading link"); }); // Set the destinationRoute (context is still null). Ember.run(controller, 'set', 'destinationRoute', 'thing'); assertLinkStatus($contextLink); // Set the routeContext to an id Ember.run(controller, 'set', 'routeContext', '456'); assertLinkStatus($contextLink, '/thing/456'); // Test that 0 isn't interpreted as falsy. Ember.run(controller, 'set', 'routeContext', 0); assertLinkStatus($contextLink, '/thing/0'); // Set the routeContext to an object Ember.run(controller, 'set', 'routeContext', thing); assertLinkStatus($contextLink, '/thing/123'); // Set the destinationRoute back to null. Ember.run(controller, 'set', 'destinationRoute', null); assertLinkStatus($contextLink); Ember.run(function() { warnCalled = false; $staticLink.click(); ok(warnCalled, "Logger.warn was called from clicking loading link"); }); Ember.run(controller, 'set', 'secondRoute', 'about'); assertLinkStatus($staticLink, '/about'); // Click the now-active link Ember.run($staticLink, 'click'); Ember.Logger.warn = oldWarn; }); test("The {{link-to}} helper refreshes href element when one of params changes", function() { Router.map(function() { this.route('post', { path: '/posts/:post_id' }); }); var post = Ember.Object.create({id: '1'}); var secondPost = Ember.Object.create({id: '2'}); Ember.TEMPLATES.index = compile('{{#link-to "post" post id="post"}}post{{/link-to}}'); App.IndexController = Ember.Controller.extend(); var indexController = container.lookup('controller:index'); Ember.run(function() { indexController.set('post', post); }); bootApplication(); Ember.run(function() { router.handleURL("/"); }); equal(normalizeUrl(Ember.$('#post', '#qunit-fixture').attr('href')), '/posts/1', 'precond - Link has rendered href attr properly'); Ember.run(function() { indexController.set('post', secondPost); }); equal(Ember.$('#post', '#qunit-fixture').attr('href'), '/posts/2', 'href attr was updated after one of the params had been changed'); Ember.run(function() { indexController.set('post', null); }); equal(Ember.$('#post', '#qunit-fixture').attr('href'), '#', 'href attr becomes # when one of the arguments in nullified'); }); test("The {{link-to}} helper's bound parameter functionality works as expected in conjunction with an ObjectProxy/Controller", function() { Router.map(function() { this.route('post', { path: '/posts/:post_id' }); }); var post = Ember.Object.create({id: '1'}); var secondPost = Ember.Object.create({id: '2'}); Ember.TEMPLATES = { index: compile(' '), post: compile('{{#link-to "post" this id="self-link"}}selflink{{/link-to}}') }; App.PostController = Ember.ObjectController.extend(); var postController = container.lookup('controller:post'); bootApplication(); Ember.run(router, 'transitionTo', 'post', post); var $link = Ember.$('#self-link', '#qunit-fixture'); equal(normalizeUrl($link.attr('href')), '/posts/1', 'self link renders post 1'); Ember.run(postController, 'set', 'model', secondPost); equal(normalizeUrl($link.attr('href')), '/posts/2', 'self link updated to post 2'); }); test("{{linkTo}} is aliased", function() { Ember.TEMPLATES.index = compile("<h3>Home</h3>{{#linkTo 'about' id='about-link' replace=true}}About{{/linkTo}}"); Router.map(function() { this.route("about"); }); expectDeprecation(function() { bootApplication(); }, "The 'linkTo' view helper is deprecated in favor of 'link-to'"); Ember.run(function() { router.handleURL("/"); }); Ember.run(function() { Ember.$('#about-link', '#qunit-fixture').click(); }); equal(container.lookup('controller:application').get('currentRouteName'), 'about', 'linkTo worked properly'); }); test("The {{link-to}} helper is active when a resource is active", function() { Router.map(function() { this.resource("about", function() { this.route("item"); }); }); Ember.TEMPLATES.about = compile("<div id='about'>{{#link-to 'about' id='about-link'}}About{{/link-to}} {{#link-to 'about.item' id='item-link'}}Item{{/link-to}} {{outlet}}</div>"); Ember.TEMPLATES['about/item'] = compile(" "); Ember.TEMPLATES['about/index'] = compile(" "); bootApplication(); Ember.run(router, 'handleURL', '/about'); equal(Ember.$('#about-link.active', '#qunit-fixture').length, 1, "The about resource link is active"); equal(Ember.$('#item-link.active', '#qunit-fixture').length, 0, "The item route link is inactive"); Ember.run(router, 'handleURL', '/about/item'); equal(Ember.$('#about-link.active', '#qunit-fixture').length, 1, "The about resource link is active"); equal(Ember.$('#item-link.active', '#qunit-fixture').length, 1, "The item route link is active"); }); test("The {{link-to}} helper works in an #each'd array of string route names", function() { Router.map(function() { this.route('foo'); this.route('bar'); this.route('rar'); }); App.IndexController = Ember.Controller.extend({ routeNames: Ember.A(['foo', 'bar', 'rar']), route1: 'bar', route2: 'foo' }); Ember.TEMPLATES = { index: compile('{{#each routeName in routeNames}}{{#link-to routeName}}{{routeName}}{{/link-to}}{{/each}}{{#each routeNames}}{{#link-to this}}{{this}}{{/link-to}}{{/each}}{{#link-to route1}}a{{/link-to}}{{#link-to route2}}b{{/link-to}}') }; expectDeprecation(function() { bootApplication(); }, 'Using the context switching form of {{each}} is deprecated. Please use the keyword form (`{{#each foo in bar}}`) instead. See http://emberjs.com/guides/deprecations/#toc_more-consistent-handlebars-scope for more details.'); function linksEqual($links, expected) { equal($links.length, expected.length, "Has correct number of links"); var idx; for (idx = 0; idx < $links.length; idx++) { var href = Ember.$($links[idx]).attr('href'); // Old IE includes the whole hostname as well equal(href.slice(-expected[idx].length), expected[idx], "Expected link to be '"+expected[idx]+"', but was '"+href+"'"); } } linksEqual(Ember.$('a', '#qunit-fixture'), ["/foo", "/bar", "/rar", "/foo", "/bar", "/rar", "/bar", "/foo"]); var indexController = container.lookup('controller:index'); Ember.run(indexController, 'set', 'route1', 'rar'); linksEqual(Ember.$('a', '#qunit-fixture'), ["/foo", "/bar", "/rar", "/foo", "/bar", "/rar", "/rar", "/foo"]); Ember.run(indexController.routeNames, 'shiftObject'); linksEqual(Ember.$('a', '#qunit-fixture'), ["/bar", "/rar", "/bar", "/rar", "/rar", "/foo"]); }); test("The non-block form {{link-to}} helper moves into the named route", function() { expect(3); Router.map(function(match) { this.route("contact"); }); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{link-to 'Contact us' 'contact' id='contact-link'}}{{#link-to 'index' id='self-link'}}Self{{/link-to}}"); Ember.TEMPLATES.contact = compile("<h3>Contact</h3>{{link-to 'Home' 'index' id='home-link'}}{{link-to 'Self' 'contact' id='self-link'}}"); bootApplication(); Ember.run(function() { Ember.$('#contact-link', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(Contact)', '#qunit-fixture').length, 1, "The contact template was rendered"); equal(Ember.$('#self-link.active', '#qunit-fixture').length, 1, "The self-link was rendered with active class"); equal(Ember.$('#home-link:not(.active)', '#qunit-fixture').length, 1, "The other link was rendered without active class"); }); test("The non-block form {{link-to}} helper updates the link text when it is a binding", function() { expect(8); Router.map(function(match) { this.route("contact"); }); App.IndexController = Ember.Controller.extend({ contactName: 'Jane' }); Ember.TEMPLATES.index = compile("<h3>Home</h3>{{link-to contactName 'contact' id='contact-link'}}{{#link-to 'index' id='self-link'}}Self{{/link-to}}"); Ember.TEMPLATES.contact = compile("<h3>Contact</h3>{{link-to 'Home' 'index' id='home-link'}}{{link-to 'Self' 'contact' id='self-link'}}"); bootApplication(); Ember.run(function() { router.handleURL("/"); }); var controller = container.lookup('controller:index'); equal(Ember.$('#contact-link:contains(Jane)', '#qunit-fixture').length, 1, "The link title is correctly resolved"); Ember.run(function() { controller.set('contactName', 'Joe'); }); equal(Ember.$('#contact-link:contains(Joe)', '#qunit-fixture').length, 1, "The link title is correctly updated when the bound property changes"); Ember.run(function() { controller.set('contactName', 'Robert'); }); equal(Ember.$('#contact-link:contains(Robert)', '#qunit-fixture').length, 1, "The link title is correctly updated when the bound property changes a second time"); Ember.run(function() { Ember.$('#contact-link', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(Contact)', '#qunit-fixture').length, 1, "The contact template was rendered"); equal(Ember.$('#self-link.active', '#qunit-fixture').length, 1, "The self-link was rendered with active class"); equal(Ember.$('#home-link:not(.active)', '#qunit-fixture').length, 1, "The other link was rendered without active class"); Ember.run(function() { Ember.$('#home-link', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(Home)', '#qunit-fixture').length, 1, "The index template was rendered"); equal(Ember.$('#contact-link:contains(Robert)', '#qunit-fixture').length, 1, "The link title is correctly updated when the route changes"); }); test("The non-block form {{link-to}} helper moves into the named route with context", function() { expect(5); Router.map(function(match) { this.route("item", { path: "/item/:id" }); }); App.IndexRoute = Ember.Route.extend({ model: function() { return Ember.A([ { id: "yehuda", name: "Yehuda Katz" }, { id: "tom", name: "Tom Dale" }, { id: "erik", name: "Erik Brynroflsson" } ]); } }); App.ItemRoute = Ember.Route.extend({ serialize: function(object) { return { id: object.id }; } }); Ember.TEMPLATES.index = compile("<h3>Home</h3><ul>{{#each person in controller}}<li>{{link-to person.name 'item' person}}</li>{{/each}}</ul>"); Ember.TEMPLATES.item = compile("<h3>Item</h3><p>{{name}}</p>{{#link-to 'index' id='home-link'}}Home{{/link-to}}"); bootApplication(); Ember.run(function() { Ember.$('li a:contains(Yehuda)', '#qunit-fixture').click(); }); equal(Ember.$('h3:contains(Item)', '#qunit-fixture').length, 1, "The item template was rendered"); equal(Ember.$('p', '#qunit-fixture').text(), "Yehuda Katz", "The name is correct"); Ember.run(function() { Ember.$('#home-link').click(); }); equal(normalizeUrl(Ember.$('li a:contains(Yehuda)').attr('href')), "/item/yehuda"); equal(normalizeUrl(Ember.$('li a:contains(Tom)').attr('href')), "/item/tom"); equal(normalizeUrl(Ember.$('li a:contains(Erik)').attr('href')), "/item/erik"); }); test("The non-block form {{link-to}} performs property lookup", function() { Ember.TEMPLATES.index = compile("{{link-to 'string' 'index' id='string-link'}}{{link-to path foo id='path-link'}}{{link-to view.foo view.foo id='view-link'}}"); function assertEquality(href) { equal(normalizeUrl(Ember.$('#string-link', '#qunit-fixture').attr('href')), '/'); equal(normalizeUrl(Ember.$('#path-link', '#qunit-fixture').attr('href')), href); equal(normalizeUrl(Ember.$('#view-link', '#qunit-fixture').attr('href')), href); } App.IndexView = Ember.View.extend({ foo: 'index', elementId: 'index-view' }); App.IndexController = Ember.Controller.extend({ foo: 'index' }); App.Router.map(function() { this.route('about'); }); bootApplication(); Ember.run(router, 'handleURL', '/'); assertEquality('/'); var controller = container.lookup('controller:index'); var view = Ember.View.views['index-view']; Ember.run(function() { controller.set('foo', 'about'); view.set('foo', 'about'); }); assertEquality('/about'); }); test("The non-block form {{link-to}} protects against XSS", function() { Ember.TEMPLATES.application = compile("{{link-to display 'index' id='link'}}"); App.ApplicationController = Ember.Controller.extend({ display: 'blahzorz' }); bootApplication(); Ember.run(router, 'handleURL', '/'); var controller = container.lookup('controller:application'); equal(Ember.$('#link', '#qunit-fixture').text(), 'blahzorz'); Ember.run(function() { controller.set('display', '<b>BLAMMO</b>'); }); equal(Ember.$('#link', '#qunit-fixture').text(), '<b>BLAMMO</b>'); equal(Ember.$('b', '#qunit-fixture').length, 0); }); test("the {{link-to}} helper calls preventDefault", function(){ Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(router, 'handleURL', '/'); var event = Ember.$.Event("click"); Ember.$('#about-link', '#qunit-fixture').trigger(event); equal(event.isDefaultPrevented(), true, "should preventDefault"); }); test("the {{link-to}} helper does not call preventDefault if `preventDefault=false` is passed as an option", function(){ Ember.TEMPLATES.index = compile("{{#link-to 'about' id='about-link' preventDefault=false}}About{{/link-to}}"); Router.map(function() { this.route("about"); }); bootApplication(); Ember.run(router, 'handleURL', '/'); var event = Ember.$.Event("click"); Ember.$('#about-link', '#qunit-fixture').trigger(event); equal(event.isDefaultPrevented(), false, "should not preventDefault"); }); test("the {{link-to}} helper does not throw an error if its route has exited", function(){ expect(0); Ember.TEMPLATES.application = compile("{{#link-to 'index' id='home-link'}}Home{{/link-to}}{{#link-to 'post' defaultPost id='default-post-link'}}Default Post{{/link-to}}{{#if currentPost}}{{#link-to 'post' id='post-link'}}Post{{/link-to}}{{/if}}"); App.ApplicationController = Ember.Controller.extend({ needs: ['post'], currentPost: Ember.computed.alias('controllers.post.model') }); App.PostController = Ember.Controller.extend({ model: {id: 1} }); Router.map(function() { this.route("post", {path: 'post/:post_id'}); }); bootApplication(); Ember.run(router, 'handleURL', '/'); Ember.run(function() { Ember.$('#default-post-link', '#qunit-fixture').click(); }); Ember.run(function() { Ember.$('#home-link', '#qunit-fixture').click(); }); }); test("{{link-to}} active property respects changing parent route context", function() { Ember.TEMPLATES.application = compile( "{{link-to 'OMG' 'things' 'omg' id='omg-link'}} " + "{{link-to 'LOL' 'things' 'lol' id='lol-link'}} "); Router.map(function() { this.resource('things', { path: '/things/:name' }, function() { this.route('other'); }); }); bootApplication(); Ember.run(router, 'handleURL', '/things/omg'); shouldBeActive('#omg-link'); shouldNotBeActive('#lol-link'); Ember.run(router, 'handleURL', '/things/omg/other'); shouldBeActive('#omg-link'); shouldNotBeActive('#lol-link'); }); test("{{link-to}} populates href with default query param values even without query-params object", function() { App.IndexController = Ember.Controller.extend({ queryParams: ['foo'], foo: '123' }); Ember.TEMPLATES.index = compile("{{#link-to 'index' id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), "/", "link has right href"); }); test("{{link-to}} populates href with default query param values with empty query-params object", function() { App.IndexController = Ember.Controller.extend({ queryParams: ['foo'], foo: '123' }); Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params) id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), "/", "link has right href"); }); test("{{link-to}} populates href with supplied query param values", function() { App.IndexController = Ember.Controller.extend({ queryParams: ['foo'], foo: '123' }); Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params foo='456') id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), "/?foo=456", "link has right href"); }); test("{{link-to}} populates href with partially supplied query param values", function() { App.IndexController = Ember.Controller.extend({ queryParams: ['foo', 'bar'], foo: '123', bar: 'yes' }); Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params foo='456') id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), "/?foo=456", "link has right href"); }); test("{{link-to}} populates href with partially supplied query param values, but omits if value is default value", function() { App.IndexController = Ember.Controller.extend({ queryParams: ['foo', 'bar'], foo: '123', bar: 'yes' }); Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params foo='123') id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), "/", "link has right href"); }); test("{{link-to}} populates href with fully supplied query param values", function() { App.IndexController = Ember.Controller.extend({ queryParams: ['foo', 'bar'], foo: '123', bar: 'yes' }); Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params foo='456' bar='NAW') id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), "/?bar=NAW&foo=456", "link has right href"); }); QUnit.module("The {{link-to}} helper: invoking with query params", { setup: function() { Ember.run(function() { sharedSetup(); App.IndexController = Ember.Controller.extend({ queryParams: ['foo', 'bar', 'abool'], foo: '123', bar: 'abc', boundThing: "OMG", abool: true }); App.AboutController = Ember.Controller.extend({ queryParams: ['baz', 'bat'], baz: 'alex', bat: 'borf' }); container.register('router:main', Router); }); }, teardown: sharedTeardown }); test("doesn't update controller QP properties on current route when invoked", function() { Ember.TEMPLATES.index = compile("{{#link-to 'index' id='the-link'}}Index{{/link-to}}"); bootApplication(); Ember.run(Ember.$('#the-link'), 'click'); var indexController = container.lookup('controller:index'); deepEqual(indexController.getProperties('foo', 'bar'), { foo: '123', bar: 'abc' }, "controller QP properties not"); }); test("doesn't update controller QP properties on current route when invoked (empty query-params obj)", function() { Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params) id='the-link'}}Index{{/link-to}}"); bootApplication(); Ember.run(Ember.$('#the-link'), 'click'); var indexController = container.lookup('controller:index'); deepEqual(indexController.getProperties('foo', 'bar'), { foo: '123', bar: 'abc' }, "controller QP properties not"); }); test("link-to with no params throws", function() { Ember.TEMPLATES.index = compile("{{#link-to id='the-link'}}Index{{/link-to}}"); expectAssertion(function() { bootApplication(); }, /one or more/); }); test("doesn't update controller QP properties on current route when invoked (empty query-params obj, inferred route)", function() { Ember.TEMPLATES.index = compile("{{#link-to (query-params) id='the-link'}}Index{{/link-to}}"); bootApplication(); Ember.run(Ember.$('#the-link'), 'click'); var indexController = container.lookup('controller:index'); deepEqual(indexController.getProperties('foo', 'bar'), { foo: '123', bar: 'abc' }, "controller QP properties not"); }); test("updates controller QP properties on current route when invoked", function() { Ember.TEMPLATES.index = compile("{{#link-to 'index' (query-params foo='456') id='the-link'}}Index{{/link-to}}"); bootApplication(); Ember.run(Ember.$('#the-link'), 'click'); var indexController = container.lookup('controller:index'); deepEqual(indexController.getProperties('foo', 'bar'), { foo: '456', bar: 'abc' }, "controller QP properties updated"); }); test("updates controller QP properties on current route when invoked (inferred route)", function() { Ember.TEMPLATES.index = compile("{{#link-to (query-params foo='456') id='the-link'}}Index{{/link-to}}"); bootApplication(); Ember.run(Ember.$('#the-link'), 'click'); var indexController = container.lookup('controller:index'); deepEqual(indexController.getProperties('foo', 'bar'), { foo: '456', bar: 'abc' }, "controller QP properties updated"); }); test("updates controller QP properties on other route after transitioning to that route", function() { Router.map(function() { this.route('about'); }); Ember.TEMPLATES.index = compile("{{#link-to 'about' (query-params baz='lol') id='the-link'}}About{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), '/about?baz=lol'); Ember.run(Ember.$('#the-link'), 'click'); var aboutController = container.lookup('controller:about'); deepEqual(aboutController.getProperties('baz', 'bat'), { baz: 'lol', bat: 'borf' }, "about controller QP properties updated"); equal(container.lookup('controller:application').get('currentPath'), "about"); }); test("supplied QP properties can be bound", function() { var indexController = container.lookup('controller:index'); Ember.TEMPLATES.index = compile("{{#link-to (query-params foo=boundThing) id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), '/?foo=OMG'); Ember.run(indexController, 'set', 'boundThing', "ASL"); equal(Ember.$('#the-link').attr('href'), '/?foo=ASL'); }); test("supplied QP properties can be bound (booleans)", function() { var indexController = container.lookup('controller:index'); Ember.TEMPLATES.index = compile("{{#link-to (query-params abool=boundThing) id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), '/?abool=OMG'); Ember.run(indexController, 'set', 'boundThing', false); equal(Ember.$('#the-link').attr('href'), '/?abool=false'); Ember.run(Ember.$('#the-link'), 'click'); deepEqual(indexController.getProperties('foo', 'bar', 'abool'), { foo: '123', bar: 'abc', abool: false }); }); test("href updates when unsupplied controller QP props change", function() { var indexController = container.lookup('controller:index'); Ember.TEMPLATES.index = compile("{{#link-to (query-params foo='lol') id='the-link'}}Index{{/link-to}}"); bootApplication(); equal(Ember.$('#the-link').attr('href'), '/?foo=lol'); Ember.run(indexController, 'set', 'bar', 'BORF'); equal(Ember.$('#the-link').attr('href'), '/?bar=BORF&foo=lol'); Ember.run(indexController, 'set', 'foo', 'YEAH'); equal(Ember.$('#the-link').attr('href'), '/?bar=BORF&foo=lol'); }); test("The {{link-to}} applies activeClass when query params are not changed", function() { Ember.TEMPLATES.index = compile( "{{#link-to (query-params foo='cat') id='cat-link'}}Index{{/link-to}} " + "{{#link-to (query-params foo='dog') id='dog-link'}}Index{{/link-to}} " + "{{#link-to 'index' id='change-nothing'}}Index{{/link-to}}" ); Ember.TEMPLATES.search = compile( "{{#link-to (query-params search='same') id='same-search'}}Index{{/link-to}} " + "{{#link-to (query-params search='change') id='change-search'}}Index{{/link-to}} " + "{{#link-to (query-params search='same' archive=true) id='same-search-add-archive'}}Index{{/link-to}} " + "{{#link-to (query-params archive=true) id='only-add-archive'}}Index{{/link-to}} " + "{{#link-to (query-params search='same' archive=true) id='both-same'}}Index{{/link-to}} " + "{{#link-to (query-params search='different' archive=true) id='change-one'}}Index{{/link-to}} " + "{{#link-to (query-params search='different' archive=false) id='remove-one'}}Index{{/link-to}} " + "{{outlet}}" ); Ember.TEMPLATES['search/results'] = compile( "{{#link-to (query-params sort='title') id='same-sort-child-only'}}Index{{/link-to}} " + "{{#link-to (query-params search='same') id='same-search-parent-only'}}Index{{/link-to}} " + "{{#link-to (query-params search='change') id='change-search-parent-only'}}Index{{/link-to}} " + "{{#link-to (query-params search='same' sort='title') id='same-search-same-sort-child-and-parent'}}Index{{/link-to}} " + "{{#link-to (query-params search='same' sort='author') id='same-search-different-sort-child-and-parent'}}Index{{/link-to}} " + "{{#link-to (query-params search='change' sort='title') id='change-search-same-sort-child-and-parent'}}Index{{/link-to}} " + "{{#link-to (query-params foo='dog') id='dog-link'}}Index{{/link-to}} " ); Router.map(function() { this.resource("search", function() { this.route("results"); }); }); App.SearchController = Ember.Controller.extend({ queryParams: ['search', 'archive'], search: '', archive: false }); App.SearchResultsController = Ember.Controller.extend({ queryParams: ['sort', 'showDetails'], sort: 'title', showDetails: true }); bootApplication(); //Basic tests shouldNotBeActive('#cat-link'); shouldNotBeActive('#dog-link'); Ember.run(router, 'handleURL', '/?foo=cat'); shouldBeActive('#cat-link'); shouldNotBeActive('#dog-link'); Ember.run(router, 'handleURL', '/?foo=dog'); shouldBeActive('#dog-link'); shouldNotBeActive('#cat-link'); shouldBeActive('#change-nothing'); //Multiple params Ember.run(function() { router.handleURL("/search?search=same"); }); shouldBeActive('#same-search'); shouldNotBeActive('#change-search'); shouldNotBeActive('#same-search-add-archive'); shouldNotBeActive('#only-add-archive'); shouldNotBeActive('#remove-one'); Ember.run(function() { router.handleURL("/search?search=same&archive=true"); }); shouldBeActive('#both-same'); shouldNotBeActive('#change-one'); //Nested Controllers Ember.run(function() { // Note: this is kind of a strange case; sort's default value is 'title', // so this URL shouldn't have been generated in the first place, but // we should also be able to gracefully handle these cases. router.handleURL("/search/results?search=same&sort=title&showDetails=true"); }); //shouldBeActive('#same-sort-child-only'); shouldBeActive('#same-search-parent-only'); shouldNotBeActive('#change-search-parent-only'); shouldBeActive('#same-search-same-sort-child-and-parent'); shouldNotBeActive('#same-search-different-sort-child-and-parent'); shouldNotBeActive('#change-search-same-sort-child-and-parent'); }); test("The {{link-to}} applies active class when query-param is number", function() { Ember.TEMPLATES.index = compile( "{{#link-to (query-params page=pageNumber) id='page-link'}}Index{{/link-to}} "); App.IndexController = Ember.Controller.extend({ queryParams: ['page'], page: 1, pageNumber: 5 }); bootApplication(); shouldNotBeActive('#page-link'); Ember.run(router, 'handleURL', '/?page=5'); shouldBeActive('#page-link'); }); test("The {{link-to}} applies active class when query-param is array", function() { Ember.TEMPLATES.index = compile( "{{#link-to (query-params pages=pagesArray) id='array-link'}}Index{{/link-to}} " + "{{#link-to (query-params pages=biggerArray) id='bigger-link'}}Index{{/link-to}} " + "{{#link-to (query-params pages=emptyArray) id='empty-link'}}Index{{/link-to}} " ); App.IndexController = Ember.Controller.extend({ queryParams: ['pages'], pages: [], pagesArray: [1,2], biggerArray: [1,2,3], emptyArray: [] }); bootApplication(); shouldNotBeActive('#array-link'); Ember.run(router, 'handleURL', '/?pages=%5B1%2C2%5D'); shouldBeActive('#array-link'); shouldNotBeActive('#bigger-link'); shouldNotBeActive('#empty-link'); Ember.run(router, 'handleURL', '/?pages=%5B2%2C1%5D'); shouldNotBeActive('#array-link'); shouldNotBeActive('#bigger-link'); shouldNotBeActive('#empty-link'); Ember.run(router, 'handleURL', '/?pages=%5B1%2C2%2C3%5D'); shouldBeActive('#bigger-link'); shouldNotBeActive('#array-link'); shouldNotBeActive('#empty-link'); }); test("The {{link-to}} helper applies active class to parent route", function() { App.Router.map(function() { this.resource('parent', function() { this.route('child'); }); }); Ember.TEMPLATES.application = compile( "{{#link-to 'parent' id='parent-link'}}Parent{{/link-to}} " + "{{#link-to 'parent.child' id='parent-child-link'}}Child{{/link-to}} " + "{{#link-to 'parent' (query-params foo=cat) id='parent-link-qp'}}Parent{{/link-to}} " + "{{outlet}}" ); App.ParentChildController = Ember.ObjectController.extend({ queryParams: ['foo'], foo: 'bar' }); bootApplication(); shouldNotBeActive('#parent-link'); shouldNotBeActive('#parent-child-link'); shouldNotBeActive('#parent-link-qp'); Ember.run(router, 'handleURL', '/parent/child?foo=dog'); shouldBeActive('#parent-link'); shouldNotBeActive('#parent-link-qp'); }); test("The {{link-to}} helper disregards query-params in activeness computation when current-when specified", function() { App.Router.map(function() { this.route('parent'); }); Ember.TEMPLATES.application = compile( "{{#link-to 'parent' (query-params page=1) current-when='parent' id='app-link'}}Parent{{/link-to}} {{outlet}}"); Ember.TEMPLATES.parent = compile( "{{#link-to 'parent' (query-params page=1) current-when='parent' id='parent-link'}}Parent{{/link-to}} {{outlet}}"); App.ParentController = Ember.ObjectController.extend({ queryParams: ['page'], page: 1 }); bootApplication(); equal(Ember.$('#app-link').attr('href'), '/parent'); shouldNotBeActive('#app-link'); Ember.run(router, 'handleURL', '/parent?page=2'); equal(Ember.$('#app-link').attr('href'), '/parent'); shouldBeActive('#app-link'); equal(Ember.$('#parent-link').attr('href'), '/parent'); shouldBeActive('#parent-link'); var parentController = container.lookup('controller:parent'); equal(parentController.get('page'), 2); Ember.run(parentController, 'set', 'page', 3); equal(router.get('location.path'), '/parent?page=3'); shouldBeActive('#app-link'); shouldBeActive('#parent-link'); Ember.$('#app-link').click(); equal(router.get('location.path'), '/parent'); }); function basicEagerURLUpdateTest(setTagName) { expect(6); if (setTagName) { Ember.TEMPLATES.application = compile("{{outlet}}{{link-to 'Index' 'index' id='index-link'}}{{link-to 'About' 'about' id='about-link' tagName='span'}}"); } bootApplication(); equal(updateCount, 0); Ember.run(Ember.$('#about-link'), 'click'); // URL should be eagerly updated now equal(updateCount, 1); equal(router.get('location.path'), '/about'); // Resolve the promise. Ember.run(aboutDefer, 'resolve'); equal(router.get('location.path'), '/about'); // Shouldn't have called update url again. equal(updateCount, 1); equal(router.get('location.path'), '/about'); } var aboutDefer; QUnit.module("The {{link-to}} helper: eager URL updating", { setup: function() { Ember.run(function() { sharedSetup(); container.register('router:main', Router); Router.map(function() { this.route('about'); }); App.AboutRoute = Ember.Route.extend({ model: function() { aboutDefer = Ember.RSVP.defer(); return aboutDefer.promise; } }); Ember.TEMPLATES.application = compile("{{outlet}}{{link-to 'Index' 'index' id='index-link'}}{{link-to 'About' 'about' id='about-link'}}"); }); }, teardown: function() { sharedTeardown(); aboutDefer = null; } }); test("invoking a link-to with a slow promise eager updates url", function() { basicEagerURLUpdateTest(false); }); test("when link-to eagerly updates url, the path it provides does NOT include the rootURL", function() { expect(2); // HistoryLocation is the only Location class that will cause rootURL to be // prepended to link-to href's right now var HistoryTestLocation = Ember.HistoryLocation.extend({ location: { hash: '', hostname: 'emberjs.com', href: 'http://emberjs.com/app/', pathname: '/app/', protocol: 'http:', port: '', search: '' }, // Don't actually touch the URL replaceState: function(path) {}, pushState: function(path) {}, setURL: function(path) { set(this, 'path', path); }, replaceURL: function(path) { set(this, 'path', path); } }); container.register('location:historyTest', HistoryTestLocation); Router.reopen({ location: 'historyTest', rootURL: '/app/' }); bootApplication(); // href should have rootURL prepended equal(Ember.$('#about-link').attr('href'), '/app/about'); Ember.run(Ember.$('#about-link'), 'click'); // Actual path provided to Location class should NOT have rootURL equal(router.get('location.path'), '/about'); }); test("non `a` tags also eagerly update URL", function() { basicEagerURLUpdateTest(true); }); test("invoking a link-to with a promise that rejects on the run loop doesn't update url", function() { App.AboutRoute = Ember.Route.extend({ model: function() { return Ember.RSVP.reject(); } }); bootApplication(); Ember.run(Ember.$('#about-link'), 'click'); // Shouldn't have called update url. equal(updateCount, 0); equal(router.get('location.path'), '', 'url was not updated'); }); test("invoking a link-to whose transition gets aborted in will transition doesn't update the url", function() { App.IndexRoute = Ember.Route.extend({ actions: { willTransition: function(transition) { ok(true, "aborting transition"); transition.abort(); } } }); bootApplication(); Ember.run(Ember.$('#about-link'), 'click'); // Shouldn't have called update url. equal(updateCount, 0); equal(router.get('location.path'), '', 'url was not updated'); });
/* * Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * */ /*jslint regexp: true */ /*global describe, it, expect, beforeFirst, afterLast, beforeEach, afterEach, waits, waitsFor, waitsForDone, runs, spyOn */ define(function (require, exports, module) { "use strict"; var Commands = require("command/Commands"), KeyEvent = require("utils/KeyEvent"), SpecRunnerUtils = require("spec/SpecRunnerUtils"), FileSystemError = require("filesystem/FileSystemError"), FileUtils = require("file/FileUtils"), FindUtils = require("search/FindUtils"), Async = require("utils/Async"), LanguageManager = require("language/LanguageManager"), StringUtils = require("utils/StringUtils"), Strings = require("strings"), _ = require("thirdparty/lodash"); var PreferencesManager; var promisify = Async.promisify; // for convenience describe("FindInFiles", function () { this.category = "integration"; var defaultSourcePath = SpecRunnerUtils.getTestPath("/spec/FindReplace-test-files"), testPath, nextFolderIndex = 1, searchResults, CommandManager, DocumentManager, MainViewManager, EditorManager, FileFilters, FileSystem, File, FindInFiles, FindInFilesUI, ProjectManager, testWindow, $; beforeFirst(function () { SpecRunnerUtils.createTempDirectory(); // Create a new window that will be shared by ALL tests in this spec. SpecRunnerUtils.createTestWindowAndRun(this, function (w) { testWindow = w; // Load module instances from brackets.test CommandManager = testWindow.brackets.test.CommandManager; DocumentManager = testWindow.brackets.test.DocumentManager; EditorManager = testWindow.brackets.test.EditorManager; FileFilters = testWindow.brackets.test.FileFilters; FileSystem = testWindow.brackets.test.FileSystem; File = testWindow.brackets.test.File; FindInFiles = testWindow.brackets.test.FindInFiles; FindInFilesUI = testWindow.brackets.test.FindInFilesUI; ProjectManager = testWindow.brackets.test.ProjectManager; MainViewManager = testWindow.brackets.test.MainViewManager; $ = testWindow.$; PreferencesManager = testWindow.brackets.test.PreferencesManager; PreferencesManager.set("findInFiles.nodeSearch", false); PreferencesManager.set("findInFiles.instantSearch", false); }); }); afterLast(function () { CommandManager = null; DocumentManager = null; EditorManager = null; FileSystem = null; File = null; FindInFiles = null; FindInFilesUI = null; ProjectManager = null; MainViewManager = null; $ = null; testWindow = null; PreferencesManager = null; SpecRunnerUtils.closeTestWindow(); SpecRunnerUtils.removeTempDirectory(); }); function openProject(sourcePath) { testPath = sourcePath; SpecRunnerUtils.loadProjectInTestWindow(testPath); } // Note: these utilities can be called without wrapping in a runs() block, because all their top-level // statements are calls to runs() or waitsFor() (or other functions that make the same guarantee). But after // calling one of these, calls to other Jasmine APIs (e.g. such as expects()) *must* be wrapped in runs(). function waitForSearchBarClose() { // Make sure search bar from previous test has animated out fully waitsFor(function () { return $(".modal-bar").length === 0; }, "search bar close"); } function openSearchBar(scope, showReplace) { runs(function () { FindInFiles._searchDone = false; FindInFilesUI._showFindBar(scope, showReplace); }); waitsFor(function () { return $(".modal-bar").length === 1; }, "search bar open"); runs(function () { // Reset the regexp and case-sensitivity toggles. ["#find-regexp", "#find-case-sensitive"].forEach(function (button) { if ($(button).is(".active")) { $(button).click(); expect($(button).is(".active")).toBe(false); } }); }); } function closeSearchBar() { runs(function () { FindInFilesUI._closeFindBar(); }); waitForSearchBarClose(); } function executeSearch(searchString) { runs(function () { var $searchField = $("#find-what"); $searchField.val(searchString).trigger("input"); SpecRunnerUtils.simulateKeyEvent(KeyEvent.DOM_VK_RETURN, "keydown", $searchField[0]); }); waitsFor(function () { return FindInFiles._searchDone; }, "Find in Files done"); } function numMatches(results) { return _.reduce(_.pluck(results, "matches"), function (sum, matches) { return sum + matches.length; }, 0); } function doSearch(options) { runs(function () { FindInFiles.doSearchInScope(options.queryInfo, null, null, options.replaceText).done(function (results) { searchResults = results; }); }); waitsFor(function () { return searchResults; }, 1000, "search completed"); runs(function () { expect(numMatches(searchResults)).toBe(options.numMatches); }); } // The functions below are *not* safe to call without wrapping in runs(), if there were any async steps previously // (including calls to any of the utilities above) function doReplace(options) { return FindInFiles.doReplace(searchResults, options.replaceText, { forceFilesOpen: options.forceFilesOpen, isRegexp: options.queryInfo.isRegexp }); } /** * Helper function that calls the given asynchronous processor once on each file in the given subtree * and returns a promise that's resolved when all files are processed. * @param {string} rootPath The root of the subtree to search. * @param {function(string, string): $.Promise} processor The function that processes each file. Args are: * contents: the contents of the file * fullPath: the full path to the file on disk * @return {$.Promise} A promise that is resolved when all files are processed, or rejected if there was * an error reading one of the files or one of the process steps was rejected. */ function visitAndProcessFiles(rootPath, processor) { var rootEntry = FileSystem.getDirectoryForPath(rootPath), files = []; function visitor(file) { if (!file.isDirectory) { // Skip binary files, since we don't care about them for these purposes and we can't read them // to get their contents. if (!LanguageManager.getLanguageForPath(file.fullPath).isBinary()) { files.push(file); } } return true; } return promisify(rootEntry, "visit", visitor).then(function () { return Async.doInParallel(files, function (file) { return promisify(file, "read").then(function (contents) { return processor(contents, file.fullPath); }); }); }); } function ensureParentExists(file) { var parentDir = FileSystem.getDirectoryForPath(file.parentPath); return promisify(parentDir, "exists").then(function (exists) { if (!exists) { return promisify(parentDir, "create"); } return null; }); } function copyWithLineEndings(src, dest, lineEndings) { function copyOneFileWithLineEndings(contents, srcPath) { var destPath = dest + srcPath.slice(src.length), destFile = FileSystem.getFileForPath(destPath), newContents = FileUtils.translateLineEndings(contents, lineEndings); return ensureParentExists(destFile).then(function () { return promisify(destFile, "write", newContents); }); } return promisify(FileSystem.getDirectoryForPath(dest), "create").then(function () { return visitAndProcessFiles(src, copyOneFileWithLineEndings); }); } // Creates a clean copy of the test project before each test. We don't delete the old // folders as we go along (to avoid problems with deleting the project out from under the // open test window); we just delete the whole temp folder at the end. function openTestProjectCopy(sourcePath, lineEndings) { testPath = SpecRunnerUtils.getTempDirectory() + "/find-in-files-test-" + (nextFolderIndex++); runs(function () { if (lineEndings) { waitsForDone(copyWithLineEndings(sourcePath, testPath, lineEndings), "copy test files with line endings"); } else { // Note that we don't skip image files in this case, but it doesn't matter since we'll // only compare files that have an associated file in the known goods folder. waitsForDone(SpecRunnerUtils.copy(sourcePath, testPath), "copy test files"); } }); SpecRunnerUtils.loadProjectInTestWindow(testPath); } beforeEach(function () { searchResults = null; }); describe("Find", function () { beforeEach(function () { openProject(defaultSourcePath); }); afterEach(closeSearchBar); it("should find all occurences in project", function () { openSearchBar(); executeSearch("foo"); runs(function () { var fileResults = FindInFiles.searchModel.results[testPath + "/bar.txt"]; expect(fileResults).toBeFalsy(); fileResults = FindInFiles.searchModel.results[testPath + "/foo.html"]; expect(fileResults).toBeTruthy(); expect(fileResults.matches.length).toBe(7); fileResults = FindInFiles.searchModel.results[testPath + "/foo.js"]; expect(fileResults).toBeTruthy(); expect(fileResults.matches.length).toBe(4); fileResults = FindInFiles.searchModel.results[testPath + "/css/foo.css"]; expect(fileResults).toBeTruthy(); expect(fileResults.matches.length).toBe(3); }); }); it("should ignore known binary file types", function () { var $dlg, actualMessage, expectedMessage, exists = false, done = false, imageDirPath = testPath + "/images"; runs(function () { // Set project to have only images SpecRunnerUtils.loadProjectInTestWindow(imageDirPath); // Verify an image exists in folder var file = FileSystem.getFileForPath(testPath + "/images/icon_twitter.png"); file.exists(function (fileError, fileExists) { exists = fileExists; done = true; }); }); waitsFor(function () { return done; }, "file.exists"); runs(function () { expect(exists).toBe(true); openSearchBar(); }); runs(function () { // Launch filter editor FileFilters.editFilter({ name: "", patterns: [] }, -1); // Dialog should state there are 0 files in project $dlg = $(".modal"); expectedMessage = StringUtils.format(Strings.FILTER_FILE_COUNT_ALL, 0, Strings.FIND_IN_FILES_NO_SCOPE); }); // Message loads asynchronously, but dialog should eventually state: "Allows all 0 files in project" waitsFor(function () { actualMessage = $dlg.find(".exclusions-filecount").text(); return (actualMessage === expectedMessage); }, "display file count"); runs(function () { // Dismiss filter dialog (OK button is disabled, have to click on Cancel) $dlg.find(".dialog-button[data-button-id='cancel']").click(); // Close search bar var $searchField = $(".modal-bar #find-group input"); SpecRunnerUtils.simulateKeyEvent(KeyEvent.DOM_VK_ESCAPE, "keydown", $searchField[0]); }); runs(function () { // Set project back to main test folder SpecRunnerUtils.loadProjectInTestWindow(testPath); }); }); it("should ignore unreadable files", function () { // Add a nonexistent file to the ProjectManager.getAllFiles() result, which will force a file IO error // when we try to read the file later. Similar errors may arise in real-world for non-UTF files, etc. SpecRunnerUtils.injectIntoGetAllFiles(testWindow, testPath + "/doesNotExist.txt"); openSearchBar(); executeSearch("foo"); runs(function () { expect(Object.keys(FindInFiles.searchModel.results).length).toBe(3); }); }); it("should find all occurences in folder", function () { var dirEntry = FileSystem.getDirectoryForPath(testPath + "/css/"); openSearchBar(dirEntry); executeSearch("foo"); runs(function () { var fileResults = FindInFiles.searchModel.results[testPath + "/bar.txt"]; expect(fileResults).toBeFalsy(); fileResults = FindInFiles.searchModel.results[testPath + "/foo.html"]; expect(fileResults).toBeFalsy(); fileResults = FindInFiles.searchModel.results[testPath + "/foo.js"]; expect(fileResults).toBeFalsy(); fileResults = FindInFiles.searchModel.results[testPath + "/css/foo.css"]; expect(fileResults).toBeTruthy(); expect(fileResults.matches.length).toBe(3); }); }); it("should find all occurences in single file", function () { var fileEntry = FileSystem.getFileForPath(testPath + "/foo.js"); openSearchBar(fileEntry); executeSearch("foo"); runs(function () { var fileResults = FindInFiles.searchModel.results[testPath + "/bar.txt"]; expect(fileResults).toBeFalsy(); fileResults = FindInFiles.searchModel.results[testPath + "/foo.html"]; expect(fileResults).toBeFalsy(); fileResults = FindInFiles.searchModel.results[testPath + "/foo.js"]; expect(fileResults).toBeTruthy(); expect(fileResults.matches.length).toBe(4); fileResults = FindInFiles.searchModel.results[testPath + "/css/foo.css"]; expect(fileResults).toBeFalsy(); }); }); it("should find start and end positions", function () { var filePath = testPath + "/foo.js", fileEntry = FileSystem.getFileForPath(filePath); openSearchBar(fileEntry); executeSearch("callFoo"); runs(function () { var fileResults = FindInFiles.searchModel.results[filePath]; expect(fileResults).toBeTruthy(); expect(fileResults.matches.length).toBe(1); var match = fileResults.matches[0]; expect(match.start.ch).toBe(13); expect(match.start.line).toBe(6); expect(match.end.ch).toBe(20); expect(match.end.line).toBe(6); }); }); it("should keep dialog and show panel when there are results", function () { var filePath = testPath + "/foo.js", fileEntry = FileSystem.getFileForPath(filePath); openSearchBar(fileEntry); executeSearch("callFoo"); // With instant search, the Search Bar should not close on a search runs(function () { var fileResults = FindInFiles.searchModel.results[filePath]; expect(fileResults).toBeTruthy(); expect($("#find-in-files-results").is(":visible")).toBeTruthy(); expect($(".modal-bar").length).toBe(1); }); }); it("should keep dialog and not show panel when there are no results", function () { var filePath = testPath + "/bar.txt", fileEntry = FileSystem.getFileForPath(filePath); openSearchBar(fileEntry); executeSearch("abcdefghi"); waitsFor(function () { return (FindInFiles._searchDone); }, "search complete"); runs(function () { var result, resultFound = false; // verify searchModel.results Object is empty for (result in FindInFiles.searchModel.results) { if (FindInFiles.searchModel.results.hasOwnProperty(result)) { resultFound = true; } } expect(resultFound).toBe(false); expect($("#find-in-files-results").is(":visible")).toBeFalsy(); expect($(".modal-bar").length).toBe(1); // Close search bar var $searchField = $(".modal-bar #find-group input"); SpecRunnerUtils.simulateKeyEvent(KeyEvent.DOM_VK_ESCAPE, "keydown", $searchField[0]); }); }); it("should open file in editor and select text when a result is clicked", function () { var filePath = testPath + "/foo.html", fileEntry = FileSystem.getFileForPath(filePath); openSearchBar(fileEntry); executeSearch("foo"); runs(function () { // Verify no current document var editor = EditorManager.getActiveEditor(); expect(editor).toBeFalsy(); // Get panel var $searchResults = $("#find-in-files-results"); expect($searchResults.is(":visible")).toBeTruthy(); // Get list in panel var $panelResults = $searchResults.find("table.bottom-panel-table tr"); expect($panelResults.length).toBe(8); // 7 hits + 1 file section // First item in list is file section expect($($panelResults[0]).hasClass("file-section")).toBeTruthy(); // Click second item which is first hit var $firstHit = $($panelResults[1]); expect($firstHit.hasClass("file-section")).toBeFalsy(); $firstHit.click(); setTimeout(function () { // Verify current document editor = EditorManager.getActiveEditor(); expect(editor.document.file.fullPath).toEqual(filePath); // Verify selection expect(editor.getSelectedText().toLowerCase() === "foo"); waitsForDone(CommandManager.execute(Commands.FILE_CLOSE_ALL), "closing all files"); }, 500); }); }); it("should open file in working set when a result is double-clicked", function () { var filePath = testPath + "/foo.js", fileEntry = FileSystem.getFileForPath(filePath); openSearchBar(fileEntry); executeSearch("foo"); runs(function () { // Verify document is not yet in working set expect(MainViewManager.findInWorkingSet(MainViewManager.ALL_PANES, filePath)).toBe(-1); // Get list in panel var $panelResults = $("#find-in-files-results table.bottom-panel-table tr"); expect($panelResults.length).toBe(5); // 4 hits + 1 file section // Double-click second item which is first hit var $firstHit = $($panelResults[1]); expect($firstHit.hasClass("file-section")).toBeFalsy(); $firstHit.dblclick(); // Verify document is now in working set expect(MainViewManager.findInWorkingSet(MainViewManager.ALL_PANES, filePath)).not.toBe(-1); waitsForDone(CommandManager.execute(Commands.FILE_CLOSE_ALL), "closing all files"); }); }); it("should update results when a result in a file is edited", function () { var filePath = testPath + "/foo.html", fileEntry = FileSystem.getFileForPath(filePath), panelListLen = 8, // 7 hits + 1 file section $panelResults; openSearchBar(fileEntry); executeSearch("foo"); runs(function () { // Verify document is not yet in working set expect(MainViewManager.findInWorkingSet(MainViewManager.ALL_PANES, filePath)).toBe(-1); // Get list in panel $panelResults = $("#find-in-files-results table.bottom-panel-table tr"); expect($panelResults.length).toBe(panelListLen); // Click second item which is first hit var $firstHit = $($panelResults[1]); expect($firstHit.hasClass("file-section")).toBeFalsy(); $firstHit.click(); }); // Wait for file to open if not already open waitsFor(function () { var editor = EditorManager.getActiveEditor(); return (editor.document.file.fullPath === filePath); }, 1000, "file open"); // Wait for selection to change (this happens asynchronously after file opens) waitsFor(function () { var editor = EditorManager.getActiveEditor(), sel = editor.getSelection(); return (sel.start.line === 4 && sel.start.ch === 7); }, 1000, "selection change"); runs(function () { // Verify current selection var editor = EditorManager.getActiveEditor(); expect(editor.getSelectedText().toLowerCase()).toBe("foo"); // Edit text to remove hit from file var sel = editor.getSelection(); editor.document.replaceRange("Bar", sel.start, sel.end); }); // Panel is updated asynchronously waitsFor(function () { $panelResults = $("#find-in-files-results table.bottom-panel-table tr"); return ($panelResults.length < panelListLen); }, "Results panel updated"); runs(function () { // Verify list automatically updated expect($panelResults.length).toBe(panelListLen - 1); waitsForDone(CommandManager.execute(Commands.FILE_CLOSE, { _forceClose: true }), "closing file"); }); }); it("should not clear the model until next search is actually committed", function () { var filePath = testPath + "/foo.js", fileEntry = FileSystem.getFileForPath(filePath); openSearchBar(fileEntry); executeSearch("foo"); runs(function () { expect(Object.keys(FindInFiles.searchModel.results).length).not.toBe(0); }); closeSearchBar(); openSearchBar(fileEntry); runs(function () { // Search model shouldn't be cleared from merely reopening search bar expect(Object.keys(FindInFiles.searchModel.results).length).not.toBe(0); }); closeSearchBar(); runs(function () { // Search model shouldn't be cleared after search bar closed without running a search expect(Object.keys(FindInFiles.searchModel.results).length).not.toBe(0); }); }); }); describe("Find results paging", function () { var expectedPages = [ { totalResults: 500, totalFiles: 2, overallFirstIndex: 1, overallLastIndex: 100, matchRanges: [{file: 0, filename: "manyhits-1.txt", first: 0, firstLine: 1, last: 99, lastLine: 100, pattern: /i'm going to\s+find this\s+now/}], firstPageEnabled: false, lastPageEnabled: true, prevPageEnabled: false, nextPageEnabled: true }, { totalResults: 500, totalFiles: 2, overallFirstIndex: 101, overallLastIndex: 200, matchRanges: [{file: 0, filename: "manyhits-1.txt", first: 0, firstLine: 101, last: 99, lastLine: 200, pattern: /i'm going to\s+find this\s+now/}], firstPageEnabled: true, lastPageEnabled: true, prevPageEnabled: true, nextPageEnabled: true }, { totalResults: 500, totalFiles: 2, overallFirstIndex: 201, overallLastIndex: 300, matchRanges: [ {file: 0, filename: "manyhits-1.txt", first: 0, firstLine: 201, last: 49, lastLine: 250, pattern: /i'm going to\s+find this\s+now/}, {file: 1, filename: "manyhits-2.txt", first: 0, firstLine: 1, last: 49, lastLine: 50, pattern: /you're going to\s+find this\s+now/} ], firstPageEnabled: true, lastPageEnabled: true, prevPageEnabled: true, nextPageEnabled: true }, { totalResults: 500, totalFiles: 2, overallFirstIndex: 301, overallLastIndex: 400, matchRanges: [{file: 0, filename: "manyhits-2.txt", first: 0, firstLine: 51, last: 99, lastLine: 150, pattern: /you're going to\s+find this\s+now/}], firstPageEnabled: true, lastPageEnabled: true, prevPageEnabled: true, nextPageEnabled: true }, { totalResults: 500, totalFiles: 2, overallFirstIndex: 401, overallLastIndex: 500, matchRanges: [{file: 0, filename: "manyhits-2.txt", first: 0, firstLine: 151, last: 99, lastLine: 250, pattern: /you're going to\s+find this\s+now/}], firstPageEnabled: true, lastPageEnabled: false, prevPageEnabled: true, nextPageEnabled: false } ]; function expectPageDisplay(options) { // Check the title expect($("#find-in-files-results .title").text().match("\\b" + options.totalResults + "\\b")).toBeTruthy(); expect($("#find-in-files-results .title").text().match("\\b" + options.totalFiles + "\\b")).toBeTruthy(); var paginationInfo = $("#find-in-files-results .pagination-col").text(); expect(paginationInfo.match("\\b" + options.overallFirstIndex + "\\b")).toBeTruthy(); expect(paginationInfo.match("\\b" + options.overallLastIndex + "\\b")).toBeTruthy(); // Check for presence of file and first/last item rows within each file options.matchRanges.forEach(function (range) { var $fileRow = $("#find-in-files-results tr.file-section[data-file-index='" + range.file + "']"); expect($fileRow.length).toBe(1); expect($fileRow.find(".dialog-filename").text()).toEqual(range.filename); var $firstMatchRow = $("#find-in-files-results tr[data-file-index='" + range.file + "'][data-item-index='" + range.first + "']"); expect($firstMatchRow.length).toBe(1); expect($firstMatchRow.find(".line-number").text().match("\\b" + range.firstLine + "\\b")).toBeTruthy(); expect($firstMatchRow.find(".line-text").text().match(range.pattern)).toBeTruthy(); var $lastMatchRow = $("#find-in-files-results tr[data-file-index='" + range.file + "'][data-item-index='" + range.last + "']"); expect($lastMatchRow.length).toBe(1); expect($lastMatchRow.find(".line-number").text().match("\\b" + range.lastLine + "\\b")).toBeTruthy(); expect($lastMatchRow.find(".line-text").text().match(range.pattern)).toBeTruthy(); }); // Check enablement of buttons expect($("#find-in-files-results .first-page").hasClass("disabled")).toBe(!options.firstPageEnabled); expect($("#find-in-files-results .last-page").hasClass("disabled")).toBe(!options.lastPageEnabled); expect($("#find-in-files-results .prev-page").hasClass("disabled")).toBe(!options.prevPageEnabled); expect($("#find-in-files-results .next-page").hasClass("disabled")).toBe(!options.nextPageEnabled); } it("should page forward, then jump back to first page, displaying correct contents at each step", function () { openProject(SpecRunnerUtils.getTestPath("/spec/FindReplace-test-files-manyhits")); openSearchBar(); // This search will find 500 hits in 2 files. Since there are 100 hits per page, there should // be five pages, and the third page should have 50 results from the first file and 50 results // from the second file. executeSearch("find this"); runs(function () { var i; for (i = 0; i < 5; i++) { if (i > 0) { $("#find-in-files-results .next-page").click(); } expectPageDisplay(expectedPages[i]); } $("#find-in-files-results .first-page").click(); expectPageDisplay(expectedPages[0]); }); }); it("should jump to last page, then page backward, displaying correct contents at each step", function () { openProject(SpecRunnerUtils.getTestPath("/spec/FindReplace-test-files-manyhits")); executeSearch("find this"); runs(function () { var i; $("#find-in-files-results .last-page").click(); for (i = 4; i >= 0; i--) { if (i < 4) { $("#find-in-files-results .prev-page").click(); } expectPageDisplay(expectedPages[i]); } }); }); }); describe("SearchModel update on change events", function () { var oldResults, gotChange, wasQuickChange; function fullTestPath(path) { return testPath + "/" + path; } function expectUnchangedExcept(paths) { Object.keys(FindInFiles.searchModel.results).forEach(function (path) { if (paths.indexOf(path) === -1) { expect(FindInFiles.searchModel.results[path]).toEqual(oldResults[path]); } }); } beforeEach(function () { gotChange = false; oldResults = null; wasQuickChange = false; FindInFiles.searchModel.on("change.FindInFilesTest", function (event, quickChange) { gotChange = true; wasQuickChange = quickChange; }); openTestProjectCopy(defaultSourcePath); doSearch({ queryInfo: {query: "foo"}, numMatches: 14 }); runs(function () { oldResults = _.cloneDeep(FindInFiles.searchModel.results); }); }); afterEach(function () { FindInFiles.searchModel.off(".FindInFilesTest"); waitsForDone(CommandManager.execute(Commands.FILE_CLOSE_ALL, { _forceClose: true }), "close all files"); }); describe("when filename changes", function () { it("should handle a filename change", function () { runs(function () { FindInFiles._fileNameChangeHandler(null, fullTestPath("foo.html"), fullTestPath("newfoo.html")); }); waitsFor(function () { return gotChange; }, "model change event"); runs(function () { expectUnchangedExcept([fullTestPath("foo.html"), fullTestPath("newfoo.html")]); expect(FindInFiles.searchModel.results[fullTestPath("foo.html")]).toBeUndefined(); expect(FindInFiles.searchModel.results[fullTestPath("newfoo.html")]).toEqual(oldResults[fullTestPath("foo.html")]); expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 3, matches: 14}); expect(wasQuickChange).toBeFalsy(); }); }); it("should handle a folder change", function () { runs(function () { FindInFiles._fileNameChangeHandler(null, fullTestPath("css"), fullTestPath("newcss")); }); waitsFor(function () { return gotChange; }, "model change event"); runs(function () { expectUnchangedExcept([fullTestPath("css/foo.css"), fullTestPath("newcss/foo.css")]); expect(FindInFiles.searchModel.results[fullTestPath("css/foo.css")]).toBeUndefined(); expect(FindInFiles.searchModel.results[fullTestPath("newcss/foo.css")]).toEqual(oldResults[fullTestPath("css/foo.css")]); expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 3, matches: 14}); expect(wasQuickChange).toBeFalsy(); }); }); }); describe("when in-memory document changes", function () { it("should update the results when a matching line is added, updating line numbers and adding the match", function () { runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: fullTestPath("foo.html") })); }); runs(function () { var doc = DocumentManager.getOpenDocumentForPath(fullTestPath("foo.html")), i; expect(doc).toBeTruthy(); // Insert another line containing "foo" immediately above the second "foo" match. doc.replaceRange("this is a foo instance\n", {line: 5, ch: 0}); // This should update synchronously. expect(gotChange).toBe(true); var oldFileResults = oldResults[fullTestPath("foo.html")], newFileResults = FindInFiles.searchModel.results[fullTestPath("foo.html")]; // First match should be unchanged. expect(newFileResults.matches[0]).toEqual(oldFileResults.matches[0]); // Next match should be the new match. We just check the offsets here, not everything in the match record. expect(newFileResults.matches[1].start).toEqual({line: 5, ch: 10}); expect(newFileResults.matches[1].end).toEqual({line: 5, ch: 13}); // Rest of the matches should have had their lines adjusted. for (i = 2; i < newFileResults.matches.length; i++) { var newMatch = newFileResults.matches[i], oldMatch = oldFileResults.matches[i - 1]; expect(newMatch.start).toEqual({line: oldMatch.start.line + 1, ch: oldMatch.start.ch}); expect(newMatch.end).toEqual({line: oldMatch.end.line + 1, ch: oldMatch.end.ch}); } // There should be one new match. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 3, matches: 15}); // Make sure the model is adding the flag that will make the view debounce changes. expect(wasQuickChange).toBeTruthy(); }); }); it("should update the results when a matching line is deleted, updating line numbers and removing the match", function () { runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: fullTestPath("foo.html") })); }); runs(function () { var doc = DocumentManager.getOpenDocumentForPath(fullTestPath("foo.html")), i; expect(doc).toBeTruthy(); // Remove the second "foo" match. doc.replaceRange("", {line: 5, ch: 0}, {line: 6, ch: 0}); // This should update synchronously. expect(gotChange).toBe(true); var oldFileResults = oldResults[fullTestPath("foo.html")], newFileResults = FindInFiles.searchModel.results[fullTestPath("foo.html")]; // First match should be unchanged. expect(newFileResults.matches[0]).toEqual(oldFileResults.matches[0]); // Second match should be deleted. The rest of the matches should have their lines adjusted. for (i = 1; i < newFileResults.matches.length; i++) { var newMatch = newFileResults.matches[i], oldMatch = oldFileResults.matches[i + 1]; expect(newMatch.start).toEqual({line: oldMatch.start.line - 1, ch: oldMatch.start.ch}); expect(newMatch.end).toEqual({line: oldMatch.end.line - 1, ch: oldMatch.end.ch}); } // There should be one fewer match. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 3, matches: 13}); // Make sure the model is adding the flag that will make the view debounce changes. expect(wasQuickChange).toBeTruthy(); }); }); it("should replace matches in a portion of the document that was edited to include a new match", function () { runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: fullTestPath("foo.html") })); }); runs(function () { var doc = DocumentManager.getOpenDocumentForPath(fullTestPath("foo.html")), i; expect(doc).toBeTruthy(); // Replace the second and third foo matches (on two adjacent lines) with a single foo match on a single line. doc.replaceRange("this is a new foo match\n", {line: 5, ch: 0}, {line: 7, ch: 0}); // This should update synchronously. expect(gotChange).toBe(true); var oldFileResults = oldResults[fullTestPath("foo.html")], newFileResults = FindInFiles.searchModel.results[fullTestPath("foo.html")]; // First match should be unchanged. expect(newFileResults.matches[0]).toEqual(oldFileResults.matches[0]); // Second match should be changed to reflect the new position. expect(newFileResults.matches[1].start).toEqual({line: 5, ch: 14}); expect(newFileResults.matches[1].end).toEqual({line: 5, ch: 17}); // Third match should be deleted. The rest of the matches should have their lines adjusted. for (i = 2; i < newFileResults.matches.length; i++) { var newMatch = newFileResults.matches[i], oldMatch = oldFileResults.matches[i + 1]; expect(newMatch.start).toEqual({line: oldMatch.start.line - 1, ch: oldMatch.start.ch}); expect(newMatch.end).toEqual({line: oldMatch.end.line - 1, ch: oldMatch.end.ch}); } // There should be one fewer match. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 3, matches: 13}); // Make sure the model is adding the flag that will make the view debounce changes. expect(wasQuickChange).toBeTruthy(); }); }); it("should completely remove the document from the results list if all matches in the document are deleted", function () { runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: fullTestPath("foo.html") })); }); runs(function () { var doc = DocumentManager.getOpenDocumentForPath(fullTestPath("foo.html")); expect(doc).toBeTruthy(); // Replace all matches and check that the entire file was removed from the results list. doc.replaceRange("this will not match", {line: 4, ch: 0}, {line: 18, ch: 0}); // This should update synchronously. expect(gotChange).toBe(true); expect(FindInFiles.searchModel.results[fullTestPath("foo.html")]).toBeUndefined(); // There should be one fewer file and the matches for that file should be gone. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 2, matches: 7}); // Make sure the model is adding the flag that will make the view debounce changes. expect(wasQuickChange).toBeTruthy(); }); }); }); // Unfortunately, we can't easily mock file changes, so we just do them in a copy of the project. // This set of tests isn't as thorough as it could be, because it's difficult to perform file // ops that will exercise all possible scenarios of change events (e.g. change events with // both added and removed files), and conversely it's difficult to mock all the filesystem stuff // without doing a bunch of work. So this is really just a set of basic sanity tests to make // sure that stuff being refactored between the change handler and the model doesn't break // basic update functionality. describe("when on-disk file or folder changes", function () { it("should add matches for a new file", function () { var newFilePath; runs(function () { newFilePath = fullTestPath("newfoo.html"); expect(FindInFiles.searchModel.results[newFilePath]).toBeFalsy(); waitsForDone(promisify(FileSystem.getFileForPath(newFilePath), "write", "this is a new foo match\n"), "add new file"); }); waitsFor(function () { return gotChange; }, "model change event"); runs(function () { var newFileResults = FindInFiles.searchModel.results[newFilePath]; expect(newFileResults).toBeTruthy(); expect(newFileResults.matches.length).toBe(1); expect(newFileResults.matches[0].start).toEqual({line: 0, ch: 14}); expect(newFileResults.matches[0].end).toEqual({line: 0, ch: 17}); // There should be one new file and match. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 4, matches: 15}); }); }); it("should remove matches for a deleted file", function () { runs(function () { expect(FindInFiles.searchModel.results[fullTestPath("foo.html")]).toBeTruthy(); waitsForDone(promisify(FileSystem.getFileForPath(fullTestPath("foo.html")), "unlink"), "delete file"); }); waitsFor(function () { return gotChange; }, "model change event"); runs(function () { expect(FindInFiles.searchModel.results[fullTestPath("foo.html")]).toBeFalsy(); // There should be one fewer file and the matches should be removed. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 2, matches: 7}); }); }); it("should remove matches for a deleted folder", function () { runs(function () { expect(FindInFiles.searchModel.results[fullTestPath("css/foo.css")]).toBeTruthy(); waitsForDone(promisify(FileSystem.getFileForPath(fullTestPath("css")), "unlink"), "delete folder"); }); waitsFor(function () { return gotChange; }, "model change event"); runs(function () { expect(FindInFiles.searchModel.results[fullTestPath("css/foo.css")]).toBeFalsy(); // There should be one fewer file and the matches should be removed. expect(FindInFiles.searchModel.countFilesMatches()).toEqual({files: 2, matches: 11}); }); }); }); }); describe("Replace", function () { function expectProjectToMatchKnownGood(kgFolder, lineEndings, filesToSkip) { runs(function () { var testRootPath = ProjectManager.getProjectRoot().fullPath, kgRootPath = SpecRunnerUtils.getTestPath("/spec/FindReplace-known-goods/" + kgFolder + "/"); function compareKnownGoodToTestFile(kgContents, kgFilePath) { var testFilePath = testRootPath + kgFilePath.slice(kgRootPath.length); if (!filesToSkip || filesToSkip.indexOf(testFilePath) === -1) { return promisify(FileSystem.getFileForPath(testFilePath), "read").then(function (testContents) { if (lineEndings) { kgContents = FileUtils.translateLineEndings(kgContents, lineEndings); } expect(testContents).toEqual(kgContents); }); } } waitsForDone(visitAndProcessFiles(kgRootPath, compareKnownGoodToTestFile), "project comparison done"); }); } // Does a standard test for files on disk: search, replace, and check that files on disk match. // Options: // knownGoodFolder: name of folder containing known goods to match to project files on disk // lineEndings: optional, one of the FileUtils.LINE_ENDINGS_* constants // - if specified, files on disk are expected to have these line endings // uncheckMatches: optional array of {file: string, index: number} items to uncheck; if // index unspecified, will uncheck all matches in file function doBasicTest(options) { doSearch(options); runs(function () { if (options.uncheckMatches) { options.uncheckMatches.forEach(function (matchToUncheck) { var matches = searchResults[testPath + matchToUncheck.file].matches; if (matchToUncheck.index) { matches[matchToUncheck.index].isChecked = false; } else { matches.forEach(function (match) { match.isChecked = false; }); } }); } waitsForDone(doReplace(options), "finish replacement"); }); expectProjectToMatchKnownGood(options.knownGoodFolder, options.lineEndings); } // Like doBasicTest, but expects some files to have specific errors. // Options: same as doBasicTest, plus: // test: optional function (which must contain one or more runs blocks) to run between // search and replace // errors: array of errors expected to occur (in the same format as performReplacement() returns) function doTestWithErrors(options) { var done = false; doSearch(options); if (options.test) { // The test function *must* contain one or more runs blocks. options.test(); } runs(function () { doReplace(options) .then(function () { expect("should fail due to error").toBe(true); done = true; }, function (errors) { expect(errors).toEqual(options.errors); done = true; }); }); waitsFor(function () { return done; }, 1000, "finish replacement"); expectProjectToMatchKnownGood(options.knownGoodFolder, options.lineEndings); } function expectInMemoryFiles(options) { runs(function () { waitsForDone(Async.doInParallel(options.inMemoryFiles, function (filePath) { var fullPath; // If this is a full file path (as would be the case for an external file), handle it specially. if (typeof filePath === "object" && filePath.fullPath) { fullPath = filePath.fullPath; filePath = "/" + FileUtils.getBaseName(fullPath); } else { fullPath = testPath + filePath; } // Check that the document open in memory was changed and matches the expected replaced version of that file. var doc = DocumentManager.getOpenDocumentForPath(fullPath); expect(doc).toBeTruthy(); expect(doc.isDirty).toBe(true); var kgPath = SpecRunnerUtils.getTestPath("/spec/FindReplace-known-goods/" + options.inMemoryKGFolder + filePath), kgFile = FileSystem.getFileForPath(kgPath); return promisify(kgFile, "read").then(function (contents) { expect(doc.getText(true)).toEqual(contents); }); }), "check in memory file contents"); }); } // Like doBasicTest, but expects one or more files to be open in memory and the replacements to happen there. // Options: same as doBasicTest, plus: // inMemoryFiles: array of project-relative paths (each starting with "/") to files that should be open in memory // inMemoryKGFolder: folder containing known goods to compare each of the inMemoryFiles to function doInMemoryTest(options) { // Like the basic test, we expect everything on disk to match the kgFolder (which means the file open in memory // should *not* have changed on disk yet). doBasicTest(options); expectInMemoryFiles(options); } afterEach(function () { runs(function () { waitsForDone(CommandManager.execute(Commands.FILE_CLOSE_ALL, { _forceClose: true }), "close all files"); }); }); describe("Engine", function () { it("should replace all instances of a simple string in a project on disk case-insensitively", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive" }); }); it("should replace all instances of a simple string in a project on disk case-sensitively", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "foo", isCaseSensitive: true}, numMatches: 9, replaceText: "bar", knownGoodFolder: "simple-case-sensitive" }); }); it("should replace all instances of a regexp in a project on disk case-insensitively with a simple replace string", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "\\b[a-z]{3}\\b", isRegexp: true}, numMatches: 33, replaceText: "CHANGED", knownGoodFolder: "regexp-case-insensitive" }); }); it("should replace all instances of a regexp that spans multiple lines in a project on disk", function () { openTestProjectCopy(defaultSourcePath); // This query should find each rule in the CSS file (but not in the JS file since there's more than one line // between each pair of braces). doBasicTest({ queryInfo: {query: "\\{\\n[^\\n]*\\n\\}", isRegexp: true}, numMatches: 4, replaceText: "CHANGED", knownGoodFolder: "regexp-replace-multiline" }); }); it("should replace all instances of a regexp that spans multiple lines in a project in memory", function () { openTestProjectCopy(defaultSourcePath); // This query should find each rule in the CSS file (but not in the JS file since there's more than one line // between each pair of braces). doInMemoryTest({ queryInfo: {query: "\\{\\n[^\\n]*\\n\\}", isRegexp: true}, numMatches: 4, replaceText: "CHANGED", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "regexp-replace-multiline" }); }); it("should replace all instances of a regexp that spans multiple lines in a project on disk when the last line is a partial match", function () { openTestProjectCopy(defaultSourcePath); // This query should match from the open brace through to (and including) the first colon of each rule in the // CSS file. doBasicTest({ queryInfo: {query: "\\{\\n[^:]+:", isRegexp: true}, numMatches: 4, replaceText: "CHANGED", knownGoodFolder: "regexp-replace-multiline-partial" }); }); it("should replace all instances of a regexp that spans multiple lines in a project in memory when the last line is a partial match", function () { openTestProjectCopy(defaultSourcePath); // This query should match from the open brace through to (and including) the first colon of each rule in the // CSS file. doInMemoryTest({ queryInfo: {query: "\\{\\n[^:]+:", isRegexp: true}, numMatches: 4, replaceText: "CHANGED", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "regexp-replace-multiline-partial" }); }); it("should replace all instances of a regexp in a project on disk case-sensitively with a simple replace string", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "\\b[a-z]{3}\\b", isRegexp: true, isCaseSensitive: true}, numMatches: 25, replaceText: "CHANGED", knownGoodFolder: "regexp-case-sensitive" }); }); it("should replace instances of a regexp with a $-substitution on disk", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "\\b([a-z]{3})\\b", isRegexp: true}, numMatches: 33, replaceText: "[$1]", knownGoodFolder: "regexp-dollar-replace" }); }); it("should replace instances of a regexp with a $-substitution in in-memory files", function () { // This test case is necessary because the in-memory case goes through a separate code path before it deals with // the replace text. openTestProjectCopy(defaultSourcePath); doInMemoryTest({ queryInfo: {query: "\\b([a-z]{3})\\b", isRegexp: true}, numMatches: 33, replaceText: "[$1]", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "regexp-dollar-replace" }); }); it("should replace instances of regexp with 0-length matches on disk", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "^", isRegexp: true}, numMatches: 55, replaceText: "CHANGED", knownGoodFolder: "regexp-zero-length" }); }); it("should replace instances of regexp with 0-length matches in memory", function () { openTestProjectCopy(defaultSourcePath); doInMemoryTest({ queryInfo: {query: "^", isRegexp: true}, numMatches: 55, replaceText: "CHANGED", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "regexp-zero-length" }); }); it("should replace instances of a string in a project respecting CRLF line endings", function () { openTestProjectCopy(defaultSourcePath, FileUtils.LINE_ENDINGS_CRLF); doBasicTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive", lineEndings: FileUtils.LINE_ENDINGS_CRLF }); }); it("should replace instances of a string in a project respecting LF line endings", function () { openTestProjectCopy(defaultSourcePath, FileUtils.LINE_ENDINGS_LF); doBasicTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive", lineEndings: FileUtils.LINE_ENDINGS_LF }); }); it("should not replace unchecked matches on disk", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "foo"}, numMatches: 14, uncheckMatches: [{file: "/css/foo.css"}], replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css" }); }); it("should do all in-memory replacements synchronously, so user can't accidentally edit document after start of replace process", function () { openTestProjectCopy(defaultSourcePath); // Open two of the documents we want to replace in memory. runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/css/foo.css" }), "opening document"); }); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/foo.js" }), "opening document"); }); // We can't use expectInMemoryFiles(), since this test requires everything to happen fully synchronously // (no file reads) once the replace has started. So we read the files here. var kgFileContents = {}; runs(function () { var kgPath = SpecRunnerUtils.getTestPath("/spec/FindReplace-known-goods/simple-case-insensitive"); waitsForDone(visitAndProcessFiles(kgPath, function (contents, fullPath) { // Translate line endings to in-memory document style (always LF) kgFileContents[fullPath.slice(kgPath.length)] = FileUtils.translateLineEndings(contents, FileUtils.LINE_ENDINGS_LF); }), "reading known good"); }); doSearch({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar" }); runs(function () { // Start the replace, but don't wait for it to complete. Since the in-memory replacements should occur // synchronously, the in-memory documents should have already been changed. This means we don't have to // worry about detecting changes in documents once the replace starts. (If the user had changed // the document after the search but before the replace started, we would have already closed the panel, // preventing the user from doing a replace.) var promise = FindInFiles.doReplace(searchResults, "bar"); // Check the in-memory contents against the known goods. ["/css/foo.css", "/foo.js"].forEach(function (filename) { var fullPath = testPath + filename, doc = DocumentManager.getOpenDocumentForPath(fullPath); expect(doc).toBeTruthy(); expect(doc.isDirty).toBe(true); expect(doc.getText()).toEqual(kgFileContents[filename]); }); // Finish the replace operation, which should go ahead and do the file on disk. waitsForDone(promise); }); runs(function () { // Now the file on disk should have been replaced too. waitsForDone(promisify(FileSystem.getFileForPath(testPath + "/foo.html"), "read").then(function (contents) { expect(FileUtils.translateLineEndings(contents, FileUtils.LINE_ENDINGS_LF)).toEqual(kgFileContents["/foo.html"]); }), "checking known good"); }); }); it("should return an error and not do the replacement in files that have changed on disk since the search", function () { openTestProjectCopy(defaultSourcePath); doTestWithErrors({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "changed-file", test: function () { // Wait for one second to make sure that the changed file gets an updated timestamp. // TODO: this seems like a FileSystem issue - we don't get timestamp changes with a resolution // of less than one second. waits(1000); runs(function () { // Clone the results so we don't use the version that's auto-updated by FindInFiles when we modify the file // on disk. This case might not usually come up in the real UI if we always guarantee that the results list will // be auto-updated, but we want to make sure there's no edge case where we missed an update and still clobber the // file on disk anyway. searchResults = _.cloneDeep(searchResults); waitsForDone(promisify(FileSystem.getFileForPath(testPath + "/css/foo.css"), "write", "/* changed content */"), "modify file"); }); }, errors: [{item: testPath + "/css/foo.css", error: FindUtils.ERROR_FILE_CHANGED}] }); }); it("should return an error if a write fails", function () { openTestProjectCopy(defaultSourcePath); // Return a fake error when we try to write to the CSS file. (Note that this is spying on the test window's File module.) var writeSpy = spyOn(File.prototype, "write").andCallFake(function (data, options, callback) { if (typeof options === "function") { callback = options; } else { callback = callback || function () {}; } if (this.fullPath === testPath + "/css/foo.css") { callback(FileSystemError.NOT_WRITABLE); } else { return writeSpy.originalValue.apply(this, arguments); } }); doTestWithErrors({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css", errors: [{item: testPath + "/css/foo.css", error: FileSystemError.NOT_WRITABLE}] }); }); it("should return an error if a match timestamp doesn't match an in-memory document timestamp", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/css/foo.css" }), "opening document"); }); doTestWithErrors({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css", test: function () { runs(function () { // Clone the results so we don't use the version that's auto-updated by FindInFiles when we modify the file // on disk. This case might not usually come up in the real UI if we always guarantee that the results list will // be auto-updated, but we want to make sure there's no edge case where we missed an update and still clobber the // file on disk anyway. searchResults = _.cloneDeep(searchResults); var oldTimestamp = searchResults[testPath + "/css/foo.css"].timestamp; searchResults[testPath + "/css/foo.css"].timestamp = new Date(oldTimestamp.getTime() - 5000); }); }, errors: [{item: testPath + "/css/foo.css", error: FindUtils.ERROR_FILE_CHANGED}] }); }); it("should do the replacement in memory for a file open in an Editor in the working set", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, {fullPath: testPath + "/css/foo.css"}), "add file to working set"); }); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css", inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should do the search/replace in the current document content for a dirty in-memory document", function () { openTestProjectCopy(defaultSourcePath); var options = { queryInfo: {query: "foo"}, numMatches: 15, replaceText: "bar", inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive-modified" }; runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, {fullPath: testPath + "/css/foo.css"}), "add file to working set"); }); runs(function () { var doc = DocumentManager.getOpenDocumentForPath(testPath + "/css/foo.css"); expect(doc).toBeTruthy(); doc.replaceRange("/* added a foo line */\n", {line: 0, ch: 0}); }); doSearch(options); runs(function () { waitsForDone(doReplace(options), "replace done"); }); expectInMemoryFiles(options); expectProjectToMatchKnownGood("simple-case-insensitive-modified", null, [testPath + "/css/foo.css"]); }); it("should do the replacement in memory for a file open in an Editor that's not in the working set", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.FILE_OPEN, {fullPath: testPath + "/css/foo.css"}), "open file"); }); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css", inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should do the replacement in memory for a file that's in the working set but not yet open in an editor", function () { openTestProjectCopy(defaultSourcePath); runs(function () { MainViewManager.addToWorkingSet(MainViewManager.ACTIVE_PANE, FileSystem.getFileForPath(testPath + "/css/foo.css")); }); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css", inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should open the document in an editor and do the replacement there if the document is open but not in an Editor", function () { var doc, openFilePath; openTestProjectCopy(defaultSourcePath); runs(function () { openFilePath = testPath + "/css/foo.css"; waitsForDone(DocumentManager.getDocumentForPath(openFilePath).done(function (d) { doc = d; doc.addRef(); }), "get document"); }); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "simple-case-insensitive-except-foo.css", inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive" }); runs(function () { var workingSet = MainViewManager.getWorkingSet(MainViewManager.ALL_PANES); expect(workingSet.some(function (file) { return file.fullPath === openFilePath; })).toBe(true); doc.releaseRef(); }); }); it("should open files and do all replacements in memory if forceFilesOpen is true", function () { openTestProjectCopy(defaultSourcePath); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should not perform unchecked matches in memory", function () { openTestProjectCopy(defaultSourcePath); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, uncheckMatches: [{file: "/css/foo.css", index: 1}, {file: "/foo.html", index: 3}], replaceText: "bar", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-insensitive-unchecked" }); }); it("should not perform unchecked matches on disk", function () { openTestProjectCopy(defaultSourcePath); doBasicTest({ queryInfo: {query: "foo"}, numMatches: 14, uncheckMatches: [{file: "/css/foo.css", index: 1}, {file: "/foo.html", index: 3}], replaceText: "bar", knownGoodFolder: "simple-case-insensitive-unchecked" }); }); it("should select the first modified file in the working set if replacements are done in memory and current editor wasn't affected", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, {fullPath: testPath + "/bar.txt"}), "open file"); }); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-insensitive" }); runs(function () { var expectedFile = testPath + "/foo.html"; expect(DocumentManager.getCurrentDocument().file.fullPath).toBe(expectedFile); expect(MainViewManager.findInWorkingSet(MainViewManager.ACTIVE_PANE, expectedFile)).not.toBe(-1); }); }); it("should select the first modified file in the working set if replacements are done in memory and no editor was open", function () { openTestProjectCopy(defaultSourcePath); var testFiles = ["/css/foo.css", "/foo.html", "/foo.js"]; doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, replaceText: "bar", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: testFiles, inMemoryKGFolder: "simple-case-insensitive" }); runs(function () { // since nothing was opened prior to doing the // replacements then the first file modified will be opened. // This may not be the first item in the array above // since the files are sorted differently in performReplacements // and the replace is performed asynchronously. // So, just ensure that *something* was opened expect(DocumentManager.getCurrentDocument().file.fullPath).toBeTruthy(); testFiles.forEach(function (relPath) { expect(MainViewManager.findInWorkingSet(MainViewManager.ACTIVE_PANE, testPath + relPath)).not.toBe(-1); }); }); }); it("should select the first modified file in the working set if replacements are done in memory and there were no matches checked for current editor", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, {fullPath: testPath + "/css/foo.css"}), "open file"); }); doInMemoryTest({ queryInfo: {query: "foo"}, numMatches: 14, uncheckMatches: [{file: "/css/foo.css"}], replaceText: "bar", knownGoodFolder: "unchanged", forceFilesOpen: true, inMemoryFiles: ["/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-insensitive-except-foo.css" }); runs(function () { expect(DocumentManager.getCurrentDocument().file.fullPath).toEqual(testPath + "/foo.html"); }); }); }); describe("UI", function () { function executeReplace(findText, replaceText, fromKeyboard) { runs(function () { FindInFiles._searchDone = false; FindInFiles._replaceDone = false; $("#find-what").val(findText).trigger("input"); $("#replace-with").val(replaceText).trigger("input"); if (fromKeyboard) { SpecRunnerUtils.simulateKeyEvent(KeyEvent.DOM_VK_RETURN, "keydown", $("#replace-with").get(0)); } else { $("#replace-all").click(); } }); } function showSearchResults(findText, replaceText, fromKeyboard) { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); executeReplace(findText, replaceText, fromKeyboard); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); } afterEach(function () { closeSearchBar(); }); describe("Replace in Files Bar", function () { it("should only show a Replace All button", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { expect($("#replace-yes").length).toBe(0); expect($("#replace-all").length).toBe(1); }); }); it("should disable the Replace button if query is empty", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { $("#find-what").val("").trigger("input"); expect($("#replace-all").is(":disabled")).toBe(true); }); }); it("should enable the Replace button if the query is a non-empty string", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { $("#find-what").val("my query").trigger("input"); expect($("#replace-all").is(":disabled")).toBe(false); }); }); it("should disable the Replace button if query is an invalid regexp", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { $("#find-regexp").click(); $("#find-what").val("[invalid").trigger("input"); expect($("#replace-all").is(":disabled")).toBe(true); }); }); it("should enable the Replace button if query is a valid regexp", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { $("#find-regexp").click(); $("#find-what").val("[valid]").trigger("input"); expect($("#replace-all").is(":disabled")).toBe(false); }); }); it("should start with focus in Find, and set focus to the Replace field when the user hits enter in the Find field", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { // For some reason using $().is(":focus") here is flaky. expect(testWindow.document.activeElement).toBe($("#find-what").get(0)); SpecRunnerUtils.simulateKeyEvent(KeyEvent.DOM_VK_RETURN, "keydown", $("#find-what").get(0)); expect(testWindow.document.activeElement).toBe($("#replace-with").get(0)); }); }); }); describe("Full workflow", function () { it("should prepopulate the find bar with selected text", function () { var doc, editor; openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/foo.html" }), "open file"); }); runs(function () { doc = DocumentManager.getOpenDocumentForPath(testPath + "/foo.html"); expect(doc).toBeTruthy(); MainViewManager._edit(MainViewManager.ACTIVE_PANE, doc); editor = doc._masterEditor; expect(editor).toBeTruthy(); editor.setSelection({line: 4, ch: 7}, {line: 4, ch: 10}); }); openSearchBar(null); runs(function () { expect($("#find-what").val()).toBe("Foo"); }); waitsForDone(CommandManager.execute(Commands.FILE_CLOSE_ALL), "closing all files"); }); it("should prepopulate the find bar with only first line of selected text", function () { var doc, editor; openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/foo.html" }), "open file"); }); runs(function () { doc = DocumentManager.getOpenDocumentForPath(testPath + "/foo.html"); expect(doc).toBeTruthy(); MainViewManager._edit(MainViewManager.ACTIVE_PANE, doc); editor = doc._masterEditor; expect(editor).toBeTruthy(); editor.setSelection({line: 4, ch: 7}, {line: 6, ch: 10}); }); openSearchBar(null); runs(function () { expect($("#find-what").val()).toBe("Foo</title>"); }); waitsForDone(CommandManager.execute(Commands.FILE_CLOSE_ALL), "closing all files"); }); it("should show results from the search with all checkboxes checked", function () { showSearchResults("foo", "bar"); runs(function () { expect($("#find-in-files-results").length).toBe(1); expect($("#find-in-files-results .check-one").length).toBe(14); expect($("#find-in-files-results .check-one:checked").length).toBe(14); }); }); it("should do a simple search/replace all from find bar, opening results in memory, when user clicks on Replace... button", function () { showSearchResults("foo", "bar"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should do a simple search/replace all from find bar, opening results in memory, when user hits Enter in Replace field", function () { showSearchResults("foo", "bar"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should do a search in folder, replace all from find bar", function () { openTestProjectCopy(defaultSourcePath); var dirEntry = FileSystem.getDirectoryForPath(testPath + "/css/"); openSearchBar(dirEntry, true); executeReplace("foo", "bar", true); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive-only-foo.css" }); }); it("should do a search in file, replace all from find bar", function () { openTestProjectCopy(defaultSourcePath); var fileEntry = FileSystem.getFileForPath(testPath + "/css/foo.css"); openSearchBar(fileEntry, true); executeReplace("foo", "bar", true); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/css/foo.css"], inMemoryKGFolder: "simple-case-insensitive-only-foo.css" }); }); it("should do a regexp search/replace from find bar", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { $("#find-regexp").click(); }); executeReplace("\\b([a-z]{3})\\b", "[$1]", true); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "regexp-dollar-replace" }); }); it("should do a case-sensitive search/replace from find bar", function () { openTestProjectCopy(defaultSourcePath); openSearchBar(null, true); runs(function () { $("#find-case-sensitive").click(); }); executeReplace("foo", "bar", true); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/css/foo.css", "/foo.html", "/foo.js"], inMemoryKGFolder: "simple-case-sensitive" }); }); it("should warn and do changes on disk if there are changes in >20 files", function () { openTestProjectCopy(SpecRunnerUtils.getTestPath("/spec/FindReplace-test-files-large")); openSearchBar(null, true); executeReplace("foo", "bar"); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should cause the dialog to appear runs(function () { $(".replace-checked").click(); }); runs(function () { expect(FindInFiles._replaceDone).toBeFalsy(); }); var $okButton; waitsFor(function () { $okButton = $(".dialog-button[data-button-id='ok']"); return !!$okButton.length; }, "dialog appearing"); runs(function () { expect($okButton.length).toBe(1); expect($okButton.text()).toBe(Strings.BUTTON_REPLACE_WITHOUT_UNDO); $okButton.click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectProjectToMatchKnownGood("simple-case-insensitive-large"); }); it("should not do changes on disk if Cancel is clicked in 'too many files' dialog", function () { spyOn(FindInFiles, "doReplace").andCallThrough(); openTestProjectCopy(SpecRunnerUtils.getTestPath("/spec/FindReplace-test-files-large")); openSearchBar(null, true); executeReplace("foo", "bar"); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should cause the dialog to appear runs(function () { $(".replace-checked").click(); }); runs(function () { expect(FindInFiles._replaceDone).toBeFalsy(); }); var $cancelButton; waitsFor(function () { $cancelButton = $(".dialog-button[data-button-id='cancel']"); return !!$cancelButton.length; }); runs(function () { expect($cancelButton.length).toBe(1); $cancelButton.click(); }); waitsFor(function () { return $(".dialog-button[data-button-id='cancel']").length === 0; }, "dialog dismissed"); runs(function () { expect(FindInFiles.doReplace).not.toHaveBeenCalled(); // Panel should be left open. expect($("#find-in-files-results").is(":visible")).toBeTruthy(); }); }); it("should do single-file Replace All in an open file in the project", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/foo.js" }), "open file"); }); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_REPLACE), "open single-file replace bar"); }); waitsFor(function () { return $(".modal-bar").length === 1; }, "search bar open"); executeReplace("foo", "bar"); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: ["/foo.js"], inMemoryKGFolder: "simple-case-insensitive" }); }); it("should do single-file Replace All in a non-project file", function () { // Open an empty project. var blankProject = SpecRunnerUtils.getTempDirectory() + "/blank-project", externalFilePath = defaultSourcePath + "/foo.js"; runs(function () { var dirEntry = FileSystem.getDirectoryForPath(blankProject); waitsForDone(promisify(dirEntry, "create")); }); SpecRunnerUtils.loadProjectInTestWindow(blankProject); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: externalFilePath }), "open external file"); }); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_REPLACE), "open single-file replace bar"); }); waitsFor(function () { return $(".modal-bar").length === 1; }, "search bar open"); executeReplace("foo", "bar"); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); // Click the "Replace" button in the search panel - this should kick off the replace runs(function () { $(".replace-checked").click(); }); waitsFor(function () { return FindInFiles._replaceDone; }, "replace finished"); expectInMemoryFiles({ inMemoryFiles: [{fullPath: externalFilePath}], // pass a full file path since this is an external file inMemoryKGFolder: "simple-case-insensitive" }); }); it("should show an error dialog if errors occurred during the replacement", function () { showSearchResults("foo", "bar"); runs(function () { spyOn(FindInFiles, "doReplace").andCallFake(function () { return new $.Deferred().reject([ {item: testPath + "/css/foo.css", error: FindUtils.ERROR_FILE_CHANGED}, {item: testPath + "/foo.html", error: FileSystemError.NOT_WRITABLE} ]); }); }); runs(function () { // This will call our mock doReplace $(".replace-checked").click(); }); var $dlg; waitsFor(function () { $dlg = $(".error-dialog"); return !!$dlg.length; }, "dialog appearing"); runs(function () { expect($dlg.length).toBe(1); // Both files should be mentioned in the dialog. var text = $dlg.find(".dialog-message").text(); // Have to check this in a funny way because breakableUrl() adds a special character after the slash. expect(text.match(/css\/.*foo.css/)).not.toBe(-1); expect(text.indexOf(StringUtils.breakableUrl("foo.html"))).not.toBe(-1); $dlg.find(".dialog-button[data-button-id='ok']").click(); expect($(".error-dialog").length).toBe(0); }); }); }); // TODO: these could be split out into unit tests, but would need to be able to instantiate // a SearchResultsView in the test runner window. describe("Checkbox interactions", function () { it("should uncheck all checkboxes and update model when Check All is clicked while checked", function () { showSearchResults("foo", "bar"); runs(function () { expect($(".check-all").is(":checked")).toBeTruthy(); $(".check-all").click(); expect($(".check-all").is(":checked")).toBeFalsy(); expect($(".check-one:checked").length).toBe(0); expect(_.find(FindInFiles.searchModel.results, function (result) { return _.find(result.matches, function (match) { return match.isChecked; }); })).toBeFalsy(); }); }); it("should uncheck one checkbox and update model, unchecking the Check All checkbox", function () { showSearchResults("foo", "bar"); runs(function () { $(".check-one").eq(1).click(); expect($(".check-one").eq(1).is(":checked")).toBeFalsy(); expect($(".check-all").is(":checked")).toBeFalsy(); // In the sorting, this item should be the second match in the first file, which is foo.html var uncheckedMatch = FindInFiles.searchModel.results[testPath + "/foo.html"].matches[1]; expect(uncheckedMatch.isChecked).toBe(false); // Check that all items in the model besides the unchecked one to be checked. expect(_.every(FindInFiles.searchModel.results, function (result) { return _.every(result.matches, function (match) { if (match === uncheckedMatch) { // This one is already expected to be unchecked. return true; } return match.isChecked; }); })).toBeTruthy(); }); }); it("should re-check unchecked checkbox and update model after clicking Check All again", function () { showSearchResults("foo", "bar"); runs(function () { $(".check-one").eq(1).click(); expect($(".check-one").eq(1).is(":checked")).toBeFalsy(); expect($(".check-all").is(":checked")).toBeFalsy(); $(".check-all").click(); expect($(".check-all").is(":checked")).toBeTruthy(); expect($(".check-one:checked").length).toEqual($(".check-one").length); expect(_.every(FindInFiles.searchModel.results, function (result) { return _.every(result.matches, function (match) { return match.isChecked; }); })).toBeTruthy(); }); }); // TODO: checkboxes with paging }); // Untitled documents are covered in the "Search -> Replace All in untitled document" cases above. describe("Panel closure on changes", function () { it("should close the panel and detach listeners if a file is modified on disk", function () { showSearchResults("foo", "bar"); runs(function () { expect($("#find-in-files-results").is(":visible")).toBe(true); waitsForDone(promisify(FileSystem.getFileForPath(testPath + "/foo.html"), "write", "changed content")); }); runs(function () { expect($("#find-in-files-results").is(":visible")).toBe(false); }); }); it("should close the panel if a file is modified in memory", function () { openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/foo.html" }), "open file"); }); openSearchBar(null, true); executeReplace("foo", "bar"); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); runs(function () { expect($("#find-in-files-results").is(":visible")).toBe(true); var doc = DocumentManager.getOpenDocumentForPath(testPath + "/foo.html"); expect(doc).toBeTruthy(); doc.replaceRange("", {line: 0, ch: 0}, {line: 1, ch: 0}); expect($("#find-in-files-results").is(":visible")).toBe(false); }); }); it("should close the panel if a document was open and modified before the search, but then the file was closed and changes dropped", function () { var doc; openTestProjectCopy(defaultSourcePath); runs(function () { waitsForDone(CommandManager.execute(Commands.CMD_ADD_TO_WORKINGSET_AND_OPEN, { fullPath: testPath + "/foo.html" }), "open file"); }); runs(function () { doc = DocumentManager.getOpenDocumentForPath(testPath + "/foo.html"); expect(doc).toBeTruthy(); doc.replaceRange("", {line: 0, ch: 0}, {line: 1, ch: 0}); }); openSearchBar(null, true); executeReplace("foo", "bar"); waitsFor(function () { return FindInFiles._searchDone; }, "search finished"); runs(function () { expect($("#find-in-files-results").is(":visible")).toBe(true); // We have to go through the dialog workflow for closing the file without saving changes, // because the "revert" behavior only happens in that workflow (it doesn't happen if you // do forceClose, since that's only intended as a shortcut for the end of a unit test). var closePromise = CommandManager.execute(Commands.FILE_CLOSE, { file: doc.file }), $dontSaveButton = $(".dialog-button[data-button-id='dontsave']"); expect($dontSaveButton.length).toBe(1); $dontSaveButton.click(); waitsForDone(closePromise); }); runs(function () { expect($("#find-in-files-results").is(":visible")).toBe(false); }); }); }); describe("Disclosure Arrows", function () { it("should expand/collapse items when clicked", function () { showSearchResults("foo", "bar"); runs(function () { $(".disclosure-triangle").click(); expect($(".disclosure-triangle").hasClass("expanded")).toBeFalsy(); // Check that all results are hidden expect($(".bottom-panel-table tr[data-file-index=0][data-match-index]:hidden").length).toEqual(7); expect($(".bottom-panel-table tr[data-file-index=1][data-match-index]:hidden").length).toEqual(4); $(".disclosure-triangle").click(); expect($(".disclosure-triangle").hasClass("expanded")).toBeTruthy(); expect($(".bottom-panel-table tr[data-file-index=0][data-match-index]:visible").length).toEqual(7); expect($(".bottom-panel-table tr[data-file-index=1][data-match-index]:visible").length).toEqual(4); }); }); }); }); }); }); });
import Model from 'flarum/Model'; import Discussion from 'flarum/models/Discussion'; import IndexPage from 'flarum/components/IndexPage'; import Tag from 'tags/models/Tag'; import TagsPage from 'tags/components/TagsPage'; import DiscussionTaggedPost from 'tags/components/DiscussionTaggedPost'; import addTagList from 'tags/addTagList'; import addTagFilter from 'tags/addTagFilter'; import addTagLabels from 'tags/addTagLabels'; import addTagControl from 'tags/addTagControl'; import addTagComposer from 'tags/addTagComposer'; app.initializers.add('tags', function(app) { app.routes.tags = {path: '/tags', component: TagsPage.component()}; app.routes.tag = {path: '/t/:tags', component: IndexPage.component()}; app.route.tag = tag => app.route('tag', {tags: tag.slug()}); app.postComponents.discussionTagged = DiscussionTaggedPost; app.store.models.tags = Tag; Discussion.prototype.tags = Model.hasMany('tags'); Discussion.prototype.canTag = Model.attribute('canTag'); addTagList(); addTagFilter(); addTagLabels(); addTagControl(); addTagComposer(); });
var $content, $deferred; $(document).ready(function() { // Bind ASAP events $(window).on("request.asap", pageRequested) .on("progress.asap", pageLoadProgress) .on("load.asap", pageLoaded) .on("render.asap", pageRendered) .on("error.asap", pageLoadError); $content = $("#content"); // Init ASAP $.asap({ cache: false, selector: "a:not(.no-asap)", transitionOut: function() { if ($deferred) { $deferred.reject(); } $deferred = $.Deferred(); $content.animate({ opacity: 0 }, 1000, function() { console.log("Animate complete"); $deferred.resolve(); }); return $deferred; } }); // Remember to init first page pageRendered(); }); function pageRequested(e) { // update state to reflect loading console.log("Request new page"); } function pageLoadProgress(e, percent) { // update progress to reflect loading console.log("New page load progress", percent); } function pageLoaded(e) { // unbind old events and remove plugins console.log("Destroy old page"); } function pageRendered(e) { // bind new events and initialize plugins console.log("Render new page"); $content.animate({ opacity: 1 }, 1000); } function pageLoadError(e, error) { // watch for load errors console.warn("Error loading page: ", error); }
import { Class, clone, isArray } from './lib/objects'; import { diffs } from './lib/diffs'; import { eq } from './lib/eq'; import { PathNotFoundException } from './lib/exceptions'; /** `Document` is a complete implementation of the JSON PATCH spec detailed in [RFC 6902](http://tools.ietf.org/html/rfc6902). A document can be manipulated via a `transform` method that accepts an `operation`, or with the methods `add`, `remove`, `replace`, `move`, `copy` and `test`. Data at a particular path can be retrieved from a `Document` with `retrieve()`. @class Document @namespace Orbit @param {Object} [data] The initial data for the document @param {Object} [options] @param {Boolean} [options.arrayBasedPaths=false] Should paths be array based, or `'/'` delimited (the default)? @constructor */ var Document = Class.extend({ init: function(data, options) { options = options || {}; this.arrayBasedPaths = options.arrayBasedPaths !== undefined ? options.arrayBasedPaths : false; this.reset(data); }, /** Reset the contents of the whole document. If no data is specified, the contents of the document will be reset to an empty object. @method reset @param {Object} [data] New root object */ reset: function(data) { this._data = data || {}; }, /** Retrieve the value at a path. If the path does not exist in the document, `PathNotFoundException` will be thrown by default. If `quiet` is truthy, `undefined` will be returned instead. @method retrieve @param {Array or String} [path] @param {Boolean} [quiet=false] Return `undefined` instead of throwing an exception if `path` can't be found? @returns {Object} Value at the specified `path` or `undefined` */ retrieve: function(path, quiet) { return this._retrieve(this.deserializePath(path), quiet); }, /** Sets the value at a path. If the target location specifies an array index, inserts a new value into the array at the specified index. If the target location specifies an object member that does not already exist, adds a new member to the object. If the target location specifies an object member that does exist, replaces that member's value. If the target location does not exist, throws `PathNotFoundException`. @method add @param {Array or String} path @param {Object} value @param {Boolean} [invert=false] Return the inverse operations? @returns {Array} Array of inverse operations if `invert === true` */ add: function(path, value, invert) { return this._add(this.deserializePath(path), value, invert); }, /** Removes the value from a path. If removing an element from an array, shifts any elements above the specified index one position to the left. If the target location does not exist, throws `PathNotFoundException`. @method remove @param {Array or String} path @param {Boolean} [invert=false] Return the inverse operations? @returns {Array} Array of inverse operations if `invert === true` */ remove: function(path, invert) { return this._remove(this.deserializePath(path), invert); }, /** Replaces the value at a path. This operation is functionally identical to a "remove" operation for a value, followed immediately by an "add" operation at the same location with the replacement value. If the target location does not exist, throws `PathNotFoundException`. @method replace @param {Array or String} path @param {Object} value @param {Boolean} [invert=false] Return the inverse operations? @returns {Array} Array of inverse operations if `invert === true` */ replace: function(path, value, invert) { return this._replace(this.deserializePath(path), value, invert); }, /** Moves an object from one path to another. Identical to calling `remove()` followed by `add()`. Throws `PathNotFoundException` if either path does not exist in the document. @method move @param {Array or String} fromPath @param {Array or String} toPath @param {Boolean} [invert=false] Return the inverse operations? @returns {Array} Array of inverse operations if `invert === true` */ move: function(fromPath, toPath, invert) { return this._move(this.deserializePath(fromPath), this.deserializePath(toPath), invert); }, /** Copies an object at one path and adds it to another. Identical to calling `add()` with the value at `fromPath`. Throws `PathNotFoundException` if either path does not exist in the document. @method copy @param {Array or String} fromPath @param {Array or String} toPath @param {Boolean} [invert=false] Return the inverse operations? @returns {Array} Array of inverse operations if `invert === true` */ copy: function(fromPath, toPath, invert) { return this._copy(this.deserializePath(fromPath), this.deserializePath(toPath), invert); }, /** Tests that the value at a path matches an expectation. Uses `Orbit.eq` to test equality. Throws `PathNotFoundException` if the path does not exist in the document. @method test @param {Array or String} [path] @param {Object} [value] Expected value to test @param {Boolean} [quiet=false] Use `undefined` instead of throwing an exception if `path` can't be found? @returns {Boolean} Does the value at `path` equal `value`? */ test: function(path, value, quiet) { return eq(this._retrieve(this.deserializePath(path), quiet), value); }, /** Transforms the document with an RFC 6902-compliant operation. Throws `PathNotFoundException` if the path does not exist in the document. @method transform @param {Object} operation @param {String} operation.op Must be "add", "remove", "replace", "move", "copy", or "test" @param {Array or String} operation.path Path to target location @param {Array or String} operation.from Path to source target location. Required for "copy" and "move" @param {Object} operation.value Value to set. Required for "add", "replace" and "test" @param {Boolean} [invert=false] Return the inverse operations? @returns {Array} Array of inverse operations if `invert === true` */ transform: function(operation, invert) { if (operation.op === 'add') { return this.add(operation.path, operation.value, invert); } else if (operation.op === 'remove') { return this.remove(operation.path, invert); } else if (operation.op === 'replace') { return this.replace(operation.path, operation.value, invert); } else if (operation.op === 'move') { return this.move(operation.from, operation.path, invert); } else if (operation.op === 'copy') { return this.copy(operation.from, operation.path, invert); } else if (operation.op === 'test') { return this.copy(operation.path, operation.value); } }, serializePath: function(path) { if (this.arrayBasedPaths) { return path; } else { if (path.length === 0) { return '/'; } else { return '/' + path.join('/'); } } }, deserializePath: function(path) { if (typeof path === 'string') { if (path.indexOf('/') === 0) { path = path.substr(1); } if (path.length === 0) { return []; } else { return path.split('/'); } } else { return path; } }, ///////////////////////////////////////////////////////////////////////////// // Internals ///////////////////////////////////////////////////////////////////////////// _pathNotFound: function(path, quiet) { if (quiet) { return undefined; } else { throw new PathNotFoundException(this.serializePath(path)); } }, _retrieve: function(path, quiet) { var ptr = this._data, segment; if (path) { for (var i = 0, len = path.length; i < len; i++) { segment = path[i]; if (isArray(ptr)) { if (segment === '-') { ptr = ptr[ptr.length-1]; } else { ptr = ptr[parseInt(segment, 10)]; } } else { ptr = ptr[segment]; } if (ptr === undefined) { return this._pathNotFound(path, quiet); } } } return ptr; }, _add: function(path, value, invert) { var inverse; value = clone(value); if (path.length > 0) { var parentKey = path[path.length-1]; if (path.length > 1) { var grandparent = this._retrieve(path.slice(0, -1)); if (isArray(grandparent)) { if (parentKey === '-') { if (invert) { inverse = [{op: 'remove', path: this.serializePath(path)}]; } grandparent.push(value); } else { var parentIndex = parseInt(parentKey, 10); if (parentIndex > grandparent.length) { this._pathNotFound(path); } else { if (invert) { inverse = [{op: 'remove', path: this.serializePath(path)}]; } grandparent.splice(parentIndex, 0, value); } } } else { if (invert) { if (grandparent.hasOwnProperty(parentKey)) { inverse = [{op: 'replace', path: this.serializePath(path), value: clone(grandparent[parentKey])}]; } else { inverse = [{op: 'remove', path: this.serializePath(path)}]; } } grandparent[parentKey] = value; } } else { if (invert) { if (this._data.hasOwnProperty(parentKey)) { inverse = [{op: 'replace', path: this.serializePath(path), value: clone(this._data[parentKey])}]; } else { inverse = [{op: 'remove', path: this.serializePath(path)}]; } } this._data[parentKey] = value; } } else { if (invert) { inverse = [{op: 'replace', path: this.serializePath([]), value: clone(this._data)}]; } this._data = value; } return inverse; }, _remove: function(path, invert) { var inverse; if (path.length > 0) { var parentKey = path[path.length-1]; if (path.length > 1) { var grandparent = this._retrieve(path.slice(0, -1)); if (isArray(grandparent)) { if (grandparent.length > 0) { if (parentKey === '-') { if (invert) { inverse = [{op: 'add', path: this.serializePath(path), value: clone(grandparent.pop())}]; } else { grandparent.pop(); } } else { var parentIndex = parseInt(parentKey, 10); if (grandparent[parentIndex] === undefined) { this._pathNotFound(path); } else { if (invert) { inverse = [{op: 'add', path: this.serializePath(path), value: clone(grandparent.splice(parentIndex, 1)[0])}]; } else { grandparent.splice(parentIndex, 1); } } } } else { this._pathNotFound(path); } } else if (grandparent[parentKey] === undefined) { this._pathNotFound(path); } else { if (invert) { inverse = [{op: 'add', path: this.serializePath(path), value: clone(grandparent[parentKey])}]; } delete grandparent[parentKey]; } } else if (this._data[parentKey] === undefined) { this._pathNotFound(path); } else { if (invert) { inverse = [{op: 'add', path: this.serializePath(path), value: clone(this._data[parentKey])}]; } delete this._data[parentKey]; } } else { if (invert) { inverse = [{op: 'add', path: this.serializePath(path), value: clone(this._data)}]; } this._data = {}; } return inverse; }, _replace: function(path, value, invert) { var inverse; value = clone(value); if (path.length > 0) { var parentKey = path[path.length-1]; if (path.length > 1) { var grandparent = this._retrieve(path.slice(0, -1)); if (isArray(grandparent)) { if (grandparent.length > 0) { if (parentKey === '-') { if (invert) { inverse = [{op: 'replace', path: this.serializePath(path), value: clone(grandparent[grandparent.length-1])}]; } grandparent[grandparent.length-1] = value; } else { var parentIndex = parseInt(parentKey, 10); if (grandparent[parentIndex] === undefined) { this._pathNotFound(path); } else { if (invert) { inverse = [{op: 'replace', path: this.serializePath(path), value: clone(grandparent.splice(parentIndex, 1, value)[0])}]; } else { grandparent.splice(parentIndex, 1, value); } } } } else { this._pathNotFound(path); } } else { if (invert) { inverse = [{op: 'replace', path: this.serializePath(path), value: clone(grandparent[parentKey])}]; } grandparent[parentKey] = value; } } else { if (invert) { inverse = [{op: 'replace', path: this.serializePath(path), value: clone(this._data[parentKey])}]; } this._data[parentKey] = value; } } else { if (invert) { inverse = [{op: 'replace', path: this.serializePath([]), value: clone(this._data)}]; } this._data = value; } return inverse; }, _move: function(fromPath, toPath, invert) { if (eq(fromPath, toPath)) { if (invert) return []; return; } else { var value = this._retrieve(fromPath); if (invert) { return this._remove(fromPath, true) .concat(this._add(toPath, value, true)) .reverse(); } else { this._remove(fromPath); this._add(toPath, value); } } }, _copy: function(fromPath, toPath, invert) { if (eq(fromPath, toPath)) { if (invert) return []; return; } else { return this._add(toPath, this._retrieve(fromPath), invert); } } }); export default Document;