[mapguide-users] Re: features in oracle not selectable

2010-02-02 Thread padmini godavarthi

Hi,

just check the following this .

1) Is spatial index wa properly created to the gis data table in oracle
spatial...

2)is atleast one primary key should be in  your oracle table


Regards,
padmini G.
-- 
View this message in context: 
http://n2.nabble.com/features-in-oracle-not-selectable-tp4483082p4505679.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] Re: Configuration Error in MapviewerNet in MGOS 2.1

2010-02-02 Thread padmini godavarthi


  Hi kenneth,
Thanks for your reply.i have passed the input parameters to the
ajaxviewer.aspx .but is shows the result as


invalid repository type
invalid repository type

in browser .  just see my code


Public sessionId As String
Public webLayout As String
Dim resrce As ResourceIdentifier
Public layout As WebLayout

Dim realPath As String = Request.ServerVariables("APPL_PHYSICAL_PATH")
Dim configPath As String = realPath + "webconfig.ini"
MapGuideApi.MgInitializeWebTier(configPath)
Dim userinfo As MgUserInformation = New
MgUserInformation("Administrator", "admin")
'Dim mgsiteconn As MgSiteConnection = New MgSiteConnection()
Dim site As MgSite = New MgSite()
site.Open(userinfo)
sessionId = site.CreateSession()
Dim host As Uri = New
Uri("http://localhost/mapguide/mapagent/mapagent.fcgi";)
Dim conn As HttpServerConnection = New HttpServerConnection(host,
"Administrator", "admin", "en", True)
layout = conn.GetWebLayout("Library://sample/Layout.WebLayout")
resrce = New ResourceIdentifier("sample", ResourceTypes.WebLayout,
sessionId)
conn.SaveResourceAs(layout, resrce)
HttpContext.Current.Session("sid") = sessionId
HttpContext.Current.Session("layout") = resrce


and in source file(default.aspx)



 


 
   
 


   
is any thing wrong in my code??

Regards,
Padmini G.
-- 
View this message in context: 
http://n2.nabble.com/Configuration-Error-in-MapviewerNet-in-MGOS-2-1-tp4499038p4505422.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] Re: problem when using same code for MapGuideEnterprise2009 with MapGuideEnterprise2010

2010-02-02 Thread ehsan

Hi,

This is my php code :
/*Query the value */
$opts = new MgFeatureQueryOptions();
$opts->SetFilter("(NO_LOT ='".$searchValue."') AND
(KOD_DAERAH='".$daerah."') AND (NAMA_MUKIM='".$mukim."')");//set the query
filter
$featureClassName = $layer->GetFeatureClassName();
$srcId = new MgResourceIdentifier($layer->GetFeatureSourceId());
$features = $featureSrvc->SelectFeatures($srcId, $featureClassName, $opts);
$hasResult = $features->ReadNext();

/* Set Selection to the map  */
$featureClassName = $layer->GetFeatureClassName();
$srcId = new MgResourceIdentifier($layer->GetFeatureSourceId());
$features2 = $featureSrvc->SelectFeatures($srcId, $featureClassName, $opts);
$selection = new MgSelection($map);
$selection->AddFeatures($layer, $features2, 0);
$selectionXml = $selection->ToXml();

this is javascript function onPageLoad.
function OnPageLoad()
{
selectionXml = '';
parent.parent.SetSelectionXML(selectionXml);//set selection..
parent.parent.ExecuteMapAction(10);//zoom to selection..
}

this code i create to search for NOLOT,Select the area and zoom to
selection.

Thanks
-- 
View this message in context: 
http://n2.nabble.com/problem-when-using-same-code-for-MapGuideEnterprise2009-with-MapGuideEnterprise2010-tp4492918p4505379.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] RE: Problem with map only half showing.

2010-02-02 Thread Crispin_at_1Spatial

Yes - FDO compiles against a particular version.  You need to stick to a v1.4
build.

Try unzipping "gdalwin32exe144.zip" from here:
http://download.osgeo.org/gdal/win32/1.4.4/

-- 
View this message in context: 
http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4502698.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] Zoom To selection

2010-02-02 Thread andrea tiveron (e-metodi)
I have the same problem
I work with SDF
my code below is perfect to update a feature (it's a polygon)
my problem is when I select a feature and after update the feature on the
same map when I make a selection
the UpdateFeatures command work a lot of time, no error return, but the
value is not update

please help me
andrea


Dim realPath As String =
Request.ServerVariables("APPL_PHYSICAL_PATH")
Dim configPath As String = realPath + "webconfig.ini"
MapGuideApi.MgInitializeWebTier(configPath)
Dim userInfo As New MgUserInformation("Markup", "Markup")
Dim site As New MgSite()
site.Open(userInfo)
Dim sessionId As String = site.CreateSession()
Dim userInfoNew As MgUserInformation = New
MgUserInformation(sessionId)
Dim siteConnection As New MgSiteConnection()
siteConnection.Open(userInfoNew)
Dim resourceService As MgResourceService =
siteConnection.CreateService(MgServiceType.ResourceService)
Dim featureService As MgFeatureService =
siteConnection.CreateService(MgServiceType.FeatureService)
Dim dataSource As String = "Library://e-facility/SUAA/" +
namePlan + "/Markup/Data/" + nameLayer + ".FeatureSource"
Dim featureSourceId As MgResourceIdentifier = New
MgResourceIdentifier(dataSource)
Dim featureSourceExists As Boolean =
DoesResourceExist(featureSourceId, resourceService)
If featureSourceExists = False Then
Response.Write("Attenzione!Non trovato!" &
vbCrLf)
Response.Write("" & vbCrLf)
Response.Write("parent.functionTestConferma(false);" &
vbCrLf)
Response.Write("" & vbCrLf)
End If

Dim className As String = "ambienti"
Dim filterText As String = "Key = '" + Trim(CStr(IDSpazio)) +
"'"
Dim queryOption As MgFeatureQueryOptions = New
MgFeatureQueryOptions()
queryOption.SetFilter(filterText)
Dim propertyValues As MgPropertyCollection = New
MgPropertyCollection()
propertyValues.Add(New MgStringProperty("Name", DesSpazio))
Dim updateFeatures As MgUpdateFeatures = New
MgUpdateFeatures(className, propertyValues, "Key = '" + Trim(CStr(IDSpazio))
+ "'")
Dim commands As New MgFeatureCommandCollection()
commands.Add(updateFeatures)
featureService.UpdateFeatures(featureSourceId, commands, False)


-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mbonnet
Sent: martedì 24 aprile 2007 17.15
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Zoom To selection


hi, did you solved this problem because i have the same one

Farah-2 wrote:
> 
>  
> 
>  
> 
> Hi Friends!
> 
>  
> 
> I had posted this problem some time ago. But I wasn't able to come up with
> any solution to this. Does anybody have any pointers regarding the below
> mentioned problem?
> 
>  
> 
> I am doing a search based on some condition and I am marking an existing
> layer with some markers. At the same time, I am adding these results to
> the
> map selection and I am zooming to the selected results using:
> 
> parent.parent.SetSelectionXML(selectionXml);
> 
> parent.parent.ExecuteMapAction(10);
> 
>  
> 
> This works fine, the first time I do it. But if I do a new search, then
> the
> program hangs at this line:
> 
> featureService.UpdateFeatures(parcelMarkerFeatureSourceId,
> parcelMarkerCommands, false).
> 
>  In fact, after a long time, it returns null. Is this an existing bug? Or
> is
> there some way to get around it?
> 
> I am attaching my code as well. If someone has any idea, please reply!
> 
>  
> 
> Regards
> 
> Farah
> 
> 
>  
> -
> To unsubscribe, e-mail: users-unsubscr...@mapguide.osgeo.org
> For additional commands, e-mail: users-h...@mapguide.osgeo.org
> 

-- 
View this message in context:
http://www.nabble.com/Zoom-To-selection-tf2408316s16610.html#a10163084
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 mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] how to get selected feature

2010-02-02 Thread andrea tiveron (e-metodi)
this is an example that I find 
I hope that this help you
andrea



<%@ Page Language="C#" ValidateRequest="false" %>

<%@ Import Namespace="OSGeo.MapGuide" %>


public String OutputSelectionInHTML(MgSelection selection,
MgFeatureService featureService)
{
MgReadOnlyLayerCollection layers = selection.GetLayers();
String outString = null;
MgFeatureReader featReader = null;

if (layers != null)
{
for (int i = 0; i < layers.GetCount(); i++)
{
MgLayer layer = (MgLayer)layers.GetItem(i);
if ((layer != null) && (layer.GetName() == "Parcels"))
{
String layerClassName = layer.GetFeatureClassName();
String selectString = selection.GenerateFilter(layer,
layerClassName);

String layerFeatureIdString =
layer.GetFeatureSourceId();
MgResourceIdentifier layerResId = new
MgResourceIdentifier(layerFeatureIdString);

MgFeatureQueryOptions queryOptions = new
MgFeatureQueryOptions();
queryOptions.SetFilter(selectString);
featReader = featureService.SelectFeatures(layerResId,
layerClassName, queryOptions);

outString = outString + "\n";

double acre = 0;

while (featReader.ReadNext())
{
outString = outString + "\n";

outString = outString + "\n";


outString = outString + "\n";

outString = outString + "\n";

}
outString = outString + "
"; outString = outString + featReader.GetString("RNAME"); outString = outString + ""; outString = outString + featReader.GetString("RPROPAD"); outString = outString + ""; String acreString = featReader.GetString("RACRE"); acre = acre + (acreString == "" ? 0 : Convert.ToDouble(acreString)); outString = outString + acreString; outString = outString + "
\n"; } } } return outString; } <% String sessionID = Request.Form.Get("SESSION"); string realPath = Request.ServerVariables["APPL_PHYSICAL_PATH"]; String configPath = realPath + "webconfig.ini"; MapGuideApi.MgInitializeWebTier(configPath); MgUserInformation userInfo = new MgUserInformation(sessionID); MgSiteConnection siteConnection = new MgSiteConnection(); siteConnection.Open(userInfo); String selString = Request.Form.Get("SELECTION"); String selection = HttpUtility.UrlDecode(selString); MgResourceService resService = (MgResourceService)siteConnection.CreateService(MgServiceType.ResourceServic e); MgFeatureService featService = (MgFeatureService)siteConnection.CreateService(MgServiceType.FeatureService) ; MgMap map = new MgMap(); map.Open(resService, "Sheboygan"); MgSelection mapSelection = new MgSelection(map, selection); %> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> List Selection <% if (mapSelection.GetLayers() != null) { Response.Write("\n"); Response.Write("The following parcels are selected on the map.\n"); Response.Write("\n"); Response.Write(OutputSelectionInHTML(mapSelection, featService)); } else { %> Please first make a selection on the map with a selection tool. <% } %> -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of prabhat30 Sent: lunedì 1 febbraio 2010 14.42 To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] how to get selected feature Hi , I am trying to get all the fields data of a selected feature ( any feature ). send me some sample codes to do so thanks in advance -- View this message in context: http://n2.nabble.com/how-to-get-selected-feature-tp4494406p4494406.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 -- This message was scanned by ESVA and is believed to be clean. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

RE: [mapguide-users] Problem zoomtoview in mapguide 2.1

2010-02-02 Thread Rico van Driel
Kenneth,

The "parseInt" remark did the trick.

In MS internet explorer the site is working. In Firefox not yet. Hopefully a 
real programmer at GISkit can look in the code for more detail later.

met vriendelijke groet,
GISkit  BV

Rico van Driel

Van: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] Namens Kenneth Skovhede, 
GEOGRAF A/S
Verzonden: dinsdag 2 februari 2010 13:12
Aan: mapguide-users@lists.osgeo.org
Onderwerp: Re: [mapguide-users] Problem zoomtoview in mapguide 2.1

If I open the page, and type "kerk" and press "zoek", I get a javascript error, 
"soort is not defined":


j=soort.length; //alert(j)
Try installing FireFox and Firebug to track the error.
(you need to define variables before using them).

Also, you split a string giving you an array of strings.
You then pass strings into the ZoomToView function.
Depending on how its processed, you will get really weird results, eg:

var xc = "5";
xc += 5;
alert(xc); //Shows "55", NOT "10"

Try using parseInt():

xc = parseInt(ar[0]);
yc = parseInt(ar[1]);


This mat have worked in previous versions, as they only used x/y to send to the 
server,
and then parsed the results.


Regards, Kenneth Skovhede, GEOGRAF A/S
On 02-02-2010 12:09, Rico van Driel wrote:
Hi List,

I have an search adres application that uses the ZoomToView function as 
mentioned below. In previous MGOS versions this function works fine. In MGOS 
2.1 this function works also but after execution the standard functions from 
mapguide does work anymore. For example if you pan the map you will see a 
response from mapguide but the map will be blank.

function showAdres(value)
{
// alert(window.top.ViewerFrame.mapFrame.name);

 ar = value.split("-");
 xc = ar[0];
 yc = ar[1];

//  alert(xc);
 window.top.ViewerFrame.mapFrame.ZoomToView(xc,yc,500,true);
}

See for example http: http://213.154.241.184/sites/lochem/index2.php (type 
'kerk' and press "zoek" button, select address from list. After zooming select 
for example the pan function and see what happens)

After zooming to a address. The image shown is correct. But if I look to the X, 
Y cooridinates shown left below, they are not correct.

On nable I can only find this post:
http://n2.nabble.com/Couple-of-potential-bugs-in-MapGuide-2-1-API-AjaxViewer-td2610344.html#a2610344

I tried adding the numberValue = numberValue - 0; line to the mainframe.templ 
file but this does not seem to work.


Annyone other suggestions?
met vriendelijke groet,
GISkit  BV

Rico van Driel
GISkit BV
Postbus 489
3990 GG Houten

De Molen 15
3994 DA Houten


Tel: 030-6340430
Fax:030-6342433

email: i...@giskit.nl
www: http://www.giskit.nl


Op al onze aanbiedingen en overeenkomsten zijn de algemene voorwaarden van 
FENIT, gedeponeerd ter Griffie van de Arrondissementsrechtbank te Den Haag op 3 
juni 2003 onder nummer 60/2003 van toepassing. Een exemplaar zenden wij u 
desgewenst kosteloos toe.http://www.giskit.nl/>






___

mapguide-users mailing list

mapguide-users@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapguide-users


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


Re: [mapguide-users] Problem zoomtoview in mapguide 2.1

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S
If I open the page, and type "kerk" and press "zoek", I get a javascript 
error, "soort is not defined":


j=soort.length; //alert(j)

Try installing FireFox and Firebug to track the error.
(you need to define variables before using them).

Also, you split a string giving you an array of strings.
You then pass strings into the ZoomToView function.
Depending on how its processed, you will get really weird results, eg:

var xc = "5";
xc += 5;
alert(xc); //Shows "55", NOT "10"

Try using parseInt():

xc = parseInt(ar[0]);
yc = parseInt(ar[1]);


This mat have worked in previous versions, as they only used x/y to send 
to the server,

and then parsed the results.

Regards, Kenneth Skovhede, GEOGRAF A/S

On 02-02-2010 12:09, Rico van Driel wrote:


Hi List,

I have an search adres application that uses the ZoomToView function 
as mentioned below. In previous MGOS versions this function works 
fine. In MGOS 2.1 this function works also but after execution the 
standard functions from mapguide does work anymore. For example if you 
pan the map you will see a response from mapguide but the map will be 
blank.


function showAdres(value)

{

// alert(window.top.ViewerFrame.mapFrame.name);

 ar = value.split("-");

 xc = ar[0];

 yc = ar[1];

//  alert(xc);

 window.top.ViewerFrame.mapFrame.ZoomToView(xc,yc,500,true);

}

See for example http: http://213.154.241.184/sites/lochem/index2.php 
(type 'kerk' and press "zoek" button, select address from list. After 
zooming select for example the pan function and see what happens)


After zooming to a address. The image shown is correct. But if I look 
to the X, Y cooridinates shown left below, they are not correct.


On nable I can only find this post:

http://n2.nabble.com/Couple-of-potential-bugs-in-MapGuide-2-1-API-AjaxViewer-td2610344.html#a2610344

I tried adding the numberValue = numberValue - 0; line to the 
mainframe.templ file but this does not seem to work.


Annyone other suggestions?

met vriendelijke groet,

GIS/^kit /^ BV

Rico van Driel

GIS^kit BV
Postbus 489
3990 GG Houten

De Molen 15
3994 DA Houten




Tel: 030-6340430
Fax:030-6342433

email: _i...@giskit.nl _
www: _http://www.giskit.nl __ _


Op al onze aanbiedingen en overeenkomsten zijn de algemene voorwaarden 
van FENIT, gedeponeerd ter Griffie van de Arrondissementsrechtbank te 
Den Haag op 3 juni 2003 onder nummer 60/2003 van toepassing. Een 
exemplaar zenden wij u desgewenst kosteloos toe. 
http://www.giskit.nl/>



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


[mapguide-users] Re: "Failed to read schema..." error with GDAL

2010-02-02 Thread magnoliazz

Hi Kenneth,

I'm using the latest release of Maestro and I'm having the same problem. I
get the same erro message, no log entries, no last exception to view, and
when I add the raster layer I get  a blank map. Is there a way to avoid this
problem, any file format that would make it easier to use raster? 
-- 
View this message in context: 
http://n2.nabble.com/Failed-to-read-schema-error-with-GDAL-tp4164488p4500381.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] Re: "Failed to read schema..." error with GDAL

2010-02-02 Thread magnoliazz

Hi Kenneth,

I'm using the latest release of Maestro and I'm having the same problem. I
get the same erro message, no log entries, no last exception to view, and
when I add the raster layer I get  a blank map. 
-- 
View this message in context: 
http://n2.nabble.com/Failed-to-read-schema-error-with-GDAL-tp4164488p4500378.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] Re: Configuration Error in MapviewerNet in MGOS 2.1

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S
You cannot open ajaxviewer.aspx directly, it needs some parameters as 
input, eg. a WEBLAYOUT=


Regards, Kenneth Skovhede, GEOGRAF A/S

On 02-02-2010 11:49, padmini godavarthi wrote:

Hi kenneth,
  Thanks for ur reply.while browsing mapviewernet from iis a list of aspx
files are diplayed.
while clicking on ajaxviewer.aspx a got a following error that

  Error in base64DecodeInvalid length for a Base-64 char array.

what is this error actually?what i have to do for the solution?


Regards,
Padmini G.
   

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


Re: [mapguide-users] Re: Configuration Error in MapviewerNet in MGOS 2.1

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S

There is a big button labeled "Create", press it.

Alternative:
http://www.google.com/search?q=How+to+configure+virtual+directory+as+an+application+in+IIS

Regards, Kenneth Skovhede, GEOGRAF A/S

On 02-02-2010 09:59, padmini godavarthi wrote:


Hi,
Thanks for your reply.How to configure virtual directory as an application
in iis.can u plz tell me the procedure.my iis is as
follows..

http://n2.nabble.com/file/n4499669/prop.jpg


Regards,
Padmini G.
   

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


[mapguide-users] Re: mapguide-users Digest, Vol 38, Issue 1

2010-02-02 Thread hanane el yazidi
Hi,

I'm a MGOS novice. I'd like to add a raster (.tiff) with Maestro, so I added
an alias pointing to the directory where the raster is located, then I added
a dataconnection with the FDO Gdal provider, tested the connection, and it
was good. But when I want to add the raster layer, I get this error: "*Failed
to read schema from data source. The operation gave the error message: Value
cannot be null. Parameter name: input"*.  What am I doing wrong? is there
some detailed documentation about the use of raster data in maestro.
Thanks in advance


2010/2/1 

> Send mapguide-users mailing list submissions to
>mapguide-users@lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.osgeo.org/mailman/listinfo/mapguide-users
> or, via email, send a message with subject or body 'help' to
>mapguide-users-requ...@lists.osgeo.org
>
> You can reach the person managing the list at
>mapguide-users-ow...@lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mapguide-users digest..."
>
>
> Today's Topics:
>
>   1. RE: Problem with map only half showing. (Crispin_at_1Spatial)
>   2. Re: Does MGOS use worldfiles? (Crispin_at_1Spatial)
>   3. problem when using same code for MapGuideEnterprise2009 with
>  MapGuideEnterprise2010 (ehsan)
>   4. WMS Map Problem (Luis Paolini)
>   5. Map editing on web application (prabhat30)
>   6. how to get selected feature (prabhat30)
>   7. Re: Mapguide HOSTING (Rodolfo Moreno)
>   8. Re: Mapguide HOSTING (GordonL)
>   9. RE: Nightly windows build of MGOS (Trevor Wekel)
>
>
> --
>
> Message: 1
> Date: Sun, 31 Jan 2010 11:09:00 -0800 (PST)
> From: Crispin_at_1Spatial 
> Subject: [mapguide-users] RE: Problem with map only half showing.
> To: mapguide-users@lists.osgeo.org
> Message-ID: <1264964940437-4490553.p...@n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi,
>
> Gary's comments reminded me of the solution - the issue is when the bottom
> scan line of the raster is within the image.  It's a GDAL issue and Frank W
> confirmed it was an issue with the OS compression and the reader.  The
> solution was built into a GDAL patch / release.
>
> It looks like you are on MG 2.0.2 still?  That is GDAL 1.4 so a copy of the
> GDAL v1.4.x latest (e.g. an old download of FWTools), stop the MG service
> and replace the GDAL dll -- restart and you should be OK
>
>  Crispin
>
> --
> View this message in context:
> http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4490553.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
>
> --
>
> Message: 2
> Date: Sun, 31 Jan 2010 11:14:37 -0800 (PST)
> From: Crispin_at_1Spatial 
> Subject: [mapguide-users] Re: Does MGOS use worldfiles?
> To: mapguide-users@lists.osgeo.org
> Message-ID: <1264965277263-4490581.p...@n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> ... see issue here and follow links for discussion:
>
> http://trac.osgeo.org/mapguide/ticket/998
>
> --
> View this message in context:
> http://n2.nabble.com/Does-MGOS-use-worldfiles-tp4133221p4490581.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
>
> --
>
> Message: 3
> Date: Sun, 31 Jan 2010 23:25:49 -0800 (PST)
> From: ehsan 
> Subject: [mapguide-users] problem when using same code for
>MapGuideEnterprise2009 with MapGuideEnterprise2010
> To: mapguide-users@lists.osgeo.org
> Message-ID: <1265009149028-4492918.p...@n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi,
> i just changing my MapGuideEnterprise2009 to MapGuideEnterprise2010, i had
> some trouble with my PHP code when use it in MapGuideEnterprise2010. Before
> i use the MapGuideEnterprise2009, i use the MapGuide Open Source 2.0, the
> code that i make is to search for NOLOT, select and zoom to selection in
> the
> map, then the same code i use in MapGuideEnterprise2009 and it work well.
> but when i use the MapGuideEnterprise2010 it seem does not work at all.
> when
> i use the in Internet Explorer get this error
>
> Webpage error details
> Message: Object expected
> Line: 56
> Char: 1
> Code: 0
> URI:
>
> http://localhost:8008/mapguide2010/phpsamples/Build/Search%20Query%202.php?SESSION=349b6ad6-f130-102c-8000-001b246a1fcd_en_7F010AF20AF10AF0&WEBLAYOUT=Library%3A%2F%2Fgis%2Flayoutmelaka.WebLayout&DWF=0&LOCALE=en&NOLOT=3475&LAYER=Lot
> Tanah Melaka&DAERAH=03&MUKIM=Sungei Baru Ulu
>
> when i check at my code at line 56, the code is:
> 
>
> Is MapGuideEnterprise2010 can not use the same code from the
> MapGuideEnterprise2009?
>
> Thanks.
> --
> View this message in context:
> http://n2.nabble.com/problem-when-using-same-code-for-MapGuideEnterprise2009-with-MapGuideEnterprise2010-tp4492918p4492918.html
> Sent from the MapGuide Users mailing list archive at

Re: [mapguide-users] RE: ECWs and MG 2.1

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S
Otherwise you need to sign up on the erdas page,  wait for login info on 
email, download and install the SDK.

You can then extract the dll files from the install dir.

Regards, Kenneth Skovhede, GEOGRAF A/S

On 02-02-2010 09:41, Jason Birch wrote:
I believe that Frank distributes ECW redistributables as part of 
FWTools, but it might be a bit of a struggle to find the right ones :)


http://home.gdal.org/fwtools/

Jason

On 2 February 2010 00:16, gatopardo > wrote:



Hello, where can I obtain these files?
NCScnet.dll
NCSEcw.dll
NCSEcwC.dll
NCSUtil.dll

I've mailed Erdas, but they don't anwser.


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


[mapguide-users] Problem zoomtoview in mapguide 2.1

2010-02-02 Thread Rico van Driel
Hi List,

I have an search adres application that uses the ZoomToView function as 
mentioned below. In previous MGOS versions this function works fine. In MGOS 
2.1 this function works also but after execution the standard functions from 
mapguide does work anymore. For example if you pan the map you will see a 
response from mapguide but the map will be blank.

function showAdres(value)
{
// alert(window.top.ViewerFrame.mapFrame.name);

 ar = value.split("-");
 xc = ar[0];
 yc = ar[1];

//  alert(xc);
 window.top.ViewerFrame.mapFrame.ZoomToView(xc,yc,500,true);
}

See for example http: http://213.154.241.184/sites/lochem/index2.php (type 
'kerk' and press "zoek" button, select address from list. After zooming select 
for example the pan function and see what happens)

After zooming to a address. The image shown is correct. But if I look to the X, 
Y cooridinates shown left below, they are not correct.

On nable I can only find this post:
http://n2.nabble.com/Couple-of-potential-bugs-in-MapGuide-2-1-API-AjaxViewer-td2610344.html#a2610344

I tried adding the numberValue = numberValue - 0; line to the mainframe.templ 
file but this does not seem to work.


Annyone other suggestions?
met vriendelijke groet,
GISkit  BV

Rico van Driel
GISkit BV
Postbus 489
3990 GG Houten

De Molen 15
3994 DA Houten


Tel: 030-6340430
Fax:030-6342433

email: i...@giskit.nl
www: http://www.giskit.nl


Op al onze aanbiedingen en overeenkomsten zijn de algemene voorwaarden van 
FENIT, gedeponeerd ter Griffie van de Arrondissementsrechtbank te Den Haag op 3 
juni 2003 onder nummer 60/2003 van toepassing. Een exemplaar zenden wij u 
desgewenst kosteloos toe.http://www.giskit.nl/>

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


[mapguide-users] Re: Configuration Error in MapviewerNet in MGOS 2.1

2010-02-02 Thread padmini godavarthi

Hi kenneth,
 Thanks for ur reply.while browsing mapviewernet from iis a list of aspx
files are diplayed.
while clicking on ajaxviewer.aspx a got a following error that

 Error in base64DecodeInvalid length for a Base-64 char array.

what is this error actually?what i have to do for the solution?


Regards,
Padmini G.
-- 
View this message in context: 
http://n2.nabble.com/Configuration-Error-in-MapviewerNet-in-MGOS-2-1-tp4499038p4500101.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 2.1 and transparent PNG

2010-02-02 Thread Simon Pelicon
Hi!

I have problems showing transparent PNG files in MapGuide version 2.1.
I converted TIF files to transparent PNG.
Any advice?

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


[mapguide-users] RE: Problem with map only half showing.

2010-02-02 Thread JamesDudden


Crispin_at_1Spatial wrote:
> 
> .
> It looks like you are on MG 2.0.2 still?  That is GDAL 1.4 so a copy of
> the GDAL v1.4.x latest (e.g. an old download of FWTools), stop the MG
> service and replace the GDAL dll -- restart and you should be OK
> 
>  Crispin
> 
> 
Hi Crispin,

Yes I am using MG2 and GDAL 1.4 so I tried adding GDAL 1.6 (the only
download I could find) but then the map didn't show up at all.
Is 1.6 too new? Which version do you think I should use and where can I get
it from?

Regards
JD

-
http://www.software-matters.co.uk Software Matters  - 
http://www.software-matters.co.uk/bespoke-database-design.html Bespoke
Database  and Software Solutions
-- 
View this message in context: 
http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4499825.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] Re: MapGuideApiPINVOKE

2010-02-02 Thread Gunter Becker

Kenneth, thanks for your reply.

No, I don't think so because I tested it on another Windows Server 2008 /
32Bit and it works well.

Next thing I tried was to use your signed MapGuideDotNetAPI.dll you posted
some days ago. This also doesn't work. And then I tried to sign the
MapGuideDotNetAPI.dll by myself with the Signer.exe you mentioned in a
former thread. I dit it directly on the server in the Visual Studio 2008
Command Prompt and it fails with the following message:

c:\Tmp\MaestroKey>Signer -k c:\tmp\MaestroKey\maestroapi.key -outdir
c:\tmp\MaestroKey\Strong -a MapGuideDotNetApi.dll

Execute of corflags.exe failed

Execute of ildasm.exe /? failed
An unexpected processing error did occur: System.NullReferenceException:
Object reference not set to an instance

Maybe it is an .NET issue? What else can I try?

Thanks, Gunter
-- 
View this message in context: 
http://n2.nabble.com/MapGuideApiPINVOKE-tp4478803p4499756.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] Re: Configuration Error in MapviewerNet in MGOS 2.1

2010-02-02 Thread padmini godavarthi


Hi,
Thanks for your reply.How to configure virtual directory as an application
in iis.can u plz tell me the procedure.my iis is as
follows..

http://n2.nabble.com/file/n4499669/prop.jpg 


Regards,
Padmini G.
-- 
View this message in context: 
http://n2.nabble.com/Configuration-Error-in-MapviewerNet-in-MGOS-2-1-tp4499038p4499669.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] RE: ECWs and MG 2.1

2010-02-02 Thread Jason Birch
I believe that Frank distributes ECW redistributables as part of FWTools,
but it might be a bit of a struggle to find the right ones :)

http://home.gdal.org/fwtools/

Jason

On 2 February 2010 00:16, gatopardo  wrote:

>
> Hello, where can I obtain these files?
> NCScnet.dll
> NCSEcw.dll
> NCSEcwC.dll
> NCSUtil.dll
>
> I've mailed Erdas, but they don't anwser.
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] RE: ECWs and MG 2.1

2010-02-02 Thread gatopardo

Hello, where can I obtain these files?
NCScnet.dll 
NCSEcw.dll 
NCSEcwC.dll 
NCSUtil.dll 

I've mailed Erdas, but they don't anwser.
Thanks.
-- 
View this message in context: 
http://n2.nabble.com/ECWs-and-MG-2-1-tp2978248p4499535.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] Map editing on web application

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S

By "edit" do you mean interactive edit of the feature?
eg. add points to a polygon and move them around?

If so, you can use OpenLayers (or Fusion/Flexible Layouts):
http://openlayers.org/dev/examples/modify-feature.html

There is no support for interactive editing in the basic weblayouts.

Regards, Kenneth Skovhede, GEOGRAF A/S

On 01-02-2010 13:24, prabhat30 wrote:

Hi,

 Iam trying to edit existing feature class on web application using open
source mapguide(c#). Whether it is possible or not. If not give me any
alternate solutions to solve this problem.

Thanks in advance

Regards
Prabhat
   

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


Re: [mapguide-users] Re: Guide Me in MGOS 2.1

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S
I have no idea about the aspnet_regiis problem, I have never seem that 
myself.


You can use Visual Studio Express if you prefer, there are no issues 
that I'm aware of.


Regards, Kenneth Skovhede, GEOGRAF A/S

On 31-01-2010 13:54, padmini godavarthi wrote:


Hi,
Thanks for your reply.

can u plz tell me what is the reason for Application error in
apnet_regiis.exe

1)can i do development in visual studio 2008 Express Edition?or is there any
problem?

Regards,
Padmini G.
   

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


Re: [mapguide-users] problem when using same code for MapGuideEnterprise2009 with MapGuideEnterprise2010

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S

Most code will work just fine when upgrading, but if your code depends on
an undocumented feature or bug, it may not.

You need to give more information, perhaps post some of the script.

Regards, Kenneth Skovhede, GEOGRAF A/S

On 01-02-2010 08:25, ehsan wrote:

Hi,
i just changing my MapGuideEnterprise2009 to MapGuideEnterprise2010, i had
some trouble with my PHP code when use it in MapGuideEnterprise2010. Before
i use the MapGuideEnterprise2009, i use the MapGuide Open Source 2.0, the
code that i make is to search for NOLOT, select and zoom to selection in the
map, then the same code i use in MapGuideEnterprise2009 and it work well.
but when i use the MapGuideEnterprise2010 it seem does not work at all. when
i use the in Internet Explorer get this error

Webpage error details
Message: Object expected
Line: 56
Char: 1
Code: 0
URI:
http://localhost:8008/mapguide2010/phpsamples/Build/Search%20Query%202.php?SESSION=349b6ad6-f130-102c-8000-001b246a1fcd_en_7F010AF20AF10AF0&WEBLAYOUT=Library%3A%2F%2Fgis%2Flayoutmelaka.WebLayout&DWF=0&LOCALE=en&NOLOT=3475&LAYER=Lot
Tanah Melaka&DAERAH=03&MUKIM=Sungei Baru Ulu

when i check at my code at line 56, the code is:


Is MapGuideEnterprise2010 can not use the same code from the
MapGuideEnterprise2009?

Thanks.
   

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


Re: [mapguide-users] Configuration Error in MapviewerNet in MGOS 2.1

2010-02-02 Thread Kenneth Skovhede, GEOGRAF A/S

From your error description:

*This error can be caused by a virtual directory not being
configured as an application in IIS*.

Have you configured the virtual directory as an application?

Regards, Kenneth Skovhede, GEOGRAF A/S

On 02-02-2010 06:23, padmini godavarthi wrote:


Hi,
iam using MGOS 2.1 and Maestro 1.0.9 on IIS 6.0
vs 2005 express edition on Windows XP

I have installed MGOS 2.1 and maestro 1.0.9 and created a package.the map is
diplaying fine by show in browser


But while developing a sample application i got the following error.

  Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level.  This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:


Line 44:by Microsoft that offers a single logon and core profile
services for member sites.
Line 45: -->
Line 46:
Line 47:
Line 48:


Source File: C:\Program Files\OSGeo\MapGuide\Web\www\mapviewernet\web.config
Line: 46




  so inorder to check mapviewernet is working or not i just typed

http://localhost/mapguide/mapviewernet/ajaxviewer.aspx but the same error
occurs.iam sending the error screenshot so that it will be easy and
properties of Mapviewernet in IIS

Note:I logged as a administrator

shall i did any thing wrong?or is there any other properties i need to
change?
i worked on mgos 2.0 previously  but no issues with that. i dont know why
this happens in mgos 2.1

plz anyboby help me so that it would be a great help.
   
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users