Tuesday, September 5, 2017

Andrew Ng machine learning course

Hi,

I was failing in the week 2 quiz - Machine learning course in Coursera.org, especially in one of the question which has multiple options (check boxes).

Which of the following are reasons for using feature scaling?


For the above question, I have attended the quiz many many times by selecting two items as answer (since it was check box option), i was keep failing the quiz.   

As a last choice, I submitted with one answer, I have completed the quiz.......  If you are also failing this question, try only one best answer you feel.   

Sorry, I forgot the answer :)

Thanks, 


Saturday, August 26, 2017

ESRI basemaps loading maps diagonally

Hi,

Today,  I faced an issue in my esri javascript api 3.13 based simple web application.  

The basemaps were loading only the diagonal wise, all other blocks are blank.   In the chrome dev tools, every basemaps requests were success 200 response code.

The root cause was, esri.css version is different compared to the esri js version, like css was pointing to 3.12, esri js is pointing to 3.21.  

Thanks.,

Monday, April 18, 2016

ESRI Business Analyst data installation error: unable to find these files..

Hi,

When you install the ESRI BA data, sometime you will face "file not found error"..  But the file will be available in those locations.

To avoid this error, pls. reduce the no of folders in the path,  if there is more folders/sub-folders there will be issue.

Thanks, 

Friday, April 8, 2016

Windows 10 - Can't access network - wifi issue

Today, I got an issue in my Windows 10 laptop, the wifi is not able to connect the network.  But if I connect through LAN cable, it works fine.

I tried device drive update, but nothing happened positively.


I got a solution (that worked for me)

a) go to device manager
b) select Network adapters
c) Right click on "...wireless"
d) go to properties, -> advanced tap
e) in the value drop down, select Auto


It will work, give a try.

Friday, March 29, 2013

Microsoft® Windows® Malicious Software Removal

MS is releasing a good malicious software removal tool with upgradation every month.  It is a good idea to download and run this tool every month, even though we have Antivirus/Windows Defender.


Link:
http://www.microsoft.com/en-us/download/details.aspx?id=9905



Windows Defender has been turned off....

I have windows 8 64 bit professional edition.  Whenever I select the Windows Defender, it says "windows defender has been turned off....".   I did search in the Google "how to turn on windows defender", but that I did not get any helpful post.

Solution: a) first turn off your antivirus ( i have Avira free one).
b) go to control panel -> Action Center
c) select security tab
d) go to virus protection
e) view antivirus apps
f) select windows defender and turn ON
g) update the Windows defender and scan the computer.
h) once the scan is done, just turn on your antivirus.  ( windows defender will go off automatically).


Monday, June 11, 2012


Could not start ArcSDE - Check Network, $SDEHOME disk, DBMS settings....


Today, I created multiple ArcSDE service instances and few services deletion.   When I started one of the service, it has thrown an error "could not start ArcSDE..." for the command sdemon -o start -i esri_sde.  

Then I tried with sdemon -o start -i esri_sde -H c:\arcgis\arcsde\ora10gexe\.  It started properly. I am not sure whether the deletion of the service instance esri_sde has not done properly... 

Monday, April 9, 2012

ArcGIS desktop + Append issue

I have created a feature class (fGDB) in ArcGIS 9.3.1 without mentioning the co-ordinate system.  After appending multiple feature class in the new one, i drew the map in ArcMap.  The line features are displayed in zig-zag way, no smooth curves.

So, again I created the feature class and mentioned the co-ordinate system.  Then the features appended became smooth curves.  

Thursday, March 8, 2012

copying file names in a single click.

Today, I faced a problem, i have to copy around 20 *.txt files name into an excel sheet in windows xp.

first few minutes, i was manually coping the file name from each file and then paste it in the excel..  It lead to lot of error..

I googled for any solution, i found a good solution from the microsoft site.

(unfortunately, i am not able to find the same site again)... but the steps are,

a) use the command prompt (start->run->cmd)
b) in the cmd prompt go upto the folder where the files are there
c) dir *.txt
d) right click on the listed file names and select mark
e) press enter (it will copy)
f) then paste it

This information may be too old.. but today only i learned it, so thought to share it...


polygon self intersecting - two line segements intersecting...

This week I was working on how to find the polygon is self intersecting or not.   I have gone through various logics, algorithms etc.,  but nothing worked fine..

Finally, I found this site, this is simple way to find whether two line segments are intersecting..

http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=geometry2

Based on this logic, i developed few lines of code to find two segments intersection..

for example:  points are  (0,0) (5,5), (0,5)(-3, 6)(-3, 3)
the above sample will create a polygon with five sides.   So here we should be careful, how to iterate the lines with other lines (not the immediate next one)...  and also, it should not redo the same set of sides....

(0,0) - (5,5) - side1
(5,5) - (0,5) - side2
(0,5) -(-3,6) - side3
(-3,6) - (-3,3) - side4
(-3,3)-(0,0) - side5

so, side1 should be compared with side3, side4  (but not with side2, side5, since those are closer)

then side2 should be compared with side4, side 5 (but not with side3, side1)
....






Friday, February 3, 2012

The ArcGIS Server Manager service on Local Computer started and then stopped



Today, I faced this error in the ArcGIS Server Java Platform, "The ArcGIS Server Manager service on Local Computer started and then stopped..." 


Actually the server was running fine.  I decided to change the service account of ArcGIS Manager, Container, SOC monitor.   So I did post install to change with service account used for the ArcGISSOM and ArcGISSOC.  After I did post install, i added the new account in the agsuser&agsadmin.  The ArcGIS Server manager service is down, but the ArcGIS Object Container server, SOC monitor is up and running..   When I manually tried to start, it shown the error.  


I have gone through the ESRI site link, http://support.esri.com/en/knowledgebase/techarticles/detail/33737
I verified all the solutions given in this ESRI link, (except repair option) and I didn't find any change required.  


Then I changed the logon account as "Local Computer", in the properties of the ArcGIS Manager service window.  It started to run without any problem. So, i decided it is not a problem in install or post install, it is just permission problem. 


I gave the complete permission/access to the ArcGIS folder in program files and the c:\arcgisserver folder to the new service account that I used in the post install.   


After this change, the ArcGIS server manager started to run without any problem.


I think, giving permissions to Java folder in .. programfile/arcgis will also work.  pls. give a try.. 

Saturday, September 17, 2011

Oracle 11g: Windows could not start the OracleDBConsoleorcl on Local Computer


I was using the Oracle 11g in my Windows 7 Professional system for few days..  Suddenly, I was not able to use the sql developer to connect the schema/user.

I found that the Oracle... services were down in the Windows services windows.

a) Oracle ORCL VSS Writer Service - running
b) OracleDBConsoleorcle - not running
c) OracleJobSchedulerORCL - not running
d) OracleServiceORCL - not running

When I started the OracleDBConsoleoracle, it thrown a error "Windows could not start the OracleDBConsoleorcl on Local Computer".

(Below solution is worked for me, based on the various fo rum threads)...

a. go to C:\.......\product\11.1.0\db_1\oc4j\j2ee
b. copy paste the folder: OC4J_DBConsole_192.168.x.y_orcl, two times
c. rename one of the two new folder as OC4J_DBConsole_localhost_orcl
d) rename the other one as OC4J_DBConsole__orcl


after making these changes and a reboot, it started to running.........







Sunday, September 4, 2011

Oracle11g Failure IO exception: The Network Adapter could not establish

Today,  I have installed Oracle 11g enterprise in my Windows 7 Enterprise 64 bit machine.   Oracle server and sql developer are in the same machine.

When I tried to connect the User Scott through SQL Developer,
I gave these details:
Hostname: localhost
Port: 1521
SID: orcl
 I got the error, Status: Failure -Io exception.   The Network Adapter could not establish.....

I have tried few steps provided in other blogs, forums, no use....

But when checked the tnsnames.ora,

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.xyz.cc.bb)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl.168.10.xyz)
    )
  )

I used these details for connection, it is working fine....

Wednesday, August 31, 2011

Spatial Join with two line data


I have two shape files from a vendor, one is two years and the other is very new one (same geography).  In the old one, i have added few columns and most of the rows are updated.

I wanted to replace the old one with the new one, i have to bring those added columns with values into this new one.  
Constraints:
a) The unique id given in the two data are not matching
b) the geometry is not matching,
c) Old line data is having 0.2 millions

I tried with spatial join (intersect, closest) in arcmap 9.3, but it end up with wrong joins or missed joins..

I have tried the following,
a) convert the new line feature into a point feature ( need arcinfo license),
b) create a buffer of the old data - line feature
        this buffer distance should be fine tuned, to cover the new line feature, mostly it will be manual decision
c) intersect these two data
d) now you will get the intersected points with the attributes from the old one.
e) do join this intersected file with the new one based on the unique id

Sunday, June 5, 2011

ArcGIS Desktop has encountered a serious problem.. needs to close

I have faced "ArcGIS desktop has encountered a serious problem..." in Windows XP and Windows 7.  I have tried with ArcGIS 9.3.1 and ArcGIS 10, same issue..

Finally, the issue was with the monitoring tool installed in those machines..  These montioring tools blocking the arcmap.exe, arccatalog.exe.   After making exclusion flags in the monitoring tools, it is working fine.......   

Sunday, March 6, 2011

cannot open server.properties - HTTP Status 404 /arcgis/rest: The requested resource (/arcgis/rest/) is not available


I recently faced this issue in ArcGIS Server Java 931.  I have installed server 931 and tested the REST services, it was working fine.

But the next day, i am not sure what happened or change in the server machine.  If I hit the
http://hostname:8399/arcgis/rest/services

It is showing "Not available".. in the error log (..prgfiles/arcgis/..java/../log), it shows the following error as Sever
e "cannot open server.properties".

I tried all the suggestions given in the ESRI site, nothing working.. Finally, I did post install once again, now it is working.

Friday, March 4, 2011

Batch geocoding using Google or Yahoo.. Free service

http://www.gpsvisualizer.com/geocoder/

This site provides option to give comma / tab separated addresses to do geocode.  It does bulk geocoding of 1000 addresses at a time.

Also, it allows to select the geocode service - Google or Yahoo.

It provides output as longitude, latitude, standardised address, geocode level (street, address, city, zip et.,)


Sunday, January 9, 2011

TeleAtlas Multinet - Merging NA gecoding files.

TeleAtlas Multinet version provides the geocoding shapes for all states in US and Canada.  I merged around 5 gc shp files.. but the results in the attributes were not merged properly.  The attribute data are mixed with different columns.

My friend suggested me to create a File Geodatabase through Catalog and then try to merge all gc shp files of North America............   It worked fine..... no issue after merging and compressed well...

From the ESRI sites, it seems that the shape file has the limitation of 2GB..

Anyhow, I learned a new thing, and thought share with you all......

Wednesday, December 1, 2010

Could not start ArcSDE -- Check Network, $SDEHOME disk, DBMS settings.

I have tried to install ArcSDE 9.3 in Windows XP machine, while starting the service I got this error.  In the ESRI site, the windows xp is not listed as supported OS for ArcSDE.

-- update on 11th june 2012.  actually the issue was with the oracle client.  Today, I installed oracle 10g 10.2 Run time components option  (out of four options, -instant client, administrator, run time components, customer) in the installer option.

I installed in Windows 2003/windows 7 machine, Oracle Client 10.2 and ArcSDE 9.3, 9.3.1, and patch file.  It got installed without any problem and I was able to start the service.

Thursday, November 25, 2010

BareTail - A free real-time log file monitoring tool

Easy way to monitor the ArcGIS server health.  I came across a new tool called "BareTail".

It is one of the good free tool to read the ArcGIS server logs....

http://www.baremetalsoft.com/baretail/

It is very easy to monitor the server logs using this tool..

Andrew Ng machine learning course

Hi, I was failing in the week 2 quiz - Machine learning course in Coursera.org, especially in one of the question which has multiple opti...