| bio | website | |
|---|---|---|
| location | ||
| age | 29 | |
| visits | member for | 2 years |
| seen | 3 mins ago | |
| stats | profile views | 59 |
|
Apr 30 |
comment |
Running OpenLayers in .NET 4.5 breaks I think it's most likely you're passing a bad argument, or missing one altogether, when initialising the map or other OpenLayers components. How is overviewMapControl defined? You might want to use the uncompressed version of the OL library and debug around the line that throws your error. Follow the call stack back up until you find a line of your own code, then inspect what you're passing with it. |
|
Apr 10 |
comment |
What does 'DBMS table not found' message mean? @DevdattaTengshe I think you should encapsulate data concerns at the data layer. Use an OLE connection to query a view that handles all your table relations. In a perfect world your GIS shouldn't need to know how your database schema is structured. |
|
Feb 27 |
comment |
ArcGis Javascript api detect one second hover hmm good point, I figured because you weren't creating a closure the scope would be lost |
|
Feb 27 |
comment |
ArcGis Javascript api detect one second hover There doesn't seem to be a standard for the return value of setTimeout or setInterval, so I don't think there's any guarantee it won't be 0. So you probably want to do something other than a coercive truthy check in if(timeOutAction), e.g. don't define timeOutAction and check if(typeof window.timeOutAction === 'undefined'). Also (and more importantly) var timeOutAction won't be in scope when your onMouseMove handler is executed - it's tied to the function but your handler will have global scope |
|
Feb 27 |
comment |
Given a lat/long point, determine if it's land or water? you don't say how your users will interact with the data (will that be QGIS too?). Depending on your application you might just colour water blue and land green, then inspect the colour of the pixel under the mouse pointer. Also, why can't your users answer this question themselves? |
|
Feb 26 |
comment |
Moveable ESRI / ArcGIS Identify Popup Window (Dojo) I previously thought about doing something similar, but making the popup moveable is only part of the problem - the window points to the location it references using one of these images: serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/dijit/… Unless you want to get into a rather sticky problem you will have to live with the popup no longer pointing to the correct location |
|
Feb 26 |
comment |
Can I download a layer displayed on the google api? I'd guess you're dealing with a WMS. A quick trawl through the site's JS source should give enough clues on how to reference it within a desktop GIS suite. However assuming they are only providing WMS (or similar) and not WFS (or similar) you won't be downloading raw data, only its styled representation in image tiles. |
|
Feb 20 |
comment |
Using Query Layers with ArcGIS Server 10.0 for Java on Linux I don't envy you - you really picked the most difficult ESRI configuration scenario ever! I had some problems with query layers in 10.0 that never got resolved (e.g. gis.stackexchange.com/questions/34789/…) but when I moved to 10.1 everything magically worked. Is that an option? |
|
Feb 19 |
comment |
Geoserver 2.1.3 no GetFeatureInfo-Response when multiple Features found on same location within same layer Is this a custom freemarkers template? If yes what happens when you don't use it, or use a different template? Do you get a different result if you change your layer's symbology? |
|
Feb 8 |
comment |
ajax not working with postgresql it being the same file makes no difference, you're still just dealing with client requesting from server over HTTP. Did you use Fiddler or another network debugger? You need to first verify that your request is being sent and that the POST body is what you expect. Fiddler has plenty of tutorials |
|
Feb 6 |
comment |
ajax not working with postgresql do you know for sure that the value is sent? Get Fiddler running and check that your request is indeed a POST and that the value you expect is being passed. Also do you know for sure that the correct PHP script is being called? Change the PHP script to always echo 'something' and check that this gets back to the browser. These kinds of simple steps will turn your big ambiguous problem into one or two small and well-defined problems. |
|
Jan 31 |
comment |
WFS Layer in OpenLayers queries server for data but doesn't display the data I notice your WFS source is localhost - is your JS application also running on localhost, on the same (default) port? If not, and you've no proxy (you don't specify), the all-too-familiar cross-domain issue could be the reason. In that scenario data will still be downloaded but then discarded by the client. |
|
Jan 28 |
comment |
GML, KML, GeoJSON - Speed rendering 3109 polygons? IE8 will be almost as bad. OpenLayers has several renderers and for browsers that don't support Canvas or SVG is will resort to VML, which IE7 does support. The different renderers give better and worse performance in different places, e.g. rendering vs. mouse-over & click detection |
|
Jan 23 |
comment |
How do I center Openlayers map over New Mexico I think providing only a single layer (OSM) makes that the base layer, and that in turn sets your map's spatial reference to the base layer's (someone please correct me if I'm wrong). In this case your centre coordinate needs to be in 3857 / 900913 - try @GeoSteve's numbers below. -105,35 in metres from 0,0 will be somewhere close to Africa. |
|
Jan 18 |
comment |
Send WMS Request as JSON even if it were possible JSON will not make the request any shorter. As @Jamie noted POST is a good option. See here: openlayers.org/dev/examples/wms-long-url.html I think there may be some cross-browser issues with POST but can't find anything right now |
|
Jan 15 |
comment |
how to check if a wms layer has no features here is a starting point: stackoverflow.com/q/6816565/519575 I generally try to avoid giving suggestions and saying "... but this is a bad idea" - depending on your use case, browser platform, and data this could be appropriate but it seems to me like a last resort. It already smells a bit and I haven't even looked closely at it yet. |
|
Jan 15 |
comment |
how to check if a wms layer has no features you say "if no features are rendered" but is this really what you want? Nothing rendered could mean there are results but scale-dependencies prevent them from being shown, or some features are outside the current viewing area. If you really just want to know when nothing is rendered you might be able to use some JavaScript (and maybe Canvas) trickery to check colour variation across the returned png. |
|
Jan 11 |
comment |
Given a C# ArcMap custom toolbar with engine source files in a folder is there a way to install the toolbar and engine without going through VS? Was it built against the ArcObjects 10 API? It doesn't always seem necessary, but I think ESRI wants you to re-compile extensions / add-ins for each new version of their software. |
|
Jan 9 |
comment |
AutoDesk Infrastructure Studio cannot access Map Server (Windows + IIS) I assume this means the Infrastructure Map Server 2013 service is running? Sorry but beyond this suggestion I can't really help. I've never had the time or the patience for this product in its various incarnations |
|
Jan 9 |
comment |
AutoDesk Infrastructure Studio cannot access Map Server (Windows + IIS) Can you see if the services are running? I'm not sure about the new Infrastructure Server, but MapGuide used to need both its own service and its apache instance running. They might not be configured to start with the OS |