POST
|
Hello, In the past I've tried to implement an autocomplete (live search ?) for searching an adress which is updated at any key pressed. I didn't find a solution with a Mapservice. The only one solution I've found, is to use a PHP wich sends a request to my Database (Oracle) and return the response in a json format. This Json is formatted for a dojox.data.QueryReadStore which is conected dijit.form.FilteringSelect. [ATTACH=CONFIG]11321[/ATTACH]
... View more
01-20-2012
03:32 AM
|
0
|
0
|
319
|
POST
|
When I console.log() the "featureLayer.renderer.symbol.url" ff3.6 affiche : data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAA ... et ie 8 affiche : http:// server.dom.fr/arcgis/rest/services/secure/feat/MapServer/0/images/ca1f59ee?token=dsfdsfdsfdsfdsf . When I create the same featureService without security, the features are displayed correctly.
... View more
12-19-2011
10:04 PM
|
0
|
0
|
280
|
POST
|
Hello, To use the API locally it needs to install an Apache Server or an ISS server, isn't it ?
... View more
12-19-2011
10:01 PM
|
0
|
0
|
455
|
POST
|
Hello, Thanx for your answer. In the forum I've found 2 posts. The first one was : FeatureLayer not showing image in Internet Explorer 8 or 9 But it didn't solve my problem.
... View more
12-13-2011
12:53 AM
|
0
|
0
|
280
|
POST
|
Hello, I use the jsapi 2.5 with AGS 10 JAVA. I've created a feature layer from a feature service with the ON_DEMAND mode. In the mxd/msd project, my point symbologies are made with fonts. In the REST API, they appear as Picture Marker Symbol. In my application, with ie8 the symbols appear as transparent square, with firefox 3.6 there is no problem. It does the same thing in the legend dijit. Anyone can help me ? Thanx.
... View more
12-01-2011
10:50 PM
|
0
|
3
|
663
|
POST
|
I found a solution in this post http://forums.arcgis.com/threads/14399-linux-access-ArcPy In the last three posts we can read that arcpy must be running in an environnement which "have a display configured because ArcPY is a mapping module." The solution is in the last post (using Xvfb) : Xvfb :1 & export DISPLAY=:1
... View more
09-19-2011
06:55 AM
|
0
|
0
|
158
|
POST
|
Hello, I'm trying to run a shell which executes a simple python script. My shell : source /usr/local/arcgis/server10.0/servercore/.Server/init_server.sh
source /usr/local/arcgis/server10.0/python26/setenv_python.sh
python script.py
My python script import arcpy
sourcesPath = "\\home\\arcgis\\script\\"
As you seen, my script is very simple, but I've this error message. X connection to localhost:10.0 broken (explicit kill or server shutdown). To avoid this message I can rue a "windows manager" as xming. But my goal, is to cron this shell every night without xming. So if you have any idea ... Thanx
... View more
09-16-2011
04:45 AM
|
0
|
1
|
299
|
POST
|
I'm in 10 sp1. My REST console displays 10.01. I've no other idea.
... View more
07-22-2011
06:01 AM
|
0
|
0
|
614
|
POST
|
I found a solution. When the proxy.php test the token (if ($token) {...}) I add this part of code
if ($token) {
if(stripos($parts[1], "/")){
$targetUrl = str_replace('?token='.$token, "", $targetUrl, $count);
}
$targetUrl .= (stripos($targetUrl, "?") !== false ? '&' : '?').'token='.$token;
}
Where $parts[1] is the result of $parts = preg_split("/\?/", $targetUrl); In fact I test if the query contains a "/".
... View more
06-09-2011
01:53 AM
|
0
|
0
|
614
|
POST
|
in my proxy.php i've this part of code if ($token) {
$targetPath .= (stripos($targetPath, "?") !== false ? '&' : '?').'token='.$token;
}
... View more
06-01-2011
07:42 AM
|
0
|
0
|
614
|
POST
|
Hello, My legendDijit works with my non securised mapservices. But doesn't with my securised mapservices. When I look the request with firebug the token argument isn't at the fine place in the url. http://extranet.nimes.fr/website/extranet/AGS/geo_agglo21/php/proxy.php?http://extranet.nimes.fr/arcgis/rest/services/secure/PLU_ZONAGES/MapServer?token=xxxxxxxxxxxxxxxxxx/legend Normally it should be http://extranet.nimes.fr/website/extranet/AGS/geo_agglo21/php/proxy.php?http://extranet.nimes.fr/arcgis/rest/services/secure/PLU_ZONAGES/MapServer/legend?token=xxxxxxxxxxxxxxxxxx Anybody has an idea ?
... View more
06-01-2011
06:21 AM
|
0
|
12
|
1101
|
POST
|
Well, I measure a distance of 0,04 miles. When I measure the same distance in Mètres the result is NAN Mètres For areas : I obtain 0.45 Acres NaN Miles carrés NaN Kilomètres carrés 0.18 Hectares NaN Yards carrés NaN Pieds carrés NaN Mètres carrés Can it be a localisation pb whith the difference between "," and "." ? Sylvain
... View more
05-26-2011
08:30 AM
|
0
|
0
|
225
|
Online Status |
Offline
|
Date Last Visited |
01-03-2022
06:12 AM
|