[mapguide-users] Cannot Create Layers From Feature Sources
gom
gord.mckenzie at canam.com
Thu Sep 27 08:11:03 PDT 2012
Further to my difficultiess with unmanged data sources in 2.4, I wonder if
the following images help. As you can see the schema name is different in
the two previews of the same data source. If I do this comparison on the
same datasource under 2.2 the names match. This suggests to me an issue or
possible answer as to why I cannot create layers from these datasources? I
have no idea why the difference exists but it happens to anything I import
from a package or anything new I create.
Schema Name of data source as shown in Maestro using the Preview function on
the Toolbar. This is the correct or expected name.
<http://osgeo-org.1560.n6.nabble.com/file/n5004980/schema1.png>
Schema Name of data source as shown in Maestro using the Local Preview
function
<http://osgeo-org.1560.n6.nabble.com/file/n5004980/schema2.png>
Cannot Create Layers From Feature Sources
Sep 20, 2012; 3:43pm— by gom
I have a number of unmanaged SDF files in a folder. (2 point sdf files, 3
polyline (curve) sdf files) I have them authored/working nicely on an active
Mapguide 2.2 server 32 bit version on IIS. I exported them as a package and
imported them to my development workstation. Windows 7 Professional,
Mapguide 2.4 RC1. I have another test server Windows 2008 IIS with 2.4 RC2
64 bit where I did the same.
The data files are available for authoring in the Mapguide Studio/Maestro
programs. I can create data sources and use the preview functions on the
programs to view the schema, attributes etc with no trouble. I see a valid
geometry property. In addition I can preview the features and see the
objects drawn as expected. Permissions seem to be consistent across the
three machines.
All the layers for 4 data sources are broken. When I go to modify a layer,
and select one of the 4 data sources, I get an errors. When I try to create
a new layer I get the same errors. Re-creating the data sources makes no
difference. (One of the polyline data sources is still working as
expected). I edited and saved each file in AutoCAD map to ensure I could
read/write them successfully.
In Maestro 4.0.2 it says “Feature Source (xxx) has no usable feature
classes. Choose a different feature source.”, then it says “The Resource ID
could not be found.”
In Mapguide Studio 2010 and 2011 it says “Object reference not set to an
instance of an object.” The layer dialog shows the selected FeatureSource
name and the expected schema in the dropdown list but Geometry drop down has
no options.
I have tried every variation of new feature sources and layers but no luck.
Is there something I am missing? Can anyone suggest some different tests or
approaches I can take to sorting this out?
I have a number of unmanaged SDF files in a folder. (2 point sdf files, 3
polyline (curve) sdf files) I have them authored/working nicely on an active
Mapguide 2.2 server 32 bit version on IIS. I exported them as a package and
imported them to my development workstation. Windows 7 Professional,
Mapguide 2.4 RC1. I have another test server Windows 2008 IIS with 2.4 RC2
64 bit where I did the same.
The data files are available for authoring in the Mapguide Studio/Maestro
programs. I can create data sources and use the preview functions on the
programs to view the schema, attributes etc with no trouble. I see a valid
geometry property. In addition I can preview the features and see the
objects drawn as expected. Permissions seem to be consistent across the
three machines.
All the layers for 4 data sources are broken. When I go to modify a layer,
and select one of the 4 data sources, I get an errors. When I try to create
a new layer I get the same errors. Re-creating the data sources makes no
difference. (One of the polyline data sources is still working as
expected). I edited and saved each file in AutoCAD map to ensure I could
read/write them successfully.
In Maestro 4.0.2 it says "Feature Source (xxx) has no usable feature
classes. Choose a different feature source.", then it says "The Resource ID
could not be found."
In Mapguide Studio 2010 and 2011 it says "Object reference not set to an
instance of an object." The layer dialog shows the selected FeatureSource
name and the expected schema in the dropdown list but Geometry drop down has
no options.
I have tried every variation of new feature sources and layers but no luck.
Is there something I am missing? Can anyone suggest some different tests or
approaches I can take to sorting this out?
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Cannot-Create-Layers-From-Feature-Sources-tp5003380p5004980.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list