<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當(dāng)前位置: 首頁 - 科技 - 知識(shí)百科 - 正文

        PostGIS常見的空間數(shù)據(jù)的導(dǎo)入導(dǎo)出

        來源:懂視網(wǎng) 責(zé)編:小采 時(shí)間:2020-11-09 11:18:49
        文檔

        PostGIS常見的空間數(shù)據(jù)的導(dǎo)入導(dǎo)出

        PostGIS常見的空間數(shù)據(jù)的導(dǎo)入導(dǎo)出:本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。這里要注意幾個(gè)參數(shù),是選用-c還是-a要看你的應(yīng)用方式,-S這個(gè)是在 本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。 1.將osm數(shù)據(jù)導(dǎo)入PostGIS osm2pgsql -c -d
        推薦度:
        導(dǎo)讀PostGIS常見的空間數(shù)據(jù)的導(dǎo)入導(dǎo)出:本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。這里要注意幾個(gè)參數(shù),是選用-c還是-a要看你的應(yīng)用方式,-S這個(gè)是在 本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。 1.將osm數(shù)據(jù)導(dǎo)入PostGIS osm2pgsql -c -d

        本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。這里要注意幾個(gè)參數(shù),是選用-c還是-a要看你的應(yīng)用方式,-S這個(gè)是在

        本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。

        1.將osm數(shù)據(jù)導(dǎo)入PostGIS

        osm2pgsql -c -d osm -l -E 4326 -S /usr/share/osm2pgsql/default.style xxxxx.osm


        這里要注意幾個(gè)參數(shù),是選用-c還是-a要看你的應(yīng)用方式,-S這個(gè)是在Ubuntu下路徑不同時(shí)使用,espg可以不用再使用900913了。自然要使得數(shù)據(jù)庫采用UTF8編碼最好。

        osm2pgsql SVN version 0.70.5
        Usage:
        osm2pgsql [options] planet.osm
        osm2pgsql [options] planet.osm.{gz,bz2}
        osm2pgsql [options] file1.osm file2.osm file3.osm


        This will import the data from the OSM file(s) into a PostgreSQL database
        suitable for use by the Mapnik renderer


        Options:
        -a|--append Add the OSM file into the database without removing
        existing data.
        -b|--bbox Apply a bounding box filter on the imported data
        Must be specified as: minlon,minlat,maxlon,maxlat
        e.g. --bbox -0.5,51.25,0.5,51.75
        -c|--create Remove existing data from the database. This is the
        default if --append is not specified.
        -d|--database The name of the PostgreSQL database to connect
        to (default: gis).
        -i|--tablespace-index The name of the PostgreSQL tablespace where indexes will be create
        to (default: pg_default).
        -l|--latlong Store data in degrees of latitude & longitude.
        -m|--merc Store data in proper spherical mercator (default)
        -M|--oldmerc Store data in the legacy OSM mercator format
        -E|--proj num Use projection EPSG:num
        -u|--utf8-sanitize Repair bad UTF8 input data (present in planet
        dumps prior to August 2007). Adds about 10% overhead.
        -p|--prefix Prefix for table names (default planet_osm)
        -s|--slim Store temporary data in the database. This greatly
        reduces the RAM usage but is much slower.
        -S|--style Location of the style file. Defaults to /usr/share/default.style
        -C|--cache Only for slim mode: Use upto this many MB for caching nodes
        Default is 800
        -U|--username Postgresql user name.
        -W|--password Force password prompt.
        -H|--host Database server hostname or socket location.
        -P|--port Database server port.
        -e|--expire-tiles [min_zoom-]max_zoom Create a tile expiry list.
        -o|--expire-output filename Output filename for expired tiles list.
        -r|--input-reader Input frontend.
        libxml2 - Parse XML using libxml2. (default)
        primitive - Primitive XML parsing.
        -O|--output Output backend.
        pgsql - Output to a PostGIS database. (default)
        gazetteer - Output to a PostGIS database suitable for gazetteer
        null - No output. Useful for testing.
        -x|--extra-attributes
        Include attributes for each object in the database.
        This includes the username, userid, timestamp and version.
        Note: this option also requires additional entries in your style file.
        -k|--hstore Generate an additional hstore (key/value) column to postgresql tables
        -z|--hstore-column Generate an additional hstore (key/value) column to containing all tags
        that start with the specified string, eg --hstore-column "name:" will
        produce an extra hstore column that contains all name:xx tags
        -G|--multi-geometry Generate multi-geometry features in postgresql tables.
        -K|--keep-coastlines Keep coastline data rather than filtering it out.
        By default natural=coastline tagged data will be discarded based on the
        assumption that post-processed Coastline Checker shapefiles will be used.
        -h|--help Help information.
        -v|--verbose Verbose output.


        Add -v to display supported projections.
        Use -E to access any espg projections (usually in /usr/share/proj/epsg)

        linux

        聲明:本網(wǎng)頁內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問題請及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        PostGIS常見的空間數(shù)據(jù)的導(dǎo)入導(dǎo)出

        PostGIS常見的空間數(shù)據(jù)的導(dǎo)入導(dǎo)出:本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。這里要注意幾個(gè)參數(shù),是選用-c還是-a要看你的應(yīng)用方式,-S這個(gè)是在 本片文章簡單記錄了PostGIS涉及的常用數(shù)據(jù)導(dǎo)入導(dǎo)出的使用方法。 1.將osm數(shù)據(jù)導(dǎo)入PostGIS osm2pgsql -c -d
        推薦度:
        • 熱門焦點(diǎn)

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 亚洲精品乱码久久久久66| 国产精品久久免费视频| 亚洲乱亚洲乱淫久久| 中文字幕乱码系列免费| 亚洲精品无码国产| 亚洲成人免费在线| 亚洲国产视频网站| 成年性生交大片免费看 | 亚洲av无码精品网站| 国色精品va在线观看免费视频| 国产亚洲精品自在线观看| 精品免费tv久久久久久久| 亚洲色图在线观看| 99热在线精品免费全部my| 亚洲精品美女久久7777777| 国产精品免费看香蕉| sss在线观看免费高清| 亚洲男同帅GAY片在线观看| 2019中文字幕在线电影免费| 亚洲国产视频久久| 亚洲国产精品人人做人人爱| 男人都懂www深夜免费网站| 亚洲免费网站在线观看| 国产成人精品免费直播| 久久高潮一级毛片免费| 亚洲精品成人久久| 在线免费观看国产视频| 成人免费无码H在线观看不卡| 亚洲国产国产综合一区首页| 搡女人真爽免费视频大全| 日本一区二区在线免费观看| 亚洲久本草在线中文字幕| 成人性生交视频免费观看| 国产免费播放一区二区| 亚洲最新中文字幕| 国产成人精品久久亚洲| 18禁免费无码无遮挡不卡网站| 高h视频在线免费观看| 67pao强力打造67194在线午夜亚洲| 日韩中文字幕免费| 无人在线观看免费高清|