親愛なるGurusの皆様!<\/P>
道路のレイヤーがあります。各道路は複数のセグメントで構成されています。道路にキロメートルのアイコンを設定するにはどうすればよいですか?正しく理解していれば、arcgis Desktop 10.1のdivideコマンドのようなものを使って、またはプログラム的に特別なフィーチャレイヤーを作成する必要がありますか?何か参考資料をお願いします。<\/P><\/BODY><\/HTML>
I am not completely certain what you want these kilometer icons to look like or how you want them placed along your road, but what comes to mind is using either linear referencing hatching to show measure positions or creating points along the road and using text symbols containing a number read from a field and a shield or marker symbol background. If you are mostly just interested in the position numbers, the first option is the most flexible, but if you are wanting these to look like actual signs posted along your roads, the second option is better.
So before I describe how to do each method, let me know which direction you are most interested in seeing.
Something like that
Hatching would not put the little flag symbol on the map, by it can certainly but the numbers at the correct positions and a hatch mark along the road the number belongs to.
So, the first step is to convert your roads to linear referenced routes using the Create Route tool. You should access the environment settings in the Geoprocessing menu and explicitly set the M Tolerance, M Resolution and M Domain settings prior to running this tool to ensure you get measures with the degree or precision you want and the range of values that you want.
The next thing you need to identify is what you want to use as your RouteID value for the Create Route tool. This could be the road name or a route number or some other value that groups the segments that connect together.
The other important thing is to get your existing lines to build routes that orient the route measures correctly to fit your kilometer posts. If your current lines have fields for the beginning kilometer and ending kilometer position of each line you can use those to create the routes so that the measures increase in the direction of your stationing. This is the best option for making sure each road's measures match the orientation you expect. If you do not have such fields, you can use the Lower Left Coordinate Priority option to get most roads to build with the typical stationing that orients measues from west to east or from south to north. However, roads that are oriented northwest to southeast will likely have problems and have to be redone using either Upper Left priority (typically for such road that you want treated as west to east) or Lower Right priority (typically for such roads that you want treated as south to north) to get them to orient correctly and then appended those routes to the other routes that stationed correctly with the Lower Left priority.
Once the routes are generated you will see a new tab in the layer properties for that feature class that is called Hatching. From this tab you can create one or more hatching layouts that can be displayed along your routes. You can control many different aspects of the hatches, such as the tick mark intervals and offsets along the route using major and minor tick marks (like a ruler) and separately control which of these tick marks will display text numbers. By using SQL expressions with your hatching definitions you can change which routes show hatching and which don't and control multiple hatching styles within one route layer, like you can with label classes.
If you want points on your routes you can build an event table with measure positions at your kilometer positions to create a point Route Event Layer. I normally select all rows in the Route table view and then use the copy rows functions from the context menu and then paste that into Excel. I add a column called measure and populate it with 0. There are ways to then select this set of records and drag them in excel to make them increment the numbers, but I don't have Excel installed on my system to test it. Anyway, once all routeIDs have the largest set of kilometer interval numbers you could need to display you can create points along the routes with those numbers using the Make Route Event Layer tool. You can control the label positions with label settings to display your kilometer numbers or add another column to your event table with a distance number for offsetting the points to the side of the road so that you can use the actual point positions with labels on the center of the point to better control the label positions..
Thank you very much! I will try
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.