私は大学生で、学校から徒歩5〜7分圏内、かつMTA公共交通機関で10〜15分圏内にある最適なレストランを見つけるためにマルチモーダルネットワークを作成しようとしています。以下のデータを <\/SPAN>http:\/\/transitfeeds.com\/:<\/A><\/P>1. Metro-North Railroad GTFS 2. MTA Manhattan GTFS 3. NYC Bus Company GTFS 4. NYC Subway GTFS5. NYC Subway Supplemented GTFS<\/P><\/P>また、以下のソースからNYCの道路データもダウンロードしました: <\/P>https:\/\/data.cityofnewyork.us\/City-Government\/NYC-Street-Centerline-CSCL-\/exjm-f27b\/data<\/A><\/SPAN><\/P><\/P>これらのファイル用にジオデータベースを作成し、フィーチャーデータセットTransNetの下に配置しました。NYCの道路データをこのデータセットに追加しました。上記のデータからマルチモーダルネットワークを作成するために、「Add GTFS to a Network Dataset」ツールをダウンロードしました。最初のステップ「Generate transit lines and stops」はArcCatalog 10.6で正常に実行され、ツールに投入したすべてのGTFSファイルに対して「TransitLines」と「Stops」という2つのフィーチャークラスがフィーチャーデータセットに追加されました。しかし、ステップ2「Generate Stop Street Connectors」では、車椅子対応部分の14ステップ中8ステップ目で以下のエラーが発生しました:<\/P><\/P>メッセージ:実行中: GenerateStop2StreetConnectors C:\Users\Leah\Downloads\HCBestRs18BU.gdb\TransNet C:\Users\Leah\Downloads\HCBestRs18BU.gdb\TransNet\NYCStreets # 40 Meters開始時間: 2018年4月26日木曜日 20:50:29スクリプト GenerateStop2StreetConnectors 実行中...停留所を道路ネットワークにスナップ中...停留所と道路間のコネクターライン作成中...wheelchair_boarding 処理中...停留所位置で道路上に頂点作成中...(このステップは少し時間がかかる場合があります。)停留所-道路コネクターの生成に失敗しました。スクリプト GenerateStop2StreetConnectors に失敗しました...<\/P>トレースバック (最新の呼び出しが最後): ファイル "c:\\program files (x86)\\arcgis\\desktop10.6\\ArcToolbox\\Toolboxes\\scripts\\GenerateStop2StreetConnectors.py", 行 289, in <module> arcpy.management.Integrate([[outStreetsSplit, 1], [TempSnappedStops, 2]]) ファイル "c:\\program files (x86)\\arcgis\\desktop10.6\\arcpy\\arcpy\\management.py", 行 2128, in Integrate 例外を発生させる eExecuteError: ERROR 999999: 関数実行中にエラーが発生しました。無効なトポロジー [負のポイントバレンス。](Integrate)の実行に失敗しました。<\/P>(GenerateStop2StreetConnectors)の実行に失敗しました。2018年4月26日木曜日 21:11:26 に失敗(経過時間:20分56秒)<\/P><\/P>チェックジオメトリツールを使って、現在データセット内にある3つのフィーチャークラスに問題がないか確認したところ、NYC道路データのみ短い線分エラーが返されました。修復ジオメトリツールでそれらを修正しました。その後、再度ツールを実行しましたが同じエラーが発生しました。解決方法がわからず困っています。もし修正できない場合でも、このままネットワーク作成に使用できますか? <\/P><\/P>ありがとうございます!<\/P><\/BODY><\/HTML>
1. Metro-North Railroad GTFS 2. MTA Manhattan GTFS 3. NYC Bus Company GTFS 4. NYC Subway GTFS5. NYC Subway Supplemented GTFS<\/P>
<\/P>
また、以下のソースからNYCの道路データもダウンロードしました: <\/P>
これらのファイル用にジオデータベースを作成し、フィーチャーデータセットTransNetの下に配置しました。NYCの道路データをこのデータセットに追加しました。上記のデータからマルチモーダルネットワークを作成するために、「Add GTFS to a Network Dataset」ツールをダウンロードしました。最初のステップ「Generate transit lines and stops」はArcCatalog 10.6で正常に実行され、ツールに投入したすべてのGTFSファイルに対して「TransitLines」と「Stops」という2つのフィーチャークラスがフィーチャーデータセットに追加されました。しかし、ステップ2「Generate Stop Street Connectors」では、車椅子対応部分の14ステップ中8ステップ目で以下のエラーが発生しました:<\/P>
メッセージ:実行中: GenerateStop2StreetConnectors C:\Users\Leah\Downloads\HCBestRs18BU.gdb\TransNet C:\Users\Leah\Downloads\HCBestRs18BU.gdb\TransNet\NYCStreets # 40 Meters開始時間: 2018年4月26日木曜日 20:50:29スクリプト GenerateStop2StreetConnectors 実行中...停留所を道路ネットワークにスナップ中...停留所と道路間のコネクターライン作成中...wheelchair_boarding 処理中...停留所位置で道路上に頂点作成中...(このステップは少し時間がかかる場合があります。)停留所-道路コネクターの生成に失敗しました。スクリプト GenerateStop2StreetConnectors に失敗しました...<\/P>
トレースバック (最新の呼び出しが最後): ファイル "c:\\program files (x86)\\arcgis\\desktop10.6\\ArcToolbox\\Toolboxes\\scripts\\GenerateStop2StreetConnectors.py", 行 289, in <module> arcpy.management.Integrate([[outStreetsSplit, 1], [TempSnappedStops, 2]]) ファイル "c:\\program files (x86)\\arcgis\\desktop10.6\\arcpy\\arcpy\\management.py", 行 2128, in Integrate 例外を発生させる eExecuteError: ERROR 999999: 関数実行中にエラーが発生しました。無効なトポロジー [負のポイントバレンス。](Integrate)の実行に失敗しました。<\/P>
(GenerateStop2StreetConnectors)の実行に失敗しました。2018年4月26日木曜日 21:11:26 に失敗(経過時間:20分56秒)<\/P>
チェックジオメトリツールを使って、現在データセット内にある3つのフィーチャークラスに問題がないか確認したところ、NYC道路データのみ短い線分エラーが返されました。修復ジオメトリツールでそれらを修正しました。その後、再度ツールを実行しましたが同じエラーが発生しました。解決方法がわからず困っています。もし修正できない場合でも、このままネットワーク作成に使用できますか? <\/P>
ありがとうございます!<\/P><\/BODY><\/HTML>
Hello, Destiny. You did all the right things to diagnose and try to fix this problem. Indeed, it sounds like a geometry problem with the streets feature class. The actual failure is in the Integrate tool.
Someone else reported a similar problem to me a while back. Like you, he ran Check Geometry and Repair Geometry, and it didn't help. We weren't able to figure out the cause of the problem. However, he copied the files to a new geodatabase, and it magically worked after that.
If that doesn't work, my suggestion would be to try running the Integrate tool on your street data in ArcMap, just by itself (ie, not inside the Add GTFS to a Network Dataset toolbox). If you're able to reproduce the same error, then this is something you can call Esri Tech Support about (because it's an official supported tool). They can try to debug what's causing the failure.
The preview of the network looks like this in ArcCatalog:
Does this look accurate?
Hi Melinda,
I have received the following error after building my network with the "Create Network Dataset from Template" tool:
I cannot open the network in ArcMap at all. My data is not projected. Could this be the problem? Thank you!
I'm glad it worked, although I can't necessarily explain why. Post again if you encounter further problems.
I just used the Integrate tool with the features "TransLines" and "Stops." I deleted the features produced from "Step 2: GenerateStop2StreetConnectors" so the tool could start over fresh making those features also. Once I ran the tool again, it worked! Thank you!
Thank you for your response! I just tried pasting the TransNet dataset into a new geodatabase and it did not work, so I deleted the new geodatabase. How exactly would I use the integrate tool to fix the problem? Which features should I input? I have provided a screenshot of my geodatabase below:
Just checking in. Did you ever get this to work?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.