[mapguide-internals] Individual Contributor License Agreement
andSpanish Localization
Jorge Rubio
j.e.rubio at gmail.com
Tue Mar 20 11:20:06 EDT 2007
It's perferct. It gives me an exactly idea what the error or exception
means.
2007/3/20, Tom Fukushima <tom.fukushima at autodesk.com>:
>
> Hi Jorge,
>
> I won't be able to get anyone to look at it this week; however, someone
> may be able to start on it next week.
>
> What they will be doing is a search through the code for occurrences of
> the Exception or ErrorDescription name and looking at the method that it
> occurs in. For example, I just did a search on
> "MgCoordinateSystemMeasureFailedException" and found that it could be
> raised from the following methods:
>
> ////////////////////////////////////////////////////////////////////////
> ///
> ///<summary>
> /// Measures the euclidian distance between two coordinates.
> ///</summary>
> ///<param name="coord1">
> /// An MgCoordinate that defines the starting coordinate.
> ///</param>
> ///<param name="coord2">
> /// An MgCoordinate that defines the ending coordinate.
> ///</param>
> ///<returns>
> /// The euclidean distance from coord1 to coord2 in coordinate system
> units.
> ///</returns>
> double MgCoordinateSystem::MeasureEuclideanDistance(MgCoordinate*
> coord1, MgCoordinate* coord2)
>
>
> ////////////////////////////////////////////////////////////////////////
> ///
> ///<summary>
> /// Measures the distance between two coordinates.
> /// This function uses the coordinate systems ellipsoid
> /// definition and a great circle algorithm to produce the result.
> ///</summary>
> ///<param name="coord1">
> /// An MgCoordinate that defines the starting coordinate.
> ///</param>
> ///<param name="coord2">
> /// An MgCoordinate that defines the ending coordinate.
> ///</param>
> ///<returns>
> /// The great circle distance from coord1 to coord2 in coordinate system
> units.
> ///</returns>
> double MgCoordinateSystem::MeasureGreatCircleDistance(MgCoordinate*
> coord1, MgCoordinate* coord2)
>
>
> ////////////////////////////////////////////////////////////////////////
> ///
> ///<summary>
> /// Computes the distance between two coordinates.
> ///</summary>
> ///<param name="coord1">
> /// An MgCoordinate that specifies the first coordinate.
> ///</param>
> ///<param name="coord2">
> /// An MgCoordinate that specifies the second coordinate.
> ///</param>
> ///<returns>
> /// The distance between coord1 and coord2 as a double in coordinate
> system units.
> ///</returns>
> double MgCoordinateSystemMeasure::GetDistance(MgCoordinate* coord1,
> MgCoordinate* coord2)
>
>
>
> Is the above what you are looking for?
>
> Thanks
> Tom
>
>
> -----Original Message-----
> From: mapguide-internals-bounces at lists.osgeo.org
> [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jorge
> Rubio
> Sent: Monday, March 19, 2007 1:21 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] Individual Contributor License Agreement
> andSpanish Localization
>
> Hi friends
>
> I sent a signed Individual Contributor License Agreement by fax as was
> suggested when I sent the first e-mail offering spanish localization.
>
> In order to do an accurate translation to spanish I need more info about
> what the following exceptions and error description mean and when they
> are achieved.
>
> When I finish translation, files will uploaded following Tom
> instructions.
>
> [Exceptions]
> MgCoordinateSystemMeasureFailedException = The coordinate
> system measure failed.
> MgDwfSectionNotFoundException = The specified
> section was not found: %1
> MgDwfSectionResourceNotFoundException = The specified
> section resource was not found: %1
> MgEmptyFeatureSetException = The feature set
> is
> empty.
> MgEndOfStreamException = End of stream
> exception.
> MgFeatureServiceException = Feature Service
> exception - %1
> MgInvalidCastException = Invalid cast.
> MgInvalidDwfSectionException = Invalid DWF
> section:
> %1
> MgInvalidFeatureSourceException = Feature Source -
> %1
> MgInvalidLogEntryException = An invalid log
> entry
> was found.
> MgInvalidOperationVersionException = The requested
> operation version is invalid.
> MgInvalidResourcePreProcessingTypeException = Invalid resource
> pre-processing type.
> MgInvalidStreamHeaderException = Invalid stream
> header exception.
> MgLengthException = A length
> exception
> occurred.
> MgLogicException = # Logic
> exception.
> MgStreamIoException = A stream IO
> exception occurred.
>
> [ErrorDescription]
> MgContentDocumentNotEmpty = The content
> document
> is not empty.
> MgContentNotNull = The content is
> not
> null.
> MgCoordinateDimensionDifferent = The coordinate
> dimensions are different.
> MgDataReaderIdNotFound = The data reader
> ID
> was not found.
> MgDocumentIdentifierFilenameFailed = Failed to get
> the
> filename from the document identifier because no matching document path
> found.
> MgFeatureReaderIdNotFound = The feature
> reader
> ID was not found.
> MgGroupAndRoleNotEmpty = Both the group
> and
> role are not empty.
> MgHeaderDocumentNotEmpty = The header
> document
> is not empty.
> MgInvalidAgfText = The AGF text is
> invalid because it failed to parse into a valid geometry object.
> MgInvalidFeatureSpatialOperation = The feature
> spatial
> operation is invalid because it is not recognized.
> MgInvalidLogType = The log type is
> invalid because it is not recognized.
> MgInvalidMapPlotCollectionMapPlotInstruction = The map plot is
> invalid because it contains an unrecognized map plot instruction.
> MgInvalidNode = The node is
> invalid
> because it is not an element node or a document node.
> MgInvalidWebTargetType = The web target
> type
> is invalid because it is not recognized.
> MgInvalidWebTargetViewerType = The web target
> viewer type is invalid because it is not recognized.
> MgInvalidWebWidgetType = The web widget
> type
> is invalid because it is not recognized.
> [FeatureService]
> MgInvalidFdoProvider = Invalid Feature
> Provider specified.
> MgBatchInsertNotSupported = Provider does
> not
> support batch insert. Only one Feature instance is allowed.
> MgNoFeaturesForInsert = No Features for
> Insert supplied
>
>
> --
> Lic. Jorge Rubio
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
--
Lic. Jorge Rubio
More information about the mapguide-internals
mailing list