AW: [mapguide-users] creating points at runtime / display problem/.NET

Dave Wilson dave.wilson at autodesk.com
Wed Jun 6 12:07:24 EDT 2007


When creating your SDF did you specify one of the columns as an identity
property? It's required to preview properly.

 

Dave

 

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of
G.E.O.-Consulting / Hans Morschell
Sent: Wednesday, June 06, 2007 9:31 AM
To: 'MapGuide Users Mail List'
Subject: AW: AW: [mapguide-users] creating points at runtime / display
problem/.NET

 

Hallo,

 

my problem is still the same: I can create a feature source, a layer and
add the layer to the map during the session, add a point, the map is
reacting to the maxscale for example, that means the XML file is ok,
everything is shown in the legend, but in the map display the point is
not shown ! The only thing I noticed is: in the access.log of the
mapguide server there is a line like this:

 

MgOpGetIdentityProperties.1.0.0:3(MgResourceIdentifier,Default,startmark
er) Failure

 

where startmarker is my feature source. All other lines finish with
success.

 

Does that mean anything ?

 

Thanks, Hans

 

  _____  

Von: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] Im Auftrag von Kenneth,
GEOGRAF A/S
Gesendet: Dienstag, 5. Juni 2007 22:07
An: MapGuide Users Mail List
Betreff: Re: AW: [mapguide-users] creating points at runtime / display
problem/.NET

 

Nope sorry.
If you can save the featuresource and the point still does not show, I
don't know.

Perhaps the point is themed or filtered?

Can you post the troublesome SDF (or other file)?



Regards, Kenneth, GEOGRAF A/S
 



G.E.O.-Consulting / Hans Morschell wrote: 

Hi,

 

yes I am sure the point is within current map, I can read the point from
featuresource, the coordinates are correct

yes I am sure the projection is correct I have read the projection of
the map and compared it

 

even if I save the point to an existing featuresource / layer the point
is not drawn

 

somewhat curious, do you have any other idea ?

 

thanks, Hans

 

  _____  

Von: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] Im Auftrag von Kenneth,
GEOGRAF A/S
Gesendet: Dienstag, 5. Juni 2007 17:27
An: MapGuide Users Mail List
Betreff: Re: [mapguide-users] creating points at runtime / display
problem/ .NET

 

Are you sure that the new point is actually visible within the current
map?
Are you sure the FeatureSource projection is correct?
Can you get the point to display, if you save the FeatureSource and open
it with Studio?

Someone complained about not being able to use feature sources from the
session repository, is this the case?




Regards, Kenneth, GEOGRAF A/S



G.E.O.-Consulting / Hans Morschell wrote: 

Hello,

 

I am having a problem with displaying points that I have created during
runtime. I can create the featuresource, create the layer using a XML
file, add the layer to the map and after that I add a point to the empty
layer, set the layer visible and force to refresh, and finally save the
map; I have controlled the steps of my source according to the examples
in the dotnetviewer sample application (findaddress.aspx etc.).

Nevertheless the point is not shown in map display after a map refresh,
but in the legend the new layer is visible, the style is shown
correctly, I can read the point in source code using a feature reader
and I do not have any error messages.

 

Has anybody some ideas what I am doing wrong, am I missing something ? 

 

My configuration: MgOS 1.2 Beta 2, .Net environment, source in VB

 

kind regards, Hans

 

 
 
 
 
 



  _____  



 
 
 
 
 
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  
 
 
 



  _____  



 
 
 
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070606/1fef9ff7/attachment.html


More information about the mapguide-users mailing list