{"id":23,"date":"2006-11-23T06:45:40","date_gmt":"2006-11-22T21:45:40","guid":{"rendered":"http:\/\/convivial-web.net\/?p=23"},"modified":"2024-02-17T22:50:04","modified_gmt":"2024-02-17T13:50:04","slug":"postlbswindows","status":"publish","type":"post","link":"https:\/\/convivial-web.net\/?p=23","title":{"rendered":"PostLBS\u3092Windows\u3067\u4f7f\u3063\u3066\u307f\u308b"},"content":{"rendered":"<p><a href=\"http:\/\/www.orkney.co.jp\/\">\u30aa\u30fc\u30af\u30cb\u30fc<\/a>\u3055\u3093\u304c\u51fa\u3057\u3066\u3044\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30a8\u30f3\u30b8\u30f3<a href=\"http:\/\/www.orkney.jp\/postlbs-cms\/\">PostLBS<\/a>\u3092\u3001Windows\u74b0\u5883\u3067\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\nWindowsXP\u306eSP2\u3067\u8a66\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u3092\u52d5\u304b\u3059\u3068\u3053\u308d\u307e\u3067\u306f\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002<br \/>\n\u4ee5\u4e0b\u306f\u305d\u306e\u3068\u304d\u306e\u30e1\u30e2\u3067\u3059\u3002<\/p>\n<h2>PostLBS\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<p>\u307e\u305a\u306fPostGIS\u304c\u52d5\u304f\u74b0\u5883\u3092\u4f5c\u308a\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/www.postgresql.org\/\">PostgreSQL<\/a> 8.1.4\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002(8.1.5\u3067\u306f\u4e0a\u624b\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f)<br \/>\nPostGIS\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u4ed8\u5c5e\u306e\u3082\u306e\u3067OK\u3067\u3057\u305f\u3002<br \/>\nPostLBS\u306e<a href=\"http:\/\/www.orkney.jp\/postlbs-cms\/ja\/download\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a>\u304b\u3089\u3001pgRouting(Windows binary)\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u4e2d\u8eab\u3092PostgreSQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u30d5\u30a9\u30eb\u30c0\u3078\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br \/>\nrouting\u3092\u4f7f\u7528\u3059\u308bDB\u3078\u5bfe\u3057\u3066\u4ee5\u4e0b\u306eSQL\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\nshare\\contrib\\routing.sql<br \/>\nshare\\contrib\\routing_postgis.sql\n<\/p><\/blockquote>\n<p>pgAdmin\u2162\u304b\u3089\u5b9f\u884c\u3059\u308b\u3068\u4e0a\u624b\u304f\u3044\u304f\u306e\u3067\u3059\u304c\u3001psql\u3067\u5b9f\u884c\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u300c\\&#8217;\u3092\u4f7f\u308f\u305a\u306b\u3001&#8221;\u3092\u4f7f\u3048\u300d\u3068\u8a00\u3063\u3066\u304d\u305f\u306e\u3067\u3001\u7f6e\u63db\u3057\u3066\u304b\u3089\u5b9f\u884c\u3059\u308b\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3067\u3001pgRouting\u306e\u5404\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u3092\u5165\u308c\u308b<\/h2>\n<p><a href=\"http:\/\/www.maptools.org\/ms4w\/\">MS4W<\/a>\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2.2.1\u3067\u8a66\u3057\u307e\u3057\u305f\u3002<br \/>\n\u300cpgRouting Sample Application\u300d\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001MS4W\u306eapps\u30d5\u30a9\u30eb\u30c0\u3078\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br \/>\n\u300chttpd.d\u300d\u30d5\u30a9\u30eb\u30c0\u3078Apache\u306e\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u3001routingj\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n\u300crouting\u300d\u3068\u3044\u3046DB\u3092\u4f5c\u308a\u3001pgRouting\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\ncreatedb -U postgres routing<br \/>\npsql -U postgres -d routing -f &#8220;C:\\Program Files\\PostgreSQL\\8.1\\share\\contrib\\routing.sql&#8221;<br \/>\npsql -U postgres -d routing -f &#8220;C:\\Program Files\\PostgreSQL\\8.1\\share\\contrib\\routing_postgis.sql&#8221;\n<\/p><\/blockquote>\n<p>\u300cdata\\kanagawa.shp\u300d\u3092routing\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<br \/>\n\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3082\u4f5c\u3063\u3066\u304a\u304f\u3068\u51e6\u7406\u901f\u5ea6\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>\nshp2pgsql -D -c kanagawa.shp kanagawa > kanagawa.sql<br \/>\npsql -U postgres -f kanagawa.sql routing<br \/>\npsql -U postgres -d routing -c &#8220;create index k1 on kanagawa using gist (the_geom GIST_GEOMETRY_OPS);&#8221;<br \/>\npsql -U postgres -d routing -c &#8220;create index k2 on kanagawa( source );&#8221;<br \/>\npsql -U postgres -d routing -c &#8220;create index k3 on kanagawa( target );&#8221;<br \/>\npsql -U postgres -d routing -c &#8220;vacuum full;&#8221;\n<\/p><\/blockquote>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d5\u30a1\u30a4\u30eb\u306fLinux\u7528\uff1f\u306a\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u4fee\u6b63\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\nphtmls\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u5404\u300c.phtml\u300d\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\u3002<br \/>\n\u300cphp_mapscript.so\u300d\u2192\u300cphp_mapscript_4.10.0.dll\u300d<br \/>\n\u300cmaps\/routing.map\u300d\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u3001<br \/>\n\u300cIMAGEPATH\u300d\u5b9a\u7fa9\u3092\u30d5\u30eb\u30d1\u30b9\u306b\u4ee3\u3048\u308b\u3002<br \/>\n\u5404\u300cLAYER\u300d\u306e\u300cCONNECTION\u300d\u3078PostgreSQL\u3078\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u60c5\u5831\u3092\u8a2d\u5b9a\u3059\u308b<br \/>\n\u3053\u308c\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u306f\u4e0a\u624b\u304f\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30aa\u30fc\u30af\u30cb\u30fc\u3055\u3093\u304c\u51fa\u3057\u3066\u3044\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30a8\u30f3\u30b8\u30f3PostLBS\u3092\u3001Windows\u74b0\u5883\u3067\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002 WindowsXP\u306eSP2\u3067\u8a66\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u3092\u52d5\u304b\u3059\u3068\u3053\u308d\u307e\u3067\u306f\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4HNbl-n","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/convivial-web.net\/index.php?rest_route=\/wp\/v2\/posts\/23"}],"collection":[{"href":"https:\/\/convivial-web.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/convivial-web.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/convivial-web.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/convivial-web.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23"}],"version-history":[{"count":1,"href":"https:\/\/convivial-web.net\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":325,"href":"https:\/\/convivial-web.net\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions\/325"}],"wp:attachment":[{"href":"https:\/\/convivial-web.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/convivial-web.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/convivial-web.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}