摘要:
Geometric Objects object.area Returns the area (float) of the object. object.bounds Returns a (minx, miny, maxx, maxy) tuple (float values) that bounds the object. object.length Returns... 阅读全文
posted @ 2016-08-07 16:40
ParamousGIS
阅读(3852)
评论(1)
推荐(2)
摘要:
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="l 阅读全文
posted @ 2016-08-07 15:29
ParamousGIS
阅读(1281)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- from shapely.geometry import asShape import json import os from pyproj import Proj, transform # define t 阅读全文
posted @ 2016-08-07 14:30
ParamousGIS
阅读(1473)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- from matplotlib import pyplot from descartes import PolygonPatch from shapely.ops import polygonize from shapely.geometry import Polygon, LineString, Poi... 阅读全文
posted @ 2016-08-07 13:29
ParamousGIS
阅读(781)
评论(3)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import json from shapely.geometry import asShape # define output GeoJSON file res_line_intersect = os.path.realpath("../geodata/ch05-01-geojso... 阅读全文
posted @ 2016-08-07 13:15
ParamousGIS
阅读(818)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- from math import sqrt import shapefile from matplotlib import pyplot from descartes import PolygonPatch from shapely.geometry import Polygon, LineString... 阅读全文
posted @ 2016-08-07 13:09
ParamousGIS
阅读(5918)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- import psycopg2 import json from geojson import loads, Feature, FeatureCollection # Database Connection 阅读全文
posted @ 2016-08-07 12:56
ParamousGIS
阅读(4468)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- from osgeo import ogr from osgeo import gdal # get raster datasource open_image = gdal.Open( "../geodata/cadaster_borders-2tone-black-white.png" ) inpu... 阅读全文
posted @ 2016-08-07 12:47
ParamousGIS
阅读(1389)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- from osgeo import ogr from osgeo import gdal # set pixel size pixel_size = 0.00002 no_data_value = -9999 # Shapefile input name # input projection must... 阅读全文
posted @ 2016-08-07 12:44
ParamousGIS
阅读(1948)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess # database options db_schema = "SCHEMA=geodata" overwrite_option = "OVERWRITE=YES" geom_type = "MULTILINESTRING" output_format = "Post... 阅读全文
posted @ 2016-08-07 11:24
ParamousGIS
阅读(960)
评论(0)
推荐(0)
摘要:
//////////////////////////////////////////////////////////////////////////////// // // 图层管理 // /////////////////////////////////////////////////////// 阅读全文
posted @ 2016-08-07 10:19
ParamousGIS
阅读(220)
评论(0)
推荐(0)
摘要:
var createMapToggle = function() { var map = Application.map; if(map) { var toggleButton = ''+ ''+ ''; // ... 阅读全文
posted @ 2016-08-07 10:17
ParamousGIS
阅读(381)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2016-08-07 10:14
ParamousGIS
阅读(802)
评论(0)
推荐(0)
浙公网安备 33010602011771号