|
11/20/2008 9:08:10 AM
|
topic:
ESRI Installation Utility
csergent Posts 1
|
I would like to ask whoever might be interested, in working on creating an ESRI installation utility. I have created a VBScript that is basically as Service Pack Checker, and would like help in extending it into completely installing ArcGIS Software, in the proper order, and possibly configuring the environment.
|
|
6/1/2008 4:02:49 AM
|
topic:
ArcGIS Server Examples
jakc Posts 1
|
I have to put together a presentation on ArcGIS Server and with the time ive got, ive only managed to bash together some examples using the templates from within Manager. Id like to end the session with some live examples of ArcGIS Server being used in genious ways...
Any links?
|
|
4/22/2008 1:36:56 PM
|
topic:
Problems setting up tile server
BennyHusted Posts 1
|
First off, I apologize for these questions if they don't make any sense (I'm new to this).
I followed the instructions on your website for setting up a basic example where you build a tile cache based on tile requests from VE.
The first obvious thing I noticed is that the default example will generate a bunch of javascript errors due to btnAdd not having any properties. I looked and could not find any sort of btnAdd being declared in the javascript. Are you using some kind of javascript library that I don't know about?
Second, I'm uncertain of how to modify the following code to work with my map service:
var tileSourceSpec = new VETileSourceSpecification("agssoap", "./greenmap/%4.ashx");
In this case, greenmap is mapservice I declared in my web.config. Does the tile server generate the handler for this service? What sort of guarantee do I have that %4.ashx exists?
Any advice?
|
|
3/18/2008 7:24:47 AM
|
topic:
Support for Transparent Color
nateirwin Posts 1
|
Quick question: what is the easiest way to set a transparent color for tiles consumed from an ArcGIS Server map service?
|
|
3/10/2008 2:57:12 PM
|
topic:
2008 Developer Summit
Xfigio Posts 3
|
Anyone keen to catch up over dinner on Sun night? Looking at the map, Zoso looks central, so how about we meet in the foyer (assuming they have one) at 1800 and hopefully there'll be someone who has a better idea of where we can go from there.
http://maps.google.com/maps?f=l&hl=en&geocode=&q=hotel+zoso&near=Palm+Springs,+CA,+USA&ie=UTF8&ll=33.822334,-116.536446&spn=0.021641,0.028195&z=15
If that time/place doesn't suite, I'm open to suggestions.
Xfigio
|
|
3/10/2008 2:31:15 PM
|
topic:
Coding Standards
Xfigio Posts 3
|
Having just downloaded the ArcDeveloper.REST project, and looking to make some changes, it noticed that the coding standard used differs from what I use. As such, I think it prudent to define a basic standard. Considering that a significant amount of code has been written by ruprict and Dave, and assuming you guys already have a standard you work to, please consider posting it as the project standard. The pain in adapting our individual coding standards for this project will be worth the payoff down the line.
If this is considered too prescriptive, lets at least agree on names for Class, Struct, Interface, Methods, Member vars, Local vars, params etc.
What are our thoughts? edited by Xfigio on 3/10/2008
|
|
3/10/2008 2:26:01 PM
|
topic:
2008 Developer Summit
Bubba Posts 2
|
Xfigio wrote:
I know Dave floated Hotel Zoso a while ago (which is where I'm staying too). Xfigio
I'm Staying @ the Hilton, but have a car and can walk. I'll be flying in on Sunday Afternoon.
|
|
3/10/2008 2:14:04 PM
|
topic:
2008 Developer Summit
Xfigio Posts 3
|
I'm keen to catch up too. I don't know Palm Springs at all, so if anyone wants to suggest a location? I know Dave floated Hotel Zoso a while ago (which is where I'm staying too). Anyone keen to name a time/place?
Xfigio
|
|
3/5/2008 10:31:51 AM
|
topic:
MetaTiles for better labelling?
bthorp Posts 1
|
ArcIMS (and ArcGIS Server AFAIK) do not know they're building tile sets, and will try to put labels on each tile. See the attached JPG and http://blog.davebouwman.net/2007/04/05/ArcGISServerPreferredTileHeightWidth.aspx.
TileCache supports a method similar to ArcGIS Sever's internal meta-tiles -- aimed at making labelling looks good. See: http://openlayers.org/pipermail/tilecache/2007-August/000403.html for discussion and the reference map http://boston.freemap.in/
Without meta-tiles, TileServer is of limited utility.
|
|
2/15/2008 8:27:45 AM
|
topic:
AGS TileServer Spatial reference
jmaus Posts 2
|
Found the 'solution' myself. Use the following WKT string: "PROJCS[\"World_Mercator\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Mercator\"],PARAMETER[\"False_Easting\",0],PARAMETER[\"False_Northing\",0],PARAMETER[\"Central_Meridian\",0],PARAMETER[\"standard_parallel_1\",0],UNIT[\"Meter\",1]]"
Found through the following url's http://spatialreference.org/ref/user/google-projection/ http://spatialreference.org/ref/user/16/ http://spatialreference.org/ref/user/16/esriwkt/
When I reproject my data & use this projection for my mapservice, it works.
|
|
2/12/2008 7:38:22 AM
|
topic:
First code drop
ruprict Posts 9
|
So, I think I have the JSON return issues sorted. I found a library on codeplex called JSON Tools for .NET and I have changed the return type on the service contract to a Stream. I am not getting valid GeoJSON (what a concept)
I'll put the changes in soon...wanna run a few more tests.
Oh, and the insecure developer in me is wondering if y'all haven't run off and started a different group b/c the first drop was not up to snuff or something.
Hullo, McFly?
|
|
2/11/2008 11:00:44 AM
|
topic:
First code drop
ruprict Posts 9
|
Other stuff.
- If you can checkout 'trunk' to c:\projects\ArcDeveloper.REST\current, then all the references should just sync up. If not, you'll have to fix em up, but they should all be in the Third Party folder. - I didn't get the Docproject stuff in place either.
|
|
2/11/2008 10:52:59 AM
|
topic:
First code drop
ruprict Posts 9
|
So, as y'all have probably guessed from the 430 SVN messages (sorry about that) I put some code up for us to start with.
Here's the readme:
1) CO the trunk to a local dir
2) Build the solution
3) open up the config/components/config file and change the URL to point to your service. The <name>
will be used in the REST URI, so remember it.
4) Run the solution (it's using the dev web server right now, but change it if you like)
5) Issue a query BTW, Fiddler2 is freaking great for this.(http://www.fiddler2.com) My query looks
like this:
http://localhost:49613/rest.svc/AGS%20Service/pos/2
where "AGS Service" is the name from the compenents.config file "pos" is the layer and "2" is the ID.
Oh, and the layer has to have an OBJECTID field for this one to work (gulp, I'll come back to that)
Or you can do a query:
http://localhost:49613/rest.svc/AGS%20Service/pos?query=name=%27Fred%27
will query the pos layer with a where clause "name='Fred'"
Known issues:
OK, I did this in a bit of a hurry, so there are some holes. Also, I struggled a bit with the
getting the geoJSON to come out right (still struggling) but figured I would get the big
brains (that's you guys) involved to help there.
1) One of the OperationContract methods returns the IREsponse object, the other a string. WTF?
a. Well, like I said, I struggled a bit to get teh json right. WCF has this cool, no
config JSON formatter that will automagically serialize your objects to JSON, so I
started down that path. However, I couldn't get it to serialize properly for a lot
of reasons, so I changed one to just ralph out a string. I figured we would talk about
this and fix it as a group.
2) The model doesn't match Dave's Visio. I know, I know, but we were kinda in discussions about that
and I had already started down a path and <other lame excuse here. Again, we can discuss. I am
of the opinion that the service providers should be clueless about the formatters, but lets resolve
as a group.
3) Nice unit tests. A bit sparse, eh? Yup, classic lazy developer. I need to do a lot more unit
tests. I figured with y'all tackling the hard problems, I could go back and make this right.
4) The GeoJSON output has all these slashes ("\") in it.
a. I know. As I said, I struggled a bit here.
Other potential issues:
1) The code is crap and we hate it.
a. That's fine. Just tell me why it sucks. I want to learn (really)
So, I had planned to fix all these issues and make everything perfect, but I was burning lots
of daylight and I think we'll get more done if I just come clean and tap your brains. I hope
that's OK.....
Glenn
|
|
2/8/2008 8:57:57 PM
|
topic:
2008 Developer Summit
Bubba Posts 2
|
I would love to meet up with some folks and trade stories. I am a VBA Programmer breaking into .NET. and would love to chat at the Dev Summit.
My company is planning on diving into ArcGIS Server later this year. I am the only programmer and would love to talk about pros, cons, and open sourced materials.
See you there!
|
|
2/8/2008 3:53:06 PM
|
topic:
Project Object Model
ruprict Posts 9
|
Right, but I see the service manager as a kind of controller, in the MVC sense. The client asks for features and format, the controller tells the model (in this case, our service provider) for the features and then selects the next view (in this case, the GeoJSON formatter).
Thus, each service only has to worry about our core model/format, and the formatters format from the same format.
That seems more separations of concerny to me. So, if you still like the services to know about their formatters, it shall be done.
BTW, I had hoped to get some code into SVN today (Friday) but I ran out of time and don't wanna put up stuff that doesn't work. Thanks for the OpenLayers GeoJson page, that helps a ton.
Glenn
|
|
2/8/2008 3:06:14 PM
|
topic:
Project Object Model
dbouwman Posts 6
|
I was thinking that we'd be configuring services with the various services using Windsor. So a service may only support a subset of data formatters based on how it's configured.
In a general sense, yes the formatters are totally independent of the services, but an instance of a service would have one or more formatters associated with it.
Dave
|
|
2/8/2008 7:53:04 AM
|
topic:
AGS TileServer Spatial reference
jmaus Posts 2
|
Just started to explore the tileserver. Sample looks great and works immediately. Great work!
Next step: add my own service works fine as well (default.aspx and web.config). But, the map is not projected properly. My service is a world map in wgs84.
I think the problem is in ArcSoapTileProvider.cs / GetTile where the spatial references are set. The bounding box is defined in WGS84 & the Spatialreference of the requested agsMapservice is set to the 'funny' VE/Google mercator projection. Why does this work with the Colorado sample & not with my WGS84 World map?
This is what I changed in the code (original code -> replaced with) to be able to generate the attached image. I know this is wrong, but if I use the original code I only get white images.
SpatialReference sr = new GeographicCoordinateSystem(); //From http://www.sharpgis.net/2007/07/27/TheMicrosoftLiveMapsAndGoogleMapsProjection.aspx" target="_blank">http://www.sharpgis.net/2007/07/27/TheMicrosoftLiveMapsAndGoogleMapsProjection.aspx sr.WKT = "GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.0174532925199433]]"; //Original code: //SpatialReference mapsr = new ProjectedCoordinateSystem(); //From http://www.sharpgis.net/2007/07/27/TheMicrosoftLiveMapsAndGoogleMapsProjection.aspx" target="_blank">http://www.sharpgis.net/2007/07/27/TheMicrosoftLiveMapsAndGoogleMapsProjection.aspx //mapsr.WKT = "PROJCS[\"Mercator Spheric\", GEOGCS[\"WGS84basedSpheric_GCS\", DATUM[\"WGS84basedSpheric_Datum\", SPHEROID[\"WGS84based_Sphere\", 6378137, 0], TOWGS84[0, 0, 0, 0, 0, 0, 0]], PRIMEM[\"Greenwich\", 0, AUTHORITY[\"EPSG\", \"8901\"]], UNIT[\"degree\", 0.0174532925199433, AUTHORITY[\"EPSG\", \"9102\"]], AXIS[\"E\", EAST], AXIS[\"N\", NORTH]], PROJECTION[\"Mercator\"], PARAMETER[\"False_Easting\", 0], PARAMETER[\"False_Northing\", 0], PARAMETER[\"Central_Meridian\", 0], PARAMETER[\"Latitude_of_origin\", 0], UNIT[\"metre\", 1, AUTHORITY[\"EPSG\", \"9001\"]], AXIS[\"East\", EAST], AXIS[\"North\", NORTH]]"; //replaced with: SpatialReference mapsr = new GeographicCoordinateSystem(); mapsr.WKT = "GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.0174532925199433]]";
Any idea how to approach this?
thanks!
|
|
2/8/2008 6:11:13 AM
|
topic:
Project Object Model
ruprict Posts 9
|
Question on the model:
Currently, we have each rest service having it's own formatters. I was thinking we might have the formatters be independent of the service providers. The biggest implication here is that we would need an object model to represent the features, geometries, etc. So, each request would return features in our object model format, which could then be passed to the formatters. The change in the diagram, the, is to move IDataFormatter from IRESTService to the RESTServiceManager.
Does this make sense? What do y'all think?
|
|
2/8/2008 5:40:33 AM
|
topic:
Getting started
ruprict Posts 9
|
Well, I am trying to get the base in place for critique and direction. The "base" is the beginning of the REST endpoints, a basic ArcGIS Server Provider, and a basic GeoJSON formatter.
I am hoping to get this done this weekend. I may throw whatever I have into SVN just to get feedback. It's hard to find a stopping point, y'know? Once I do that, it'll be up to the group to fix/add/modify the beginnings.
At least, that is my opinion. Oh, and this is my first foray into open source as well, so we'll learn together.
Glenn
|
|
2/8/2008 5:37:57 AM
|
topic:
Initial REST Design stuff and direction
ruprict Posts 9
|
So, I am reading the draft spec (v5) of GeoJSON and will follow that.
|
| pages: 1 2 |