[mapguide-users] Connect to PostgreSQL database via DNS(Mapguide Studio 2009)

Rui Daniro ruidaniro at hotmail.co.uk
Thu Feb 12 13:07:16 EST 2009


Hi Kenneth, 

 

Thanks a lot for  your help.

I tried with PostGIS Provider and it was worst than with ODBC, then I tried
with OGR and works fine, I am able to see and plot the points, but ...there
is always a but..after plotting the points on my map, when I try query one
of my dots returns an error.

 

Fusion Error: 

WARNING: Exception occurred in AJAX callback.

SyntaxError: invalid label

Location: undefined (735)

xx)

 

Can you help me with this? 

 

  _____  

De: Kenneth Skovhede, GEOGRAF A/S (via Nabble)
[mailto:ml-user+64672-1645459268 at n2.nabble.com] 
Enviada: 12 February 2009 07:37
Para: Rui Daniro
Assunto: Re: [mapguide-users] Connect to PostgreSQL database via
DNS(Mapguide Studio 2009)

 

Have you tried both the PostGIS provider and the OGR provider?



Regards, Kenneth Skovhede, GEOGRAF A/S



Rui Daniro skrev: 

Hi Kenneth, 
 
Thank you very much for your time. 
 
I followed your suggestion and I still unable to do it.
 
I tested the connection with a diferent piece of software and I was able to
do it. I tried to access and create a layer based on the data on my database
using Quantum GIS it works fine, only with Mapguide I am not able to do it.
 
I went to check  if there is any error in the log files and nothing.
 
Do you have any other suggestion ofr my problem?
 
Thanks again for you time.
 
Rui
 
 
 
 
 
Kenneth Skovhede, GEOGRAF A/S wrote:
  

They should work right away.
 
Do you get any errors in the log files?
 
The preview feature does not always work, because the data extent is 
sometimes reported incorrectly.
Try to create a map, and set the coordinate systems and extent to fit 
the layer, then add the layer.
You should now be able to preview the map.
To be certain, try adding a layer with data in the same region that you 
know works.
 
Regards, Kenneth Skovhede, GEOGRAF A/S
 
 
 
Rui Daniro skrev:
    

Hi Kenneth,
 
 
 
Thanks for help, but I believe that is not my problem.  As I can see 
Paulo problems is to connect to the database, but not my case, I am 
able to connect and see the tabular data, the only thing I am not able 
to do is plot my geometric data.
 
 
 
Anyway, I did a search on my systems and I could not found those dll's 
so I decided copy and past them on the following folder 
\MapGuideOpenSource2.0\Server\Bin\FDO . Do they need any customisation?
 
 
 
Thanks again for you time.
 
 
 
Rui
 
 
 
 
 
------------------------------------------------------------------------
 
*De:* Kenneth Skovhede, GEOGRAF A/S (via Nabble) 
[ml-user+64672-1645459268 at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2313537&i=0> ... 
 <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2274344&i=0>
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2274344&i=0>]
*Enviada:* 05 February 2009 07:38
*Para:* Rui Daniro
*Assunto:* Re: [mapguide-users] Connect to PostgreSQL database via DNS 
(Mapguide Studio 2009)
 
 
 
Hi Rui.
 
Please see if this explains your trouble:
http://n2.nabble.com/FDO-OGR-Provider-for-PostGreSQL-8.3-%2B-PostGis-td22700
66.html
 
Regards, Kenneth Skovhede, GEOGRAF A/S
 
 
 
Rui Daniro skrev:
 
 
      

Hi all,
 
I am using MapGuide Studio 2009 and have a database created using 
        

PostgreSQL
      

which I connected to it using via DNS. I tested the connection and I 
        

get a
      

message saying sucessful connected, then I defined the geometry 
        

properties
      

and selected the appropiate coordinate system for the table which I 
        

want to
      

map. On preview I can see the geometric properties adn data 
        

properties, when
      

I select view data I am able to see my table data, but when I select 
        

view
      

feature nothing happens. I can see the zoom/pan tool and the loading
animation, but nothing happens, I leave it for ages and nothing comes 
        

up.
      

Can you help me with this? Can you highlight on this? Thank you in 
        

advance.
      

best regards
 
Rui
 
        

_______________________________________________
mapguide-users mailing list
mapguide-users at ... 
 <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2273611&i=0>
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2273611&i=0>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
------------------------------------------------------------------------
 
This email is a reply to your post @ 
http://n2.nabble.com/Connect-to-PostgreSQL-database-via-DNS-%28Mapguide-Stud
io-2009%29-tp2268432p2273611.html
You can reply by email or by visting the link above.
 
 
 
 
------------------------------------------------------------------------
View this message in context: RE: [mapguide-users] Connect to 
PostgreSQL database via DNS (Mapguide Studio 2009) 
 
<http://n2.nabble.com/Connect-to-PostgreSQL-database-via-DNS-%28Mapguide-Stu
dio-2009%29-tp2268432p2274344.html>
<http://n2.nabble.com/Connect-to-PostgreSQL-database-via-DNS-%28Mapguide-Stu
dio-2009%29-tp2268432p2274344.html>
Sent from the MapGuide Users mailing list archive 
 <http://n2.nabble.com/MapGuide-Users-f1803227.html>
<http://n2.nabble.com/MapGuide-Users-f1803227.html> at Nabble.com.
------------------------------------------------------------------------
 
_______________________________________________
mapguide-users mailing list
mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2313537&i=1> 
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  
      

_______________________________________________
mapguide-users mailing list
mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2313537&i=2> 
http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 
    

 
  


_______________________________________________ 
mapguide-users mailing list 
mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2313537&i=3>  
http://lists.osgeo.org/mailman/listinfo/mapguide-users



  _____  

This email is a reply to your post @
http://n2.nabble.com/Connect-to-PostgreSQL-database-via-DNS-%28Mapguide-Stud
io-2009%29-tp2268432p2313537.html
You can reply by email or by visting the link above.

 


-- 
View this message in context: http://n2.nabble.com/Connect-to-PostgreSQL-database-via-DNS-%28Mapguide-Studio-2009%29-tp2268432p2316503.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090212/ad3f6010/attachment.html


More information about the mapguide-users mailing list