473,406 Members | 2,369 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,406 software developers and data experts.

python and ARCView GIS desktop

hi all. I am a newbie, so be kind.
I am using ARCView GIS 9.1 and python win. I am trying to develop a
module using the GZIP module in my ARCView map session. What I am
attempting to do (I think) is use the zip mod to zip up all the files
in a .mxd document into one neat little zipped file, ready to copy to
cd or email(if it's small enough(.

I got this idea while using autocad. There is a function in autocad
(E-TRANSMIT) that allows you to press the button on the toolbar and it
will zip up all files(and dependent files too) in the current drawing
and have it in one zip file ready for email.

I thought ESRI would think of this but when I've posted this to the
message boards, there is no response.

I was wondering if anyone had any ideas. Maybe I could use VBA or
something else?
Thanks in advance

Sep 7 '05 #1
1 1682
GISDude wrote:
hi all. I am a newbie, so be kind.
I am using ARCView GIS 9.1 and python win. I am trying to develop a
module using the GZIP module in my ARCView map session. What I am
attempting to do (I think) is use the zip mod to zip up all the files
in a .mxd document into one neat little zipped file, ready to copy to
cd or email(if it's small enough(.

I got this idea while using autocad. There is a function in autocad
(E-TRANSMIT) that allows you to press the button on the toolbar and it
will zip up all files(and dependent files too) in the current drawing
and have it in one zip file ready for email.
I think that ESRI intended that the Map Publisher (extra cost; outputs
..pmf files as I recall) be used for this purpose. This is at least
partly because map documents can contain all sorts of layers that don't
exist as readily accessible files on your local machine.
I was wondering if anyone had any ideas. Maybe I could use VBA or
something else?


If you are only using shapefiles, what you are after should be doable,
and using VBA is probably the least painful way to do it. One trap that
comes to mind is that dataset filenames are stored in .mxds in absolute
form by default - you will need to change the setting in the normal.mxt
which enables relative paths. There are examples of creating commands in
the ArcObjects developers kit (I can't remember whether this is
installed by default). You also might be able to use the InfoZip DLL
directly from VBA to package everything (after you've figured out what
needs to be packaged).

-------------------------------------------------------------------------
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullseye.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
Sep 10 '05 #2

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

Similar topics

0
by: Jeffrey Barish | last post by:
I have been developing a Python program with two intercommunicating (using sockets) parts, one of which runs on a desktop and the other on a PDA. For ease of development, I developed them both on...
1
by: Matt Upton | last post by:
Hello, I am new to Python and am trying to produce script to run batch processes for ArcGIS 9.0 (ArcView). I have upgraded to Phython 2.4 from 2.1 and am using the Pythonwin to try to code but am...
3
by: danit58 | last post by:
Anyone use il software ESRI ArcView GIS????? In a DB Access I store information about plot of land, house and related ownership. By click a button in a specific record, I want to open ESRI...
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: PSD | last post by:
Can anyone tell me how to open Microsoft Access db then use a individual link from the db to zoom to coordinates in Arcview 8.3 GIS(PGDB) Help PSD
22
by: mattf | last post by:
I've discovered Python and have been trying it out lately as a possible replacement for computations that would ordinarily be done with a commercial package like Matlab or IDL. I'd like to mention...
1
by: anbumozhip | last post by:
is there any code for color ramp available like the one which is present in arcview or arcgis
0
by: geronimo.gpe | last post by:
Hello!!! somebody to used Maps of ArcView in Applications Web NET. The purpose is that these maps are actualizen of automatica way on the basis of the changes of the registries in the data base...
0
by: geronimo.gpe | last post by:
I need to show maps of arcview in a web application with visual Studio .net. The maps need to be actualized automatically if the Data Base is modified. We are using a SQL Database that is used to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.