1,001 reputation
69
bio website none,sorry.
location Maine
age 44
visits member for 3 years, 7 months
seen Aug 23 '13 at 15:19

I'm extroverted enough to look at other people's shoes.


Jun
23
comment Calculating the distance between a point and a virtual line of two lat/lngs
+several million pseudo-points for not using trigonometric functions, by the way. All too many people pull out ArcTan when they should be looking at this: en.wikipedia.org/wiki/Dot_product
Jan
24
comment Getting unique value records from a field
I don't think there's any way at all to get this to work within the confines of ArcObjects. You'll have to go through a more procedural route to do the same thing, unfortunately.
Nov
11
comment What's the easiest way to move tile-based services?
It's crazy to not make an archive, but zip won't usually deal with that many files. Tar is pretty standard, but I was seriously hoping for a better solution. OTOH, we're migrating to 10, which makes a lot fewer files for a tileset.
Oct
15
comment How do I generate code from ESRI GPServer wsdl?
Given the WSDL-first approach, I think that one of my answers below will actually fit with what you're trying to do - you just get extra bits for generated client-side code that you can remove if you don't want to drag them around with you.
Oct
15
comment How do I generate code from ESRI GPServer wsdl?
Ok; so what I've done is proof of concept for a service, but there should also be the server interface in the generated code for you to work with from a WSDL-first development model. For what it's worth, I think the following would also get you what you needed: svcutil sampleserver1.arcgisonline.com/ArcGIS/Services/Specialty/… /out:IESRIMsgBottle.cs /noconfig /s /ct:System.Collections.Generic.List`1 /ser:Auto /tcv:Version30 /n:* /edb
Oct
15
comment How do I generate code from ESRI GPServer wsdl?
Ugh. So you want to reimplement that same interface yourself? Hang on, there's an option for that ... somewhere in this mess of agony. I got hung up on getting something from a client perspective, since that's what you had to start with - a service that someone could use. Will verify in the AM.
Oct
14
comment why is my findTask Not working correctly? can someone please look at my code and see if I have missed something?
Last stab at this, before I go nutso; You've got an MXD, how is the underlying data stored? Did you load it into a file geodatabase, or is it shapefiles by some chance?
Oct
14
comment why is my findTask Not working correctly? can someone please look at my code and see if I have missed something?
"Find" should then list the names / values of all the other fields. I verified that it doesn't work on any of the existing layers - you get just Feature ID: -1; Field Name: OBJECTID; Layer: <LayerName>
Oct
14
comment why is my findTask Not working correctly? can someone please look at my code and see if I have missed something?
"Feature Id" is just what what it's called by the find task. The actual output should be something like: Feature ID: 12 Field Name: OBJECTID Layer: Parcels OBJECTID: 12 Assuming you'd searched on objectid field, which doesn't work, either. In fact, find doesn't seem to work for any of the layers you've got there, which is troubling.
Oct
13
comment Displaying point data to reflect time/age
Then you don't attempt to smooth anything - like a heat map would tend to, and let the points kinda jump out at you. (I'm envisioning) that you're really talking about generating a 3D surface that looks like a bunch of stalagmites growing out of it. Maybe "bump map" would be a better description?
Oct
13
comment Why are the coordinates transformed with proj.4 off compared to http://valdemar.kms.dk/trf/?
Well, they're really similar; etrs89 is based on wgs84 but accounts for continental drift, apparently (see link 1, above). If you used geographic etrs89 for the input to both methods, I'd have thought you'd have gotten very nearly identical results.
Oct
7
comment ArcGIS Server 10 Java - 403 on ArcGIS Servlet Manager
Did you accidentally leave out the name of your computer in the question? It should be: mycomputername:8399/manager/html which should bring up a login page
Oct
7
comment How do I deserialize GP Result Json?
You mean this one? gis.stackexchange.com/questions/2411/…
Oct
5
comment Running ArcGIS 10 Python script on a unix server - is it possible?
Um, no; not remotely "properly" licensed. In order for this to work on the "fast unix server", it's going to need its own license.
Oct
5
comment How do I serialize/deserialize .NET dictionary without key value elements?
So you're going to be getting broken json data? Ick. With respect to the null values, have you played with the JsonSerializerSettings to see if those would help you out? It seems as though you could set NullValueHandling to Ignore, and it would leave the dictionaries alone (assuming you'd created them in the class constructor).
Oct
5
comment How do I serialize/deserialize .NET dictionary without key value elements?
Huh. In some respects, I'd be tempted to say that Json.NET is right - you can't deserialize an array into a dictionary. Does the bit below work better: string json = "{\"jobId\":\"jeabfba358b69412abeafd63e415957bf\",\"jobStatus\":\"esriJobWaiting‌​\"," + "\"results\":{},\"inputs\":{},\"messages\":[]}"; Here, we're saying that both results and inputs are null objects, not empty arrays.
Oct
5
comment How do I serialize/deserialize .NET dictionary without key value elements?
I've only been playing with it for ... oh, a day, and yeah, it's pretty nice. Wouldn't have found it were it not for your question.
Oct
1
comment Restrict pan and zoom in ArcGIS Javascript API?
Nice find; bookmarked for when I'll eventually need it too.
Sep
28
comment Can custom map tiles be consumed via ArcObjects within my ArcGIS 10 Desktop AddIn?
@Josh - Glad to help - the ArcBruTile project was a fun find for me as well. Would you care to mark the question "answered"?
Sep
28
comment Can custom map tiles be consumed via ArcObjects within my ArcGIS 10 Desktop AddIn?
@petr_k - Right on the money with caching being critical - the network traffic will kill your performance otherwise. The guys in the referenced codeplex site (claim to) have dealt with this. I haven't looked through their code to see how they're deciding how long to hang on to a tile.