jump to navigation

ArcGIS Javascript API Tutorial February 24, 2009

Posted by Kosmas in Geographical Information Systems.
Tags:
1 comment so far

I found this intresting article which gives a three step introduction on ArcGIS javascript API.

here

Open Source GIS…errr What? February 15, 2009

Posted by Kosmas in Uncategorized.
4 comments

Is it me or OS GIS is far too complicated to install in ubuntu?

Why I am sayingis because I am trying to install in my new ubuntu but I find it very hard to do it?

What am I doing wrong?

Is there any website with easy steps to follow and install OS GIS?

1.1 October 2, 2008

Posted by Kosmas in PYTHON.
Tags: , ,
add a comment

I though to myself that I must share with you in a turorial kind of posts how to  program in ArcGIS. So I decided that I will post my tasks in two different languages Python and C#.Net.

At the moment I will try to show you examples of how you can manipulate attributes or features in personal geodatabases using c#.net and python.

My first example will be in python and will show you in practise how you can access a table and update a field by adding a unique ID in each row. I will be very grateful if you can comment my code or add your alternative way to do the job.

Firstly, we need to get the updatecursor method by doing the following

rows = gp.UpdateCursor (”the path to my table”)

We then need to start the loop to go from a row to the next row by doing the following

row = rows.Next()

while:

here you add what to do in each row and in which field by setting a value

x= x+1

row = SetValue(Field, x)  # set which field to update and what value will get

Now update the row with the above value

rows = UpdateRow (Rows)

and finally move to the next row

row = rows.Next()

That is simply a 4 steps procedure when you want to update the values of a field.

Now, I need to find good links and how you can do the same thing in c#.net. If you know how to do it I would like to recieve your suggestions in my email. kosmosofgis@gmail.com

Clean Polyline April 20, 2008

Posted by Kosmas in Geographical Information Systems.
1 comment so far

 I stuck in front of my PC today to find a solution for a simple task.

The question, I believe, is very common for those who digitise everyday or work with  line feature datasets.  In the  figure below, I have a polyline feature dataset  in my ArcGIS 9.1 using a simple arcview license.

 

 

Gap

 

This feature dataset has been digitised very badly and, as can be seen , there are gaps of 1 up to 10 meters between the segments. Therefore, I want to snap the end points of the segments in order to slightly reshape the lines. So, I will  be able to solve the “connectivity” of the feature dataset without using the topology rules and effectively all the segments will be connected.

The only solution to my question so far is to use the ET Geowizard tools Clean Dangling nodes.

But, is this the only one?

DS presentations March 15, 2008

Posted by Kosmas in Uncategorized.
add a comment

The Developer Summit Presentations are available here.

Something that we always forget! March 8, 2008

Posted by Kosmas in Geographical Information Systems.
add a comment

More Here!