摘要:
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... 阅读全文
摘要:
<?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 阅读全文
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- from shapely.geometry import asShape import json import os from pyproj import Proj, transform # define t 阅读全文
摘要:
#!/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... 阅读全文
摘要:
#!/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... 阅读全文
摘要:
#!/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... 阅读全文
摘要:
#!/usr/bin/env python # -*- coding: utf-8 -*- import psycopg2 import json from geojson import loads, Feature, FeatureCollection # Database Connection 阅读全文
摘要:
#!/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... 阅读全文
摘要:
#!/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... 阅读全文
摘要:
#!/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... 阅读全文
摘要:
//////////////////////////////////////////////////////////////////////////////// // // 图层管理 // /////////////////////////////////////////////////////// 阅读全文
摘要:
var createMapToggle = function() { var map = Application.map; if(map) { var toggleButton = ''+ ''+ ''; // ... 阅读全文
摘要:
阅读全文