在2019年10月9日运行ElasticMechanismforLocationPrivacy时,GitHub上哪些文件需要更新?

2026-06-10 20:442阅读0评论SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

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

在2019年10月9日运行ElasticMechanismforLocationPrivacy时,GitHub上哪些文件需要更新?

GitHub链接中,项目名为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时,GitHub上哪些文件需要更新?

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

在2019年10月9日运行ElasticMechanismforLocationPrivacy时,GitHub上哪些文件需要更新?

GitHub链接中,项目名为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时,GitHub上哪些文件需要更新?