This file contains 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 layer1 = new ol.layer.Vector({ | |
title: "Patzcuaro's hidrolycal basin", | |
source: new ol.source.Vector({ | |
url: '../../data/patzcuaro_a.json', | |
format: new ol.format.GeoJSON() | |
}), | |
style:new ol.style.Style({ | |
stroke: new ol.style.Stroke({ | |
color: 'green', | |
width: 3 |
This file contains 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
SET FOREIGN_KEY_CHECKS=0; | |
-- ---------------------------- | |
-- Table structure for pd_cat_distritosfederales | |
-- ---------------------------- | |
DROP TABLE IF EXISTS `pd_cat_distritosfederales`; | |
CREATE TABLE `pd_cat_distritosfederales` ( | |
`id` int(10) NOT NULL AUTO_INCREMENT, | |
`id_entidad` int(10) DEFAULT NULL, | |
`cve_geo` varchar(50) DEFAULT NULL, |
This file contains 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
SELECT | |
1 as id, | |
JSON_OBJECT( | |
'type', 'FeatureCollection', | |
'features', | |
JSON_OBJECT( | |
'type', 'Feature', | |
'properties', | |
JSON_OBJECT( | |
'clave', '1293', |