Re: [OpenMap Users] newbie question about SHIS

From: anish muttreja <anishmuttreja_at_gmail.com>
Date: Tue, 1 Feb 2005 13:29:20 -0500

Thanks so much Don.
That worked like a charm after restarting the server.
The much improved results can still be found on the same URL.
Anish



On Tue, 1 Feb 2005 12:44:31 -0500, Don Dietrick <dietrick_at_bbn.com> wrote:
> Hi Anish,
>
> Your property file needs a
>
> openmap.startUpLayers=csvcities shapeLayer
>
> property set, to tell the server which layers to put on the map by
> default. Since you don't have that property set, there are no layers
> being added to the image.
>
> You can add/change those layers to the request by adding a
> 'LAYERS=csvcities,shapeLayer' argument to the list in the URL.
>
> It might help to zoom out a little, too.
>
> FYI, the openmap.scale=1:1200000 property won't do anything. the other
> openmap.Scale property will set the default scale for the server map to
> use if the SCALE argument isn't specified in the URL.
>
> Hope this helps,
>
> Don
>
>
> On Feb 1, 2005, at 11:35 AM, anish muttreja wrote:
>
> > Hi everyone,
> >
> > I am trying to generate an image using the Simple HttpImage server.
> > I wrote a properties file and generated an image by calling the
> > imageServer code supplied as an application, and the image turned out
> > fine.
> > Now I try to generate the same image using the SimpleHttpImageServer
> > by issuing this request
> >
> > http://ant.princeton.edu:8081/?REQUEST=MAP&SCALE=240000&LAT=46&LON=-77
> >
> > My browser get an image with the required number of pixels, but of a
> > much a smaller file size. The image won't display and has a much
> > smaller file size than it should. The above address is publicly
> > accessible and up most of the time, you can try the URL urslef - you
> > will get a blank image :).
> >
> > I am using jdk 1.50 and openmap-4.6.1.
> > I am attaching the properties file. If anyone can quickly scan the
> > file, and see if something is obviously wrong - I will be very
> > grateful.
> > I am very confused because ImageServer works out of the box with the
> > same properties file, but the supplies SHIS doesn't.
> >
> > Thanks and Regards,
> > Anish
> >
> > --
> > Do one thing for India -
> > http://www.oneforindia.org/?c=PN&r=anishm
> > <openmapimageserver.properties>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick_at_bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>


-- 
Do one thing for India -
http://www.oneforindia.org/?c=PN&r=anishm
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Feb 01 2005 - 13:30:05 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT