Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wanting to move geometries/attributes to and from arcgis server and web client. If, I've already thought through my network io vs app architecture and have concluded with architecture Z (really I just have enough time to optimize where easiest!..low hanging fruit!)

My specific use case is in regard to handling feature records varyingly based on attributes which would be boolean. I will either put 1 or 0 in certain fields and do something useful for each of these? If I am doing field creation via a dbf template on ArcGIS Server with python, what should my boolean fields be if I want to minimize traffic? Text with 1 of Length 1 or Short of Precision 1 or other?

Please provide some explanation/link to help or other. Thanks.

share|improve this question
Are you using ArcSDE? If so, take a look at this:… and this:… . They are the ArcSDE API in C (Java also available). It really depends on the machines involved and/or the database backend (MS SQL, Postgre, etc) and how they represent those data types. Typically char is represented as 8 bytes, and an int as 32 bytes...but it is also dependent on the system/database. Any info on your architecture? – Baskinomics Mar 21 '12 at 3:41
If I think of anything else I'll post an answer, but for example:… ... And more generally browse the Geodatabases and ArcSDE section:… – Baskinomics Mar 21 '12 at 3:47
Yeah, I figured I would have to dig in and see what specifics would apply. Thanks guys. I'm using a shapefile served over ArcGIS Server on windows server 2008. I may move to sql server 2008 if editing is needed. – Justin Mar 21 '12 at 4:00
What is the database backend? SDE + ??? – Baskinomics Mar 21 '12 at 4:32
If I move need to edit over the web, I will move it to sql server 2008 and arcgis server/sde 2010. Right now it is a shapefile. – Justin Mar 21 '12 at 4:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.