This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Import Google Product Taxonomy | |
| //WITH IDENTIFIERS | |
| //downloaded from https://support.google.com/merchants/answer/1705911 | |
| create index on :Cat1(name); | |
| create index on :Cat2(name); | |
| create index on :Cat3(name); | |
| create index on :Cat4(name); | |
| create index on :Cat5(name); | |
| create index on :Cat6(name); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Add to: path/to/wp-content/wp-themes/your-theme/functions.php | |
| /** | |
| * Activate required plugins | |
| */ | |
| include_once ( ABSPATH . 'wp-admin/includes/plugin.php' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var jsts = require("jsts"), | |
| _ = require("underscore"), | |
| fs = require("fs"); | |
| fs.readFile("/Users/ryan/Desktop/hv-lines.geojson", function (err, data) { | |
| var geojson = JSON.parse(data), | |
| reader = new jsts.io.GeoJSONReader(), | |
| writer = new jsts.io.GeoJSONWriter(), | |
| polygonizer = new jsts.operation.polygonize.Polygonizer(), |
NewerOlder