POST
|
I am exporting a simple point layer to KML. I am using the "Layer to KML" tool in the "Conversion Tools" toolbox under ArcGis 9.3. When I open the resulting KML file and then I zoom in, in Google Earth, the symbols disappear when I'm around 40 km of altitude. Is there a way to create a KML file where the symbols are visible at all heights?
... View more
10-13-2011
03:43 PM
|
0
|
2
|
8055
|
POST
|
I build road networks. Sometimes the data comes from different sources. One of the most time-consuming processes is to find lines that apparently touch each other but in reality do not, because they are not well drawn. They do not touch by very small amounts. I guess sometimes this error happens when the person drawing the line forgets to snap properly. I've also seen people (me included) moving lines inadvertently by small amounts when clicking on them in an editing session. I know I can select all dangles in a topology, but many of them (actually, most of them) are "valid" dangles, that is, places where a road actually ends. So, when you check the topology you end with a lot of "false positives". In short, I want to find the "false" dangles, that is, lines whose end is at a small distance from another line because of drawing errors. As you can imagine, when I say "small distance" it means one thing, and when other person says the same he can mean a different thing. I can be talking of meters, millimeters or kilometers, it depends on the application you're working in. I just created a topology, took the dangles that result from the topology, converted them to a layer, created a buffer for the line feature and found which dangles fall within the buffer. As usual. It is a time consuming process and you are never sure you've found all errors. This process took me the best part of today, given the complexity of the network I'm working in and the amount of editing it has "suffered" by four different contractors (and the topology editing I had to make because of other errors). After checking for lines at less than 5 meters, I just found a site where the lines are 10 meters apart, God knows why. Then, I threw my hands up in the air and started this thread. Simple: has anyone ever achieved such a revision of a network in less than half a day? Why is that I cannot find a tool or topology rule that allows me to do such a process? I mean: to find lines whose non-connected ends are at an arbitrary distance from another line. Please, enlighten me.
... View more
09-03-2011
07:20 PM
|
1
|
1
|
1068
|
POST
|
I added a couple of lines and now it works. I had to import the os library.
... View more
07-30-2011
08:51 AM
|
0
|
0
|
525
|
POST
|
Hi, I'm new to scripting. I'm trying to write a simple script to make a route event layer. This is what I've got so far: import arcgisscripting gp = arcgisscripting.create(9.3) try: gp.Workspace = "C:/MapaCundinamarca" rt = "Route.shp" rid = "COD_VIA" tbl = "tabla.dbf" props = "COD_VIA POINT ABSCISA" lyr = "Fotob" gp.AddToolbox("C:/Program Files (x86)/ArcGIS/ArcToolBox/Toolboxes/Linear Referencing Tools.tbx") gp.MakeRouteEventLayer_lr (rt, rid, tbl, props, lyr, "#") # HERE IS WHERE THE PROGRAM STOPS except: print gp.GetMessages(2) However, I get this error message: >>> Failed to execute. Parameters are not valid. ERROR 000725: Layer Name or Table View: Dataset Fotob already exists. Failed to execute (MakeRouteEventLayer). As I almost copied literally the example provided with this tool in ArcGis, changing only the names of the files and inserting the instruction to add the toolbox tool for Linear Referencing, after the script declared that "the route source could not be created". Of course, I'm pretty sure that the Layer or Table with that name (Fotob) does not exist. I've tried to change that name before running the script to no avail. Any ideas? Thanks in advance to any generous soul who can help me. I haven't been able to find an example of Route Event construction besides the one given in the generic ArcGis help.
... View more
07-29-2011
08:59 PM
|
0
|
1
|
1396
|
POST
|
Thanks, oh, exalted master! It worked like charm. I've already downloaded the DLL when I posted the question, but the instructions at the Python site say to copy it in the System32 folder. On a side note, you also have to run the Python installer as Administrator. I guess I'll ask the guys at Python to update those instructions for persons that use Windows 7 64 bits. I cannot express in words how grateful I am. I have to travel this Saturday to my daughter First Communion. Now I think I'm going to be able to finish my work, which I was doing painfully by hand. I will be thinking of you next Sunday, whenever I see her smile. Thanks, man.
... View more
07-28-2011
08:21 AM
|
0
|
0
|
353
|
POST
|
Hi, I'm new to scripting. I'm trying to install PythonWin 2.5 to create a script. I receive the following message: The program can't start because MFC71.DLL is missing from your computer. Try reinstalling the program to fix this problem I've rebooted and reinstalled PythonWin to no avail. I have Win 7 64 bits Home Professional and ArcGis 9.3 Any ideas?
... View more
07-27-2011
05:20 PM
|
0
|
2
|
2969
|
Title | Kudos | Posted |
---|---|---|
1 | 09-03-2011 07:20 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|