[mapguide-users] LINESTRING XYZ geometries fun

2018-07-02 Thread Alen
As SQLite and sdf files can have LINESTRING XYZ geometries it is tempting to
try to show them in Cesium.js.
So I changed line 229 in czmlwriter.php:
$str .= $coord->GetX().",".$coord->GetY().",".$zval;
to
$str .= $coord->GetX().",".$coord->GetY().",".$coord->GetZ();
This way one can make mapguide-rest to provide czml for 3D polylines, not
only for extruded polygons.


 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Moving to MGOS from AIMS

2018-01-12 Thread Alen Kelemen
I just want to say thanks to Jackie for his excellent work.

 

Alen Kelemen

url:  http://  <http://www.edc.hr> www.edc.hr

mailto:  <mailto:alen.kele...@edc.hr> alen.kele...@edc.hr

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MG REST GET Features for datetime fields

2016-10-04 Thread Alen
Yes line 153 returns string in FDO format, ( "TIMESTAMP '-mm-dd
hh:mm:ss.sss'" ) so one can just remove "TIMESTAMP " from the beginning of
the string and everything after "." if needed. 
Anyway i posted an issue on that matter:
https://github.com/jumpinjackie/mapguide-rest/issues/142




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MG-REST-GET-Features-for-datetime-fields-tp5285762p5289290.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] MG REST GET Features for datetime fields

2016-09-14 Thread Alen
Using MG REST requests,
when I use GET feature (http://xxx.FeatureSource/features.geojson/xxx/xxx)
for features with TIMESTAMP data it returns json with date string: 
"TIMESTAMP '2016-08-20 22:34:52'"
But when I update feature data with POST I need to have timestamp string
formatted like that: "2016-08-20 22:34:52
 I think it would be more consistent if GET features returns the same string
form ("2016-08-20 22:34:52") as string format needed for POST requests.
(Or is it by design?)

Also I noticed that GET feature request returns some fractions of the second
from date fields which are not written in the feature source timestamp
values, like that:
"TIMESTAMP '2000-01-01 20:34:02.04601'" while real value is "TIMESTAMP
'2000-01-01 20:34:02'" so fractions of the second comes from nowhere ?




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MG-REST-GET-Features-for-datetime-fields-tp5285762.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Could not load file or assembly 'NetTopologySuite on validating map definition

2016-04-03 Thread Alen
Hi, the procedure is:

1. download http://download.osgeo.org/mapguide/maestro/MaestroSDK_6.0m4.zip
2. unzip the file to get Maestro SDK folder with files
3. from Maestro SDK folder copy file: NetTopologySuite.dll
4. Paste this file to MapGuide Maestro folder (C:\Program Files
(x86)\OSGeo\MapGuide Maestro 6.0m4\)




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Could-not-load-file-or-assembly-NetTopologySuite-on-validating-map-definition-tp5258537p5259409.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Could not load file or assembly 'NetTopologySuite on validating map definition

2016-03-31 Thread Alen
Thanks Jackie !



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Could-not-load-file-or-assembly-NetTopologySuite-on-validating-map-definition-tp5258537p5258943.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Could not load file or assembly 'NetTopologySuite on validating map definition

2016-03-27 Thread Alen
MapGuide 3.0 when validating map definition the following error occurs:

Validating resource:
Session:3cae4116-f45f-11e5-8000-685d436c0bfb_en_MTI3LjAuMC4x0AFC0AFB0AFA//1d05daf3-3228-440c-a171-cc0119d25da0.MapDefinition
Error - Error_MapDefinition_ResourceRead: Library:.FeatureSource
could not be processed for spatial info: 
Could not load file or assembly 'NetTopologySuite, Version=1.13.3.0,
Culture=neutral, PublicKeyToken=f580a05016ebada1' or one of its
dependencies. The system cannot find the file specified.

Do i need to add NetTopologySuite ?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Could-not-load-file-or-assembly-NetTopologySuite-on-validating-map-definition-tp5258537.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Windows 10

2016-03-22 Thread Alen
I have the same problem (building a virtual mapguide folder) with:
windows 10 pro, ver 1511, 64 bit
installing Mapguide 3.0 for IIS
Fast CGI and IIS6 have been set up.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Windows-10-tp5221424p5257812.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Mapguide-rest QueryMapFeatures parameters LAYERATTRIBUTEFILTER and FEATUREFILTER

2014-11-10 Thread Alen
When I add LAYERATTRIBUTEFILTER and FEATUREFILTER parametersin
rest/sampleapps/selection sample, they do not have any effect on query
result. Otherwise the sample works OK.
I suppose those values can be set as so:
LAYERATTRIBUTEFILTER: 4,
FEATUREFILTER: ?xml version='1.0' encoding='UTF-8'?FeatureSet 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=FeatureSet-1.0.0.xsdLayer
id=bc37592a-68f3-11e4-8000-685d436c0bfbClass
id=SHP_Schema:ParcelsIDVSEAAA==/ID/Class/Layer/FeatureSet,

These request should select only layers that have a tooltip defined (which
are inside area defined by geometry param) plus feature in Parcels class
with IDVSEAAA==/ID as defined in feature set ( I understand 
FEATUREFILTER is a way for adding features to previous selection set).

Does anybody had some success adding these parameters to
rest/sampleapps/selection sample or they are not suppose to work in
mapguide-rest ?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-rest-QueryMapFeatures-parameters-LAYERATTRIBUTEFILTER-and-FEATUREFILTER-tp5172263.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Authentifcation dialog shows on mapguide-rest request

2014-08-16 Thread Alen
In 0.9  URL 
http://localhost/mapguide/rest/library/Samples/Sheboygan/Data/Parcels.FeatureSource/features/SHP_Schema/Parcels?maxfeatures=1000

throws error:

Slim Application Error
The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: Cannot modify header information - headers already sent by (output
started at C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php:87)
File: C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php
Line: 94
Trace

#0 [internal function]: Slim\Slim::handleErrors(2, 'Cannot modify h...',
'C:\Program File...', 94, Array)
#1 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php(94):
header('Content-Type: t...')
#2 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php(171):
MgHttpChunkWriter-StartChunking()
#3 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php(270):
MgReaderChunkedResult-OutputXml(Object(mgfeatureschemacollection))
#4 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\controller\featureservicecontroller.php(801):
MgReaderChunkedResult-Output('xml')
#5 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\routes\routes.library.php(506):
MgFeatureServiceController-SelectFeatures(Object(mgresourceidentifier),
'SHP_Schema', 'Parcels', 'xml')
#6 [internal function]: {closure}(Array, 'SHP_Schema', 'Parcels')
#7 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Route.php(462):
call_user_func_array(Object(Closure), Array)
#8 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Slim.php(1326):
Slim\Route-dispatch()
#9 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Middleware\Flash.php(85):
Slim\Slim-call()
#10 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Middleware\MethodOverride.php(92):
Slim\Middleware\Flash-call()
#11 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67):
Slim\Middleware\MethodOverride-call()
#12 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Slim.php(1271):
Slim\Middleware\PrettyExceptions-call()
#13 C:\Program Files (x86)\OSGeo\MapGuide\Web\www\rest\index.php(133):
Slim\Slim-run()
#14 {main}



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Authentifcation-dialog-shows-on-mapguide-rest-request-tp5156442p5156687.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Authentifcation dialog shows on mapguide-rest request

2014-08-16 Thread Alen
I am running MapGuide 2.5.0. x86, IIS 7.5, on Windows 7.

Jackie, I tested rest sampleapps, all of them are responding fine, excellent
work!

There is a small bug in the file \rest\conf\data\districts\restcfg.json, the
line:
FeatureClass: Default:VotingDistricts should be:
FeatureClass: SDF_2_Schema:VotingDistricts.

Also when I run basic /rest/index.php it returns:
PHP Notice:  Undefined index: UNENCODED_URL in C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\index.php on line 30.

Regards, Alen Kelemen



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Authentifcation-dialog-shows-on-mapguide-rest-request-tp5156442p5156743.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Authentifcation dialog shows on mapguide-rest request

2014-08-14 Thread Alen
How to avoid authentifcation dialog when requesting:
http://localhost/mapguide/rest/library/Samples/Sheboygan/Data/Parcels.FeatureSource/features/SHP_Schema/Parcels?maxfeatures=1000
?
In mapagent request it is possible to add username parameter, like so:
http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=SELECTFEATURESVERSION=1.0.0LOCALE=enCLIENTAGENT=MapGuide+DeveloperRESOURCEID=Library%3A%2F%2FSamples%2FSheboygan%2FData%2FParcels.FeatureSourceCLASSNAME=ParcelsPROPERTIES=COMPUTED_ALIASES=COMPUTED_PROPERTIES=FILTER=FORMAT=application%2Fjsonusername=Anonymous,
but it has no effect in rest. 
I tried rest ver. 0.7 and 0.9. 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Authentifcation-dialog-shows-on-mapguide-rest-request-tp5156442.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Problem with loading MapguideDotNetAPI in VWD

2011-10-16 Thread Alen
Does anyone have problem with %@ Import Namespace=OSGeo.MapGuide %
in Visual Web Developer ?
It raises an error saying: *ASP.NET Runtime error:Could not load file or
assembly 'MapguideDotNetApi' or one of its dependences. An attempt was made
to load a program with incorrect format.*
I was previously working with Autodesk Mapguide Server 2011 and same code
was working ok.
http://osgeo-org.1803224.n2.nabble.com/file/n6898470/MGOS_VisualWebDeveloper_err.png
 

-
Alen
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Problem-with-loading-MapguideDotNetAPI-in-VWD-tp6898470p6898470.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] FDO toobox error + some general frustration

2011-10-08 Thread Alen
In FDO toolbox when working with constraint list (SDF) it is not possible to
update features. Feature data listed in the combo box have  single quote (')
symbols added, which causes error.

Nevertheless, Autodesk should consult Jackie when creating new AutoCAD MAP
release. With FDO toolbox one can edit feature properties in no time. With
AutoCAD MAP I have to wait 1 hour for editing one property of 4000 features.
For a GIS software, really odd...

http://osgeo-org.1803224.n2.nabble.com/file/n6872045/vodovodGradaVukovara_UpdatingFeaturesErr.png
 

-
Alen
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/FDO-toobox-error-some-general-frustration-tp6872045p6872045.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Quick plot in basic layout?

2011-10-06 Thread Alen
Is it possible to implement quick plot in basic layout like in Autodesk
Infrastructure Studio?

-
Alen
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Quick-plot-in-basic-layout-tp6865988p6865988.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Maestro validation results

2011-09-28 Thread Alen Kelemen
In Mapguide Maestro 3.5 when validating layers i get the folowing results:




Validating resource:
Library://ivbBuzet/Layers/istra_toponimi.LayerDefinition

Error - OSGeo.MapGuide.ObjectModels.LayerDefinition_1_3_0.LayerDefinition:
Library://ivbBuzet/Data/istra_toponimi.FeatureSource could not be processed
for spatial info: 

Expected 'EMPTY' or '(' but encountered 'XYZ'

 

Layers are from SDF sources which are generated with autocad Map 2012. When
validating data sources there are no validating error on them.

In spite of errors reported project works OK. But what does this report
means?

Alen Kelemen, dipl. ing. stroj.

EDC d.o.o.

Antuna Štrbana 18

1 Zagreb

GSM:  +385 98 391930

Tel: +385 1 6539717

Fax: +385 1 6539716

url:  http://  http://www.edc.hr www.edc.hr

mailto:  mailto:alen.kele...@edc.hr alen.kele...@edc.hr

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Set or return to initial legend layer state

2011-09-28 Thread Alen
Any suggestions how to realize a return to initial - defoult layer state
button like it was in MapGuide 6.5 a long time ago?

-
Alen
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Set-or-return-to-initial-legend-layer-state-tp6839603p6839603.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] How to order unordered autogenerated Id's ?

2011-06-08 Thread Alen
Autogenerated Id's (FeatId) becomes unordered after deleting features. If you
want them get ordered again it can be done only with Bulk Copy in Autodesk
Map. Maybe it woluld be a nice feature in Maestro? 

-
Alen
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-order-unordered-autogenerated-Id-s-tp6453241p6453241.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users