摘要:
时间-UTC-时间戳-日期查询 select timestamp '2004-10-19 10:23:54'; 查询系统当前完整时间 select now(); select current_timestamp; 查询系统当前日期 select current_date; 查询系统当前时间 sele 阅读全文
posted @ 2021-03-16 22:19
土博姜山山
阅读(435)
评论(0)
推荐(0)
摘要:
地理坐标系4326--投影坐标系3857/2436 空间参考坐标系查询网址: https://spatialreference.org/和http://epsg.io/ EPSG:4326 (WGS84) 地理坐标系,WGS84 是目前最流行的地理坐标系统。在国际上,每个坐标系统都会被分配一个 EP 阅读全文
posted @ 2021-03-16 22:15
土博姜山山
阅读(7561)
评论(0)
推荐(0)
摘要:
所有道路的总长度是多少(以公里为单位)?先设置空间坐标系,然后利用投影坐标系转换 select UpdateGeometrySRID('road_table', 'osm_geom', 4326); SELECT sum(ST_Length(ST_Transform(osm_geom,2436))) 阅读全文
posted @ 2021-03-16 22:14
土博姜山山
阅读(416)
评论(0)
推荐(0)
摘要:
import numpy as np import nvector as nv # 基于 geopandas 取 postgis数据 sql = 'SELECT * FROM node_table' g_out = gpd.read_postgis(sql=sql, con=pgisCon, geo 阅读全文
posted @ 2021-03-16 22:11
土博姜山山
阅读(641)
评论(0)
推荐(0)
摘要:
import osm2gmns as og import pandas as pd import geopandas as gpd import psycopg2 from sqlalchemy import create_engine from shapely.geometry import Po 阅读全文
posted @ 2021-03-16 22:07
土博姜山山
阅读(773)
评论(0)
推荐(0)

浙公网安备 33010602011771号