473,412 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

How to add a shapefile to an existing ArcMap 9.x project using Python?

Hi.....
I have an Instance of ArcMap 9.0 running.
I also have a shapefile named myShape (actually corresponding to 4
files on the disk: myShape.dbf, myShape.shp, myShape.pnt and
myShape.shx)
I would like to write some Python code that inserts myShape into the
running instance of ArcMap9.0 as a new layer.
How can I do this? What software tools/package can I use to do this?
Can you show me the Python code fragment?
Thanks
-Saqib

Jul 18 '05 #1
0 1722

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
2
by: Bill Nguyen | last post by:
I would like to add a new VB.NET project using the same folder being used by another project so that I can share several forms already creaded by the other project. However, .NET created a new...
3
by: PSD | last post by:
I am trying to link an access database directly to individual polygons or points (PGDB) in Arcmap, that is when opened the Access link would open Archmap and then zoom to the polygons or points...
1
by: Dieter Vanderelst | last post by:
Dear all, Could anybody tell me whether there are ways to use an existing DLL file in Python without having access to the source code? I'm trying to find a way to use the image filters...
0
by: tone | last post by:
i'm a recent blow in to this world of access and am having a ball, i created a database linked to an arcmap mxd, all cool going from mxd to access forms based on site id. what i want to do is...
4
by: Kimutaimz | last post by:
I am trying to link an access database directly to individual polygons or points (PGDB) in Arcmap, that is when opened the Access link would open Archmap and then zoom to the polygons or points...
3
by: arpaisley | last post by:
I'm brand new to python and somewhat familiar with ArcMap. I have a functioning script that produces a table using ZonalStaticticsAsTable_sa. I'm wondering how I can export that table using python to...
1
by: =?Utf-8?B?d2lubGlu?= | last post by:
Hello Using VS 2005 VB.net when a class library gets created you can right click the project and add a Windows Application and then set it as the "startup project" then in the Windows...
4
by: Asaf Hayman | last post by:
Is anyone familiar or aware of a successful enterprise class project in Python to control and monitor a cluster of computers? As a part of a bigger project my company needs to build a cluster...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.