[OpenLayers-Users] Open Layers Configuration
Kalyan Kamepalli
kalyan.kamepalli at gmail.com
Mon Jul 5 22:09:38 EDT 2010
Another problem with the configuration,
I got heaps of the following xml files in my OGC resources folder
<ServiceExceptionReport xmlns="*http://www.opengis.net/ogc*" xmlns:xlink="*
http://www.w3.org/1999/xlink*" xmlns:xsi="*
http://www.w3.org/2001/XMLSchema-instance*" version="*1.3.0*"xsi:schemaLocation
="*http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd*">
* * <ServiceException code="*InvalidParameterValue*" locator="*
application/vnd.ogc.se_inimage*">*Validation failed for parameter
[exception], value [application/vnd.ogc.se_inimage].*</ServiceException>
* * </ServiceExceptionReport>
Is that because I have no access to www.opengis.net ? I have no access no
any of the above pages. Is this the reason for all my problems ?
On Tue, Jul 6, 2010 at 11:57 AM, Kalyan Kamepalli <
kalyan.kamepalli at gmail.com> wrote:
> Hi Robert,
>
> Thanks for the reply. I just placed my html file in the openLayers folder
> and it came out with the default zoom and pan controls on the map. But, the
> real problem is that, it's not sending any WMS requests to my Web server. I
> wonder, I may have done something wrong. But, couldn't find it.
>
> It worked when I used the openlayers.org/api/openlayers.js reference.But,
> now I can not use it as my network is under security control.
>
> But, it should normally be okay when I reference to the local openlayers.js
> right ? Any suggestions ??
>
> Thanks,
> Kalyan
>
> On Tue, Jul 6, 2010 at 11:31 AM, Robert Sanson <
> Robert.Sanson at asurequality.com> wrote:
>
>> I believe the problem is with this line:
>>
>> <script src=*'D:\OpenLayers-2.9.1\OpenLayers.js'*></script>
>> The browser won't be able to find that location. It needs to be on the Web
>> server. If you put it in the same location as your html file, then you can
>> just use:
>>
>> <script src='*OpenLayers.js'*></script>
>> Regards,
>>
>> Robert
>>
>> >>> Kalyan Kamepalli <kalyan.kamepalli at gmail.com> 6/07/2010 1:00 p.m. >>>
>> Hi Group,
>> There are few security concerns at my organization and due to that, I
>> can not directly access openlayers.org for OpenLayers.js. So, I installed
>> it and changed my script as below
>> <script src=*'D:\OpenLayers-2.9.1\OpenLayers.js'*></script>
>> </head>
>> <body>
>> <div id='map'></div>
>> <script type="text/javascript">
>> //var map = new OpenLayers.Map('map',{maxResolution: 1000} );
>> var map = new OpenLayers.Map('map', {
>> maxExtent: new OpenLayers.Bounds(
>> -638480920.244,-188017611.367,665489491.580,1019789790.73),
>> maxResolution: 5000
>> } );
>> var wmscURL = [
>> "
>> http://siasporapv01:8080/gss/ogc?version=1.3.0&crs=sw:nsw_trans_mercator_mm&styles=Default
>> "
>> ];
>> var myLayer = new OpenLayers.Layer.WMS( 'Cambridge Steet' , wmscURL , {
>> layers: 'background' , format: 'image/png'} , { buffer: 1 , isBaseLayer:
>> true } );
>> map.addLayer( myLayer )
>> map.zoomToMaxExtent();
>> </script>
>> Now the problem is that, It's not showing any controls on the map and
>> also not sending any requests to my server. Everything comes out with no
>> image tiles.
>> If I use openlayers.org/api/openlayers.js on my local machine it works
>> perfect.
>> Am I missing something ? Is is not the way to configure OpenLayers ?
>> Thanks,
>> Kalyan
>>
>>
>> Click here <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to
>> report this email as spam.
>>
>>
>> This message has been scanned for malware by SurfControl plc.
>> www.surfcontrol.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100706/c46ee03c/attachment.html
More information about the Users
mailing list