POST
|
Fixed it. Deleted server logs, restarted glassbox and then deleting the entire ldap part.
... View more
05-12-2014
01:14 PM
|
0
|
0
|
334
|
POST
|
I recently installed geoportal on my local box and I was able to configure the sql server database correctly with no errors, and glassfish is all set up according to instructions. Simple sign is set up also in the gpt.xml file located here C:\glassfish3\glassfish\domains\domain1\applications\geoportal\WEB-INF\classes\gpt\config. However when I open geoportal and log in it doesn't say welcome with the administrator account. Please help. I can't open the gpt.xml file in a web browser either. Its just blank. <!-- User Management configuration. simpleAdapter OR ldapAdapter. - simpleAdpater: configures geoportal with one administrative user - ldapAdapter: configures geoportal to connect to LDAP user directory store. --> <identity encKey="PtkESRI" realm="Geoportal"> <simpleAdapter> <account username="geoportal" password="geoportalpwd" encrypted="false"/> <roles> <role key="gptRegisteredUser"/> <role key="gptPublisher"/> <role key="gptAdministrator"/> </roles> </simpleAdapter> </identity>
... View more
05-12-2014
12:58 PM
|
0
|
1
|
2136
|
POST
|
I try and run the create_schema_mssql.cmd on my local system and I receive the error Geoportal Database building has failed. Here is my command that I tried C:\geoportal\geoportal\etc\sql\SQLServer>create_schema_mssql computername geoportal10 geoportal10 geoportal10pwd. In this computername is my computername I just made it generic to share and ask the question. I even tried localhost instead of my computername. Can someone tell me what I am doing wrong. Also I am on a vm and my microsoft sql server is not on a server.
... View more
05-08-2014
04:45 PM
|
0
|
0
|
2030
|
POST
|
I am working on separating out graphics attributes, and I am getting the undefined on attributes warning when I use the code var alleventsgraphics = self._map.graphics.graphics.attributes I can see the 15 graphics listed under self._map.graphics.graphics and then have attributes but why can't i get the attributes to come over when I say var alleventsgraphics = self._map.graphics.graphics.attributes? [ATTACH=CONFIG]33431[/ATTACH]
... View more
04-28-2014
03:26 PM
|
0
|
1
|
401
|
POST
|
sweet. thank you. can you confirm when you see the screenshot what I see is that truly the reference to the map object inside the div? I am just not used to how the map object nests inside the html.
... View more
04-25-2014
10:39 AM
|
0
|
0
|
632
|
POST
|
Thats the problem I am working with another persons code which he is still developing. When I run self._map = map, I get the div id plus ".map" It looks like this. [ATTACH=CONFIG]33378[/ATTACH] The self._map = map is a amd module requiring "esri.map" Isn't this the map object? I looked at the map view html and the esri map is a class of the map div.
... View more
04-25-2014
09:37 AM
|
0
|
0
|
632
|
POST
|
Thank you Jon and Robert for the help and the js fiddle showing how to push the individual graphics into the graphics layer. Currently my biggest hurdle is that I using a jquery for each to create the esri graphics, and I can't get the array to populate. Here is my current code. I am doing this because I am using a knockout view model with events subevents and self._map refers to the map div. var SubEventpt;
var SubEventsymbol;
var SubEventgraphic;
var SubEventgraphics = new Array;
var subeventsGraphicsLayer = new esri.layers.GraphicsLayer();
$.each(event.Subevents(), function (i, subevent) {
SubEventpt = webMercatorUtils.geographicToWebMercator(new Point(subevent.Longitude, subevent.Latitude));
SubEventsymbol = new PictureMarkerSymbol('../Images/Incidents/' + subevent.IconPath, 36, 36);
SubEventgraphic = self._map.addGraphic(new Graphic(SubEventpt, SubEventsymbol, ko.toJS(subevent)));
SubEventgraphic = new Graphic(SubEventpt, SubEventsymbol, ko.toJS(subevent));
SubEventgraphics.push[SubEventgraphic];
});
subeventsGraphicsLayer.add(SubEventgraphics);
self._map.add(subeventsGraphicsLayer);
... View more
04-25-2014
09:17 AM
|
0
|
0
|
632
|
POST
|
Sorry I can't put it into a js fiddle, its way to complicated. But currently I am using a jquery for each to take the graphics and push each one into a variable that I defined as a array and then I am pushing the graphics into it. I am then taking the graphics array and adding the array to a new esri.layers.GraphicsLayer. And I am trying to push the graphics layer to the map. Currently I am getting an error that self._map.add(GraphicsLayer) is undefined. I have been debugging and I can see self._map is finding the div object map however it doesn't seem to be able find the add function.
... View more
04-24-2014
03:04 PM
|
0
|
0
|
632
|
POST
|
I have graphics currently in a map. How do I take the array of created graphics and put them into a graphicslayer? I tried inside my jquery for each loop GraphicsLayer.add(graphic) after I set the graphic = mypt and graphic.setSymbol() which is set as a new PictureMarkerSymbol which is a icon, 36, 36.
... View more
04-24-2014
11:55 AM
|
0
|
9
|
920
|
POST
|
Cool. Thank you soo much Odoe. The clusterlayerNew.js isn't soo much of a big deal. I am going to have to use use a json feed anyways which means I will have to modify the clusterlayerNew.js class alot.
... View more
04-16-2014
01:19 PM
|
0
|
0
|
242
|
POST
|
Tried that. It runs but it keeps jumping around. It doesn't go through the functions. It is really weird. I set a break point but it won't step through the functions. I am still looking for why it doesn't continue running through the functions.
... View more
04-16-2014
09:20 AM
|
0
|
0
|
1043
|
POST
|
Tried that also. Didn't work. It keeps saying Target must be an event emitter.
... View more
04-15-2014
02:57 PM
|
0
|
0
|
1043
|
POST
|
I tried both methods. But this won't work either. The main problem is all of my events are handled in my Dojo class. I attached the main html page and the dojo class with the logic that the main page accesses. function runQuery() {
var queryTask = new esri.tasks.QueryTask("http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/Police_Incidents_Last30/MapServer/0");
var query = new esri.tasks.Query();
query.returnGeometry = true;
query.where = '1=1';
query.outFields = ["DC_DIST", "POINT_X", "POINT_Y"];
queryTask.on("complete", function(event) {
var cL = new clusterlayerNew({
displayOnPan: false,
map: map,
features: event.featureSet.features,
infoWindow: {
template: new esri.InfoTemplate("${SECTOR}"),
width: 325,
height: 100
},
flareLimit: 15,
flareDistanceFromCenter: 20
});
map.addLayer(cL);
});
};
... View more
04-15-2014
11:54 AM
|
0
|
0
|
1043
|
POST
|
I can't do queryTask.on("complete", function(event) {}); since I am constructing a clusterlayer using the function features from my AMD class "clusterlayerNew." Is there a way to get the features from the function "features" while running after the queryTask is complete?
... View more
04-15-2014
11:18 AM
|
0
|
0
|
1043
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|