2019年10月9日,ElasticMechanismforLocationPrivacy项目更新,哪些文件需要替换以适应新版本?

2026-04-02 11:132阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计183个文字,预计阅读时间需要1分钟。

2019年10月9日,ElasticMechanismforLocationPrivacy项目更新,哪些文件需要替换以适应新版本?

https://github.com/comparacetamolo/elastic-mechanism 20191009执行需修改红色框架中这部分内容,将其修改为兼容PostgreSQL 9.5。

github.com/paracetamolo/elastic-mechanism

20191009执行需修改

红色框中这部分需修改成postgresql-9.5

这地方

postgres~$ psql -d imposm -f /usr/share/postgresql/9.4/contrib/postgis-2.1/postgis.sql

需要修改成因为postgresql版本更新了变成9.5了

psql -d imposm -f /usr/share/postgresql/9.5/contrib/postgis-2.2/postgis.sql

psql -d imposm -f /usr/share/postgresql/9.5/contrib/postgis-2.2/spatial_ref_sys.sql

之后是postgresubuntu:~$ wget download.geofabrik.de/europe/france/ile-de-france-latest.osm.pbf

加粗部分换成自己的路径imposm -U postgres -d imposm --merge-cache --read --write --optimize --deploy-production-tables --proj EPSG:4326 --mapping-file /home/cys/cys/elastic-mechanism-master/schema.py ile-de-france-latest.osm.pbf

 

 

 

2019年10月9日,ElasticMechanismforLocationPrivacy项目更新,哪些文件需要替换以适应新版本?

本文共计183个文字,预计阅读时间需要1分钟。

2019年10月9日,ElasticMechanismforLocationPrivacy项目更新,哪些文件需要替换以适应新版本?

https://github.com/comparacetamolo/elastic-mechanism 20191009执行需修改红色框架中这部分内容,将其修改为兼容PostgreSQL 9.5。

github.com/paracetamolo/elastic-mechanism

20191009执行需修改

红色框中这部分需修改成postgresql-9.5

这地方

postgres~$ psql -d imposm -f /usr/share/postgresql/9.4/contrib/postgis-2.1/postgis.sql

需要修改成因为postgresql版本更新了变成9.5了

psql -d imposm -f /usr/share/postgresql/9.5/contrib/postgis-2.2/postgis.sql

psql -d imposm -f /usr/share/postgresql/9.5/contrib/postgis-2.2/spatial_ref_sys.sql

之后是postgresubuntu:~$ wget download.geofabrik.de/europe/france/ile-de-france-latest.osm.pbf

加粗部分换成自己的路径imposm -U postgres -d imposm --merge-cache --read --write --optimize --deploy-production-tables --proj EPSG:4326 --mapping-file /home/cys/cys/elastic-mechanism-master/schema.py ile-de-france-latest.osm.pbf

 

 

 

2019年10月9日,ElasticMechanismforLocationPrivacy项目更新,哪些文件需要替换以适应新版本?