GeoRest: one question

37 views
Skip to first unread message

NaSpi

unread,
May 27, 2010, 9:39:13 AM5/27/10
to GeoREST
Hi,
GeoREST is very very interesting, really a good work.

Does it work with Mapguide 2.0.2 ?


Regards,
NaSpi

Haris Kurtagic

unread,
May 29, 2010, 3:22:37 PM5/29/10
to georest
GeoREST is distributed with binaries which supports MG OS 2.1. In source code there is configuration for builds for MG Ent 2010 and 2011.

Haven't tried it but I would think that it should be fairly easy to build it for MG OS 2.0.2

Haris

NaSpi

unread,
May 30, 2010, 3:04:36 AM5/30/10
to GeoREST
Hi,
Thank you very much for your answer.
I downloaded and installed Georest (and also MG 2.1). I followed wiki
instructions, everythings works fine with georesthttpserver, but not
with IIS 7. The test is ok but when I try to load the map I get 'error
in loading gml file'. Did I miss something? Is this a Georest issue or
an Openlyers issue? Any help will be apreciated.

Regards,
Naspi

Haris Kurtagic

unread,
May 30, 2010, 6:36:24 AM5/30/10
to georest
I believe It should work with IIS 7. Simon could confirm it ? I think he has done projects with IIS 7.

Have you tried to get other representations of feature like .xml, . json or .png ?

Error message sounds unfamiliar to me. Perhaps it is issue with custom OpenLayers GeoREST layer. Simon developed that.

Haris

--
You received this message because you are subscribed to the Google Groups "GeoREST" group.
To post to this group, send email to geo...@googlegroups.com.
To unsubscribe from this group, send email to georest+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/georest?hl=en.


NaSpi

unread,
May 31, 2010, 11:25:37 AM5/31/10
to GeoREST
Hi Haris,
thank you for your answer.

I found out 2 problems. The first was that I miss MIME Type for GML
and KML (and KMZ).
The sencond was that some path inside Georest pages are not well
addressed. Of course they works well when using Georest http server,
but they don't work with IIS 7. So, I changed something in the
configuration, and some path in HTML pages and Georest is OK also with
IIS7. In other words, references in HTML pages are for example '/css/
stylesheet.css', that is the root application name is missing, if I
change in 'css/stylecheet.css' the stylesheet is well addressed. Also
instead of '/georest/rest/data/property....' I changed with '/rest/
data/property....'
My configuration steps:

1. Set permissions on the C:\GeoRest folder as follows:
* Network Service: Read
* IUSR: Read
2. Set permissions on the C:\GeoRest\bin folder as follows:
* Network Service: Full Control
3. Create new application pool to be used by this service. It does
not require any managed components. If using 64 bit Windows version
enable a 32-bit Application Pool. Right click on application pool and
select "Advanced Settings" and change "Enable 32-bit Application"
property to True.
4. Create a new virtual directory at the root of your website with
an alias of "rest" pointing to C:\GeoRest\bin
5. Convert this virtual directory into an application, using the
application pool you set up earlier.
++++++++ Create a new virtual directory at the root of your website
with an alias of "georest" pointing to C:\GeoRest\bin\www
++++++++ Convert this virtual directory into an application, using the
application pool you set up earlier.
6. Under Handler Mappings, create a new Module Mapping, setting the
wildcard to * and pointing to C:\GeoRest\bin\GeoRest_ISAPI.dll. Make
sure to allow this extension to run, or set up a new web extension
rule for it manually.
7. browse to http://localhost/rest/hello

Regards, Naspi

On May 30, 12:36 pm, Haris Kurtagic <ha...@sl-king.com> wrote:
> I believe It should work with IIS 7. Simon could confirm it ? I think he has
> done projects with IIS 7.
>
> Have you tried to get other representations of feature like .xml, . json or
> .png ?
>
> Error message sounds unfamiliar to me. Perhaps it is issue with custom
> OpenLayers GeoREST layer. Simon developed that.
>
> Haris
>
> On Sun, May 30, 2010 at 9:04 AM, NaSpi <nadia.spiti...@gmail.com> wrote:
> > Hi,
> > Thank you very much for your answer.
> > I downloaded and installed Georest (and also MG 2.1). I followed wiki
> > instructions, everythings works fine with georesthttpserver, but not
> > with IIS 7. The test is ok but when I try to load the map I get 'error
> > in loading gml file'. Did I miss something? Is this a Georest issue or
> > an Openlyers issue? Any help will be apreciated.
>
> > Regards,
> > Naspi
>
> > On May 27, 3:39 pm, NaSpi <nspiti...@tiscali.it> wrote:
> > > Hi,
> > > GeoREST is very very interesting, really a good work.
>
> > > Does it work with Mapguide 2.0.2 ?
>
> > > Regards,
> > > NaSpi
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "GeoREST" group.
> > To post to this group, send email to geo...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > georest+u...@googlegroups.com<georest%2Bunsu...@googlegroups.com>
> > .

Haris Kurtagic

unread,
Jun 1, 2010, 3:31:34 AM6/1/10
to georest
Good , you make it work for you

I will check for MIME type.

Haris

To unsubscribe from this group, send email to georest+u...@googlegroups.com.

Haris Kurtagic

unread,
Jun 1, 2010, 5:19:33 AM6/1/10
to georest
Just double checked, GeoREST do return Content Type
"application/vnd.google-earth.kmz" and
"application/vnd.google-earth.kml+xml"

Haris
On Mon, May 31, 2010 at 5:25 PM, NaSpi <nadia.s...@gmail.com> wrote:
>

> To unsubscribe from this group, send email to georest+u...@googlegroups.com.

NaSpi

unread,
Jun 1, 2010, 5:54:29 AM6/1/10
to GeoREST
Hi,
they are the mime types I specified on my IIS (also GML, but probably
it is not necessary).

Thank you for your check. I hope you can modify configuration
instruction for IIS and paths (in HTML) as well.

Regards,
NaSpi
> >   7. browse tohttp://localhost/rest/hello

Haris Kurtagic

unread,
Jun 1, 2010, 6:21:35 AM6/1/10
to georest
Simon wrote those (he replied to you before but he had some problems
accessing this list).
He will double check IIS procedure once more .

Haris

Reply all
Reply to author
Forward
0 new messages