我正在使用它来加载我的 osm 数据
C:\Users\EMRANUL>=osm2pgsql -c -G -d testpostgres -U postgres -H localhost -P 5432 -W mfmp -C 2000 --hstore -S D:\M_Project\BANGLADESH\Shapefile\OSM\default.style D:\M_Project\BANGLADESH\Shapefile\OSM\nepal-latest.osm.pbf;
osm2pgsql SVN version 0.69-21289M
Password:**
这是我需要解决的结果
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: table "planet_osm_point" does not exist, skipping
NOTICE: table "planet_osm_point_tmp" does not exist, skipping
PREPARE get_way (int4) AS SELECT AsText(way) FROM planet_osm_point WHERE osm_id = $1;
failed: ERROR: function astext(geometry) does not exist
LINE 1: PREPARE get_way (int4) AS SELECT AsText(way) FROM planet_osm...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Error occurred, cleaning up