|
POST
|
The first thing you'll want to do is make sure that your route feature class, (your roads shapefile), is M enabled. 1) Use the Feature Class to Feature Class tool to export your roads shapefile to a new shapefile and go into the Environments > M Values and set the Output has M Values parameter to Enabled. The next thing you'll want to do is assign m-values to the routes in your shapefile. What I typically suggest, to make sure that the digitized direction of the line is preserved in assigning m-values, is to add and calculate two fields, a From_Field and To_Field, where the From_Field is 0 and the To_Field is the length of the line. Then, use the Create Routes tool to create a route feature class. 2) Open up the attribute table for the output from the first step and add a From_Field and To_Field. Make sure that they're double or floats. 3) Calculate a 0 for the From_Field and use the Calculate Geometry function to calculate the Length for the To_Field. 4) Open the Create Routes tool, add your roads shapefile as the input, and choose the route identifier field, (the field that uniquely identifies each route or road). 5) Choose an output feature class. 6) For the measure source, use the Two Fields option, and specify the From-Measure Field and To-Measure Field you created previously. Run the tool and the output should be added to the map. Now, you'll have a reference system to locate the addresses in your table, so you'll want to create points from your table. 1) Add the table to ArcMap, right click on it and go to Display Route Events. 2) For the Route Reference, use your route feature class, and for the Route Identifier, use the field that uniquely identifies each route. 3) For the input table, use the Route Identifier that uniquely identifies each route. 4) Keep the default at point events, and choose the Measure field. Your output layer will be an in-memory layer, so you'll have to export this to a feature class. The workflow above assumes some things, like you have a route identifier field that matches between your roads feature class and table. Also, make sure that the To-Measure field is calculated in whatever units your address points mile marker units are in.
... View more
01-16-2013
06:49 AM
|
0
|
0
|
2176
|
|
POST
|
I assume you're on 10.1, so if you install SP1 for 10.1, you can right click on the icon in the Task Bar and go to the Properties, and uncheck the box to Enable ArcGIS Connection.
... View more
01-15-2013
03:43 PM
|
0
|
0
|
2476
|
|
POST
|
Right. Update the sample I provided to point to the mxd you're looking to work with, update the data frame name if need be, update the value from the if count < 3: line to correspond to the number of layers starting from the top you want to export, and update the output location.
... View more
01-15-2013
02:54 PM
|
1
|
1
|
4371
|
|
POST
|
I'm not sure how to do this through VB, but you can look into using Python using the List Layers function and the Feature Class to Feature Class tool: import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Temp\Project.mxd") df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0] count = 0 for lyr in arcpy.mapping.ListLayers(mxd, "", df): if count < 3: count +=1 name = lyr.name arcpy.FeatureClassToFeatureClass_conversion(lyr, r"C:\Temp", name + ".shp") print "Finished Exporting" del mxd, df, count, name
... View more
01-15-2013
02:36 PM
|
0
|
0
|
4371
|
|
POST
|
Editor tracking is only available at 10.1, but no, it won't. Editor tracking is for tracking who created a feature, when they created it, who edited a feature, and when they last edited it. I'm not sure what tools in the toolbox will assist in your workflow.
... View more
01-08-2013
02:45 PM
|
0
|
0
|
3149
|
|
POST
|
Have you looked at the Points to Line tool? You can use the Sort_Field to determine the order of the lines that will connect the points.
... View more
01-08-2013
08:49 AM
|
0
|
0
|
4207
|
|
POST
|
If you want to create a new dataset for editing, you can follow these instructions for creating a shapefile and these for creating a feature class. It should add the data to the map automatically, and you can follow my previous post for adding new features.
... View more
01-07-2013
02:56 PM
|
0
|
0
|
2476
|
|
POST
|
In creating a feature in a feature class or shapefile, you have to select which layer you want to edit. If you have data in your map from different folders or workspaces, you'll be asked which feature in the folder or workspace you want to edit, so if you want to edit a shapefile in C:\Data, choose that workspace to edit in. What I find easiest is to right click on a feature layer in your map and go to Edit Features > Start Editing. This will enable editing for that layer, (and any other layer in the workspace). Next, you have to select the template under the Create Features window, and select a construction type.
... View more
01-04-2013
03:05 PM
|
0
|
0
|
2476
|
|
POST
|
Hm, well there's a bug that is logged for config-stores using UNC paths, but the underlying issue is that ArcCatalog and ArcMap requests information 4 times when displaying the services. SP1 for ArcGIS Server optimized the listing of services in Manager so that it sends one request to grab the information on all services listed. The bug addresses the change made in Manager so it can be applied to listing services in Catalog. Again, while the bug is specific to UNC paths and larger numbers of services publish, there may be other factors that are coming into play that are affecting the requests. You can use Fiddler to watch these requests go through and see why it's taking so long.
... View more
01-03-2013
11:56 AM
|
0
|
0
|
1396
|
|
POST
|
Is the config-store for your server a Local or UNC path?
... View more
01-03-2013
09:09 AM
|
0
|
0
|
1396
|
|
POST
|
It sounds like you definitely want to use an iterator, (look at the first option For). I'd play around with the For iterator, or entering all of your distances you want to run your analysis on in a table, then use the Iterate Field Values tool to run through the distances. Plug the outputs into the operations within your model using inline variables. What it should do is go through each distance until it's finished processing each value. At the end of the model, add a process to export the results to a table using the Table to Table, then use the Collect Values model builder tool to collect all of the tables that were processed. Make the output of the Collect Values a parameter, then add this whole model to a new model, and use an Append or Merge to merge all of the tables into a full table. This is a conceptual workflow, so may not work, but it's where I'd start.
... View more
01-03-2013
08:54 AM
|
0
|
0
|
891
|
|
POST
|
So you receive the error "Bad Syntax" when trying to cache your service? What happens if you use the Manage Map Server Cache Tiles tool under Server Tools > Caching? Also, can you change the logging level for the server to verbose under Logs > Settings > Log Level? It'd be beneficial to get a better error message other than bad syntax.
... View more
12-31-2012
03:06 PM
|
0
|
0
|
9238
|
|
POST
|
You can take a look at this blog that goes through creating a shapefile that hold your labels. Also, I'd suggest you vote on the following ideas on the Ideas site. The Ideas site offers the ability for users to submit their ideas for possible implementation. Labeling Idea 1 Labeling Idea 2 Labeling Idea 3 Labeling Idea 4 There may be more out there, but those are the first ones I found.
... View more
12-31-2012
02:54 PM
|
0
|
0
|
880
|
|
POST
|
I cannot reproduce this at 10.1 SP1, (you can check the Home site of your Rest endpoint, it'll probably say 10.1, 10.1 SP1 will say 10.11). The Service Pack for ArcGIS Server 10.1 can be downloaded and installed from the Customer Care Portal. The Service Pack is essentially the whole application, so it may take some time to download and install.
... View more
12-12-2012
10:26 AM
|
0
|
0
|
1650
|
|
POST
|
So a query that querys for everything using a field, (rather than the 1=1 query), doesn't return more than 1000 values? Are you on SP1 or Final? I'll try this on my side.
... View more
12-12-2012
06:20 AM
|
0
|
0
|
1650
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-28-2026 06:05 AM | |
| 1 | 08-26-2016 10:10 AM | |
| 2 | 02-22-2024 07:22 AM | |
| 1 | 06-07-2024 07:11 AM | |
| 4 | 12-12-2024 08:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|