windows - 适用于 Windows 64 位的 osm2pgsql 最新版本在哪里

标签 windows 64-bit osm2pgsql

我在这里使用一些早期版本的 Windows 64 位下载形式: dl.dropboxusercontent.com/u/63393258/osm2pgsql_testRelease.zip 从这个网站: awcull.com/2015/09/30/postgis-osm2pgsql-windows.html

但是当我导入从 download.geofabrik.de/下载的整个欧洲的大型 pbf 时,它崩溃了

我厌倦了这个狗屎......我尝试了 slim 和非 slim 模式,我尝试修改缓存大小,到目前为止没有任何效果。我们的服务器有 32 GB RAM。 在哪里可以下载适用于 Windows 64 位的最新 osm2pgsql 版本?或者,您建议使用哪种编译器在 Windows Server 2012 64 位上进行我自己的构建。谢谢。

上次崩溃时我运行 osm2pgsql 的命令是:

PS C:\OSM\rendering> osm2pgsql -U postgres -m -d osm -p osm -E 3857 -s -C 25000 -S C:\OSM\osm2pgsql\default.style C:\OSM\Data\europe-latest.osm.pbf

它崩溃了,标准 Windows 对话框显示“应用程序停止了 blablabla”,详细信息如下:

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: osm2pgsql.exe
  Application Version:  0.0.0.0
  Application Timestamp:    53ea21fd
  Fault Module Name:    ntdll.dll
  Fault Module Version: 6.3.9600.18438
  Fault Module Timestamp:   57ae642e
  Exception Code:   c00000fd
  Exception Offset: 0000000000030d02
  OS Version:   6.3.9600.2.0.0.272.7
  Locale ID:    1033
  Additional Information 1: 33ad
  Additional Information 2: 33ad00700702b0ab4dc632df7667ec82
  Additional Information 3: 2ebb
  Additional Information 4: 2ebbf5b91303f76c5b7f75f6255100fa

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

现在我正在尝试不使用“-C”选项,但我打赌它会再次崩溃......

PS C:\OSM\rendering> osm2pgsql -U postgres -m -d osm -p osm -E 3857 -s -S C:\OSM\osm2pgsql\default.style C:\OSM\Data\europe-latest.osm.pbf

最佳答案

死灵魔法。

最新版本(持续集成)始终可以在AppVeyor上找到。
您需要获取当前版本(或通过 git-commit 哈希获取历史版本)。

https://ci.appveyor.com/project/openstreetmap/osm2pgsql

=> Environment arch x64
=> Artifacts tab
=> Donwload osm2pgsql_Release_x64.zip

该链接可能会损坏,因此如果损坏,您需要搜索“appveyor osm2pgsql”,
它通常应该是第一个结果。

关于windows - 适用于 Windows 64 位的 osm2pgsql 最新版本在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41779717/

相关文章:

PHP - Windows 中的命令行参数未被传递

java - 我需要在 Jenkins 中运行什么 Windows 批处理命令才能启动脚本?

c++ - 如何在更改编译器/操作系统方面使 C++ 代码健壮

windows - 在 64 位 Windows 上运行 32 位可执行文件时出现问题

64-bit - lua 64位过渡问题

windows - 将 32 位应用程序安装到 C :\Program Files\instead of the C:\Program Files(x86)\? 中会产生什么负面影响

postgresql - 为 postgis 过滤 openstreetmap 数据

windows - Windows 上的线程创建速度慢

postgresql - 将 OSM 文件导入 Windows10 上的 PostGis

postgresql - 将planet.osm.pbf导出到PostgreSql