Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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: help.arcgis.com/en/geodatabase/10.0/sdk/arcsde/api/capi/… and this: help.arcgis.com/en/geodatabase/10.0/sdk/arcsde/api/capi/… . 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: help.arcgis.com/en/arcgisserver/10.0/help/… ... And more generally browse the Geodatabases and ArcSDE section: help.arcgis.com/en/arcgisserver/10.0/help/… –  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
show 2 more comments

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.