Digitizing a city map for thesis project; Transportaion


So, basically I need a digitized map of a city that can be used for analysis. My thesis will be focusing on land-use destination, so I’ll be needing the fully digitized map that has all kind of land-use categories plus the road networks, precisely the measurement of accessibility. The biggest hurdle that I’ve came across is, as I belong to the third world country i.e. Pakistan, the nonavailability of data for GIS. Besides, I am not an expert in the GIS. However, I am major in urban planning.

Things that I would like to ask are:

  • How can I extract image for the study area?
  • How can I digitize the map in the fastest way?

How to calculate X and Y projected coordinate in batch processing


I have more than 1000 shape files (all are point features). They were initially in WGS 84. I projected them in UTM. Then through batch processing I added X, Y fields in each table. But all the X, Y fields are now empty or rather filled with 0. I need to calculate X, Y projected coordinate through batch processing and fill newly added X, Y fields. I checked in calculate field option for batch processing under data management tool. But don’t see any calculate geometry option there. Where can I find the tool in the tool box so that I can use it for batch processing all my tables to calculate X, Y in meters.
I am using ArcGIS

How to check whether an optional FeatureSet parameter was set by the user in a geoprocessing script tool?


I have created a custom geoprocessing script tool which contains an optional FeatureSet parameter.

When unpacking the parameters in the script, the FeatureSet is defined as a RecordSet object, even though no input was received. It seems to set a default value if it was not entered.

I need to check if this parameter was specified by the user or not.

For example, when I run this through ArcMap without a FeatureSet parameter the following occurs:

exportAOI = arcpy.GetParameter(3)
arcpy.AddMessage('AOI is: ' + str(exportAOI))
# AOI is: <geoprocessing record set object object at 0x14133578>

I was expecting exportAOI to be None.

How can I determine whether the user actually set this type of parameter?

Controlling Python Version from ArcGIS?


I am writing a VB.net console application that calls ArcGIS Desktop 10.1 ArcToolbox geoprocessing tools from my code. Some of these tools use Python syntax and I am encountering a problem that I suspect is caused by conflicting architectures. Is there a way to control which version of Python that ArcGIS uses?

  • System: 64 bit Windows 8.1
  • ArcGIS: 32 bit ArcGIS 10.1 Service Pack 1
  • Python: Both 32 and 64 bit versions installed (latter from ESRI’s background processing download)
  • My App: 32 bit VB.net (not Any CPU) console application.

finding the geographical co-ordinates


I have two circles C_1 and C_2 on the surface of the earth(sphere) intersecting at two points A and B given by latitude and longitude values. The center of C_1 lies in C_2 and vice versa.

I want to find the co-ordinates of points diametrically opposite to each centers.

How do we calculate the converse?

How to generate automatically the name of output parameters in a python script tool?


I have some Python script tools in ArcGIS for Desktop.

I need to reproduce what all geoprocessing tools do when the first input parameter is introduced: autogenerate a workspace and basename for the outputs.

How can I do that?

Meaning of red cross icon next to Geoprocessing tool/model?


I am using ArcGIS 10.1 for Desktop.

When I double-click on the toolbox command line, it is not working and appears as a red cross symbol in command tool icon.

So please, what can I do?

How to work with shapefile with 110,000 points?


I have a very large shapefile. It has 110,000 parcels, represented as points.
I’m not trying to do anything too advanced with it. Here’s what I want to do:

  1. Join it with an Excel file, export it as a new shapefile (unless there’s an easier way to incorporate the joined attributes into a shapefile)
  2. Use the identity tool to group the parcels into census tracts
  3. Use the field calculator to create a Boolean variable of sorts. I just copy and paste one column into a new field, and turn a value into 1 and all other values into 0.

The computer I’m using right now has i7-3770 and 16 GB of RAM, so I don’t know why ArcMap 10.1 would not respond when I’m trying to do any of those things.

If there is a way for me to do those things listed above without crashing the software, I’d like to know. Thank you.

how manage mysql spatial polygons in parent child style


I want to store location-polygon data in a parent-child relation. I am using spatial data in MySQL and Google map for polygon.

Eg:

  1. World
    • 1.1 US
    • 1.2 China
    • 1.3 Japan
    • 1.4 South Africa
      • 1.4.1 Pretoria
      • 1.4.2 Cape Town
    • 1.5 India
      • 1.5.1 New Delhi
      • 1.5.2 Chennai

Table in mysql:

CREATE TABLE IF NOT EXISTS `geom` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `g` geometry DEFAULT NULL,
  `location` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)

My questions are:

  1. How can I identify India is the parent of New Delhi?

  2. How to get children of India?

Any spatial query?

Result Window in ArcGIS 10.1 is not Opening


I booted up ArcMap 10.1 today and found out the Results Window was not opening up.

Background info:

  • ArcMap is running through a virtualization program through at my company.
  • Similar issue has came up in the past but with the search window not showing up.
  • IT couldn’t figure out what caused the issue with the search windows not opening up so they uninstalled the virulization program cleared the cache associated with ArcGIS.
  • I noticed whenever I click on Geoprocessing->Results (I have also added in the results button through customization), the right edge in the following image blinks.
  • I noticed a windows update went through last night so that may be the culprit? Then again, how did the search windows get borked?

I’ve scoured stack-exchange/internet and could not find any info relating to this issue. Tools successfully run and I can view the history log as mentioned here but i really need to view the results window so I can rerun various tools again without filling out the parameters again.

Does anybody know of any registry keys/services that I can look into that that may need to be tweaked?

I don’t want to resort to IT since I know for a fact they will uninstall everything, in turn loosing all my defaults e.g. shortcut keys, toolbars, and document customization.

Question and Answer is proudly powered by WordPress.
Theme "The Fundamentals of Graphic Design" by Arjuna
Icons by FamFamFam